 @font-face {
     font-family: 'museo sans cyr';
     src: url('../fonts/museosanscyrl-100.woff2') format('woff2'),
         url('../fonts/museosanscyrl-100.woff') format('woff');
     font-style: normal;
     font-weight: 100;
     font-display: swap;
 }

 @font-face {
     font-family: 'museo sans cyr';
     src: url('../fonts/museosanscyrl-300.woff2') format('woff2'),
         url('../fonts/museosanscyrl-300.woff') format('woff');
     font-weight: 300;
     font-style: normal;
     font-display: swap;
 }

 @font-face {
     font-family: 'museo sans cyr';
     src: url('../fonts/museosanscyrl-500.woff2') format('woff2'),
         url('../fonts/museosanscyrl-500.woff') format('woff');
     font-weight: 500;
     font-style: normal;
     font-display: swap;
 }

 @font-face {
     font-family: 'museo sans cyr';
     src: url('../fonts/museosanscyrl-700.woff2') format('woff2'),
         url('../fonts/museosanscyrl-700.woff') format('woff');
     font-weight: 700;
     font-style: normal;
     font-display: swap;
 }

 @font-face {
     font-family: 'museo sans cyr';
     src: url('../fonts/museosanscyrl-900.woff2') format('woff2'),
         url('../fonts/museosanscyrl-900.woff') format('woff');
     font-weight: 900;
     font-style: normal;
     font-display: swap;
 }

 * {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
     -webkit-box-sizing: border-box;
 }

 *:before,
 *:after {
     -webkit-box-sizing: border-box;
     box-sizing: border-box;
 }

 :focus,
 :active {
     outline: none;
 }

 a:focus,
 a:active {
     outline: none;
 }

 nav,
 footer,
 header,
 aside {
     display: block;
 }

 html,
 body {
     width: 100%;
     font-size: 16px;
     font-family: 'museo sans cyr';
     font-weight: 500;
     line-height: 18px;
     color: #000000;
     scroll-behavior: smooth;
 }

 input,
 button,
 textarea {
     font-family: inherit;
 }

 input::-ms-clear {
     display: none;
 }

 button {
     cursor: pointer;
     border: 0;
     outline: none;
 }

 button::-moz-focus-inner {
     padding: 0;
     border: 0;
 }

 a {
     text-decoration: none;
     color: inherit;
 }

 a:visited {
     text-decoration: none;
 }

 a:hover {
     text-decoration: none;
 }

 ul,
 li {
     list-style: none;
 }

 img {
     vertical-align: top;
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
     font-size: inherit;
 }

 sup {
     color: inherit;
 }

 /* ----- */

 .container {
     max-width: 1300px;
     padding: 0 20px;
     width: 100%;
     margin: 0 auto;
 }

 .padding{
    padding: 75px 0;
 }

 .title{
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    text-align: center;
    margin-bottom: 50px;
 }

 /* HEADER */
 .header {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     z-index: 1000;
     background-color: transparent;
     padding: 20px 0;
     color: #ffffff;
     transition: all 0.3s ease;
 }

 .header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

 .header-wrapper {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .header .logo {
     display: flex;
     justify-content: space-between;
     align-items: center;
     text-align: center;
     gap: 15px;
     font-size: 16px;
 }

 .header .list {
     display: flex;
     justify-content: space-between;
     align-items: center;
     text-align: center;
     gap: 35px;
 }

 .header .list a {
     transition: color 0.2s ease;
 }

 .header .list a:hover {
     color: #F2E6EE;
 }
 
.nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 200px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
    padding: 10px 0;
}

.nav .menu-item-has-children:hover > .sub-menu {
    display: block;
}

.nav .sub-menu .menu-item {
    margin: 0;
}

.nav .sub-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.nav .sub-menu a:hover {
    background-color: #f5f5f5;
}

/* Позиционирование родительских пунктов с подменю */
.nav .menu-item-has-children {
    position: relative;
}


 button {
     padding: 10px 30px;
     border-radius: 100px;
     transition: 0.5s ease;
     cursor: pointer;
     font-weight: 500;
     font-size: 16px;
 }

 .purple {
     background-color: #9448B0;
     color: #ffffff;
 }

.purple:hover {
     background-color: white;
     color: black;
 }
 
.light-purple {
     background-color: #977DFF;
     color: #ffffff;
 }

.light-purple:hover {
     background-color: white;
     color: black;
 }
 
  .purple-btn {
     background-color: #9448B0;
     color: #ffffff;
	 
	 padding: 10px 30px;
     border-radius: 100px;
     transition: 0.5s ease;
     cursor: pointer;
     font-weight: 500;
     font-size: 16px;
 }

.purple-btn:hover {
     background-color: #67317a;
 }

.green {
    background-color: #D8F878;
    color: #000000;
    transition: background-color 0.3s ease;
}

.green:hover {
    background-color: #b8d866;
}
 
.blue{
    background-color: #215FFF;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.blue:hover {
    background-color: #204fc5;
}

 .white-border {
	 padding: 10px 30px;
     border-radius: 100px;
     transition: 0.5s ease;
     cursor: pointer;
     font-weight: 500;
     font-size: 16px;
	 
     background-color: transparent;
     border: #ffffff 2px solid;
     color: #ffffff;
 }

 .white-border:hover {
    background-color: rgba(255, 255, 255, 0.15);
    animation: pulse 1.5s infinite;
}

/* Хедер после скролла */
.header.scrolled {
    background-color: #ffffff;
    color: #000000;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
	border-bottom: 1px solid rgba(31, 37, 51, 0.1);
}

/* Логотипы */
.logo-white {
    display: block;
}

.logo-black {
    display: none;
}

/* Смена логотипов при скролле */
.header.scrolled .logo-white {
    display: none !important;
}

.header.scrolled .logo-black {
    display: block !important;
}

/* Смена цвета ссылок при скролле */
.header.scrolled .list a {
    color: #000000;
}

.header.scrolled .list a:hover {
    color: #9448B0;
}

/* Смена цвета кнопки при скролле */

.header.scrolled .purple {
    background-color: #9448B0;
    color: #ffffff;
}

.header.scrolled .purple:hover {
    background-color: #67317a;
}

.courses .purple:hover {
    background-color: #67317a;
    color: #ffffff;
}

/* Бургер-иконка при скролле */
.header.scrolled .burger-line {
    background-color: #000000;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

main {
    position: relative;
    z-index: 2;
}

 /* HERO SECTION*/
 .hero {
     position: relative;
     height: 100vh;
     width: 100%;
     display: flex;
     flex-direction: column;
     overflow: hidden;
     margin-top: 0;
 }

 .hero-background {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     z-index: 1;
 }

 .hero-bg-image {
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center;
 }

 .hero-overlay {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(0, 0, 0, 0.65);
     z-index: 2;
 }

 .hero-main {
     position: relative;
     z-index: 3;
     flex: 1;
     display: flex;
     flex-direction: column;
 }

 .hero-content {
     flex: 1;
     display: flex;
     align-items: center;
     min-height: 0;
 }

 .hero-content-inner {
     display: flex;
     flex-direction: column;
     gap: 50px;
     width: 100%;
     height: 50%;
     justify-content: center;
     align-items: flex-start;
 }

 .hero-title {
     color: #ffffff;
     font-weight: 700;
     font-size: 64px;
     line-height: 77px;
     margin: 0;
     max-width: 750px;
 }

 .hero-scroll {
     text-align: center;
     flex-shrink: 0;
     padding: 20px 0;
 }

 .button-wrapper {
     display: flex;
     flex-direction: row;
     gap: 20px;
 }

 .scroll-arrow {
     animation: bounce 2s infinite;
     cursor: pointer;
 }

 .scroll-arrow svg {
     width: 40px;
     height: 40px;
 }

 /* Анимация стрелки */
 @keyframes bounce {

     0%,
     20%,
     50%,
     80%,
     100% {
         transform: translateY(0);
     }

     40% {
         transform: translateY(-10px);
     }

     60% {
         transform: translateY(-5px);
     }
 }

/* RELEVANT */

.relevant-cards-container{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.relevant-card{
    background-color: #F5F5F5;
    padding: 40px 25px;
    border-radius: 15px;
    min-height: 250px;

    width: 32%;
}


.relevant-card-purple{
    background-color: #F2E6EE;
}

.relevant .info-title{
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 20px;
}

.relevant .main-info{
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;

    color: #7C7C7C;
}

.relevant-card{
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
}

.third-card{
    padding: 25px 20px;
    justify-content: space-between;
    gap: 5px;
}

.relevant-card .row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.btn{
    padding: 10px 10px;
     border-radius: 100px;
     font-weight: 500;
     font-size: 20px;
    line-height: 24px;
    width: 100%;
    text-align: center;
}

.btn-green{
    background-color: #D8F878;
}

.btn-purple{
    background-color: #9448B0;
    color: #ffffff;
}

.btn-blue{
    background-color: #215FFF;
    color: #ffffff;
}

.relevant-card .circle{
    border-radius: 100%;
    width: 44px;
    height: 44px;
    background-color: #D9D9D9;
    flex-shrink: 0;
}


/* benefits */
.benefits-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr; /* 4 равные колонки */
    grid-template-rows: 1fr; /* Одна строка */
    min-height: 300px; /* Фиксированная высота ряда */
}

.benefits-row .benefits-card-img:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
.benefits-row .benefits-card:nth-child(2) { grid-area: 1 / 2 / 2 / 3; }
.benefits-row .benefits-card-img:nth-child(3) { grid-area: 1 / 3 / 2 / 4; }
.benefits-row .benefits-card:nth-child(4) { grid-area: 1 / 4 / 2 / 5; }

.benefits-card {
    background-color: #F2E6EE;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем контент по вертикали */
}

.benefits .info-title {
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 20px;
}

.benefits .main-info {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #7C7C7C;
}

.benefits-card-img {
    position: relative;
    overflow: hidden;
}

.benefits-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.triangle-right {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #F2E6EE;
    z-index: 2;
}

.triangle-left {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #F2E6EE;
    z-index: 2;
}

.triangle-right-gray{
    border-left: 20px solid #F5F5F5;
}

.benefits-card-gray{
    background-color: #F5F5F5;
}


/* form-first */

.form-wrapper {
    background-color: #977DFF;
    border-radius: 15px;
    padding: 65px 25px;
    color: #ffffff;
    text-align: left;
    position: relative;
    overflow: hidden;
}

/* SVG фон */
.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 155px;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='1408' height='410' viewBox='0 0 1408 410' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.50146 402.502L575.752 286.27C576.682 286.079 577.351 285.26 577.351 284.31V214.143C577.351 212.202 579.836 211.399 580.972 212.972L677.068 346.034C678.401 347.879 681.289 346.42 680.594 344.252L582.984 39.8958C582.253 37.6169 585.416 36.211 586.618 38.2803L776.273 364.702C777.482 366.782 780.659 365.349 779.9 363.066L688.844 89.3915C688.114 87.198 691.069 85.7208 692.385 87.621L780.802 215.234C782.025 217 784.793 215.857 784.414 213.742L769.043 127.912C768.628 125.599 771.851 124.591 772.829 126.727L852.827 301.319C853.81 303.464 857.047 302.436 856.611 300.117L839.618 209.635C839.437 208.669 839.985 207.714 840.91 207.382L1400 7.50195' stroke='%239448B0' stroke-width='15' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    z-index: 1;
    transform: scale(1.3);
}

.form-wrapper-second {
    background-color: #977DFF;
    border-radius: 15px;
    color: #ffffff;
    text-align: left;
    position: relative;
    overflow: hidden;

    padding: 15px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

.form-wrapper-third{
    padding: 65px 25px;
}

.form-wrapper-third .main-info-wrapper {
    padding: 0;
    align-self: flex-end;
}

.form-wrapper-third .relevant-card {
    padding: 25px;
    width: 60%;
    min-height: unset;
    gap: 5px;
}

.form-wrapper-third .btn-green {
    color: #000000;
}

.form-wrapper-third .btn {
    cursor: pointer;
}

.main-info-wrapper{
    padding: 65px 90px;
}

.form-wrapper-second::before {
    content: '';
    position: absolute;
    top: 0;
    right: 155px;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='1294' height='585' viewBox='0 0 1294 585' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M350.447 573.001C350.447 573.001 37.3282 608.286 8.72579 475.128C-11.2416 382.171 219.999 360.27 298.447 279.001C332.372 243.856 269.161 176.47 258.447 122.501C176.068 -292.472 1288.95 549.046 1288.95 549.046' stroke='%239448B0' stroke-width='15'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right center;
    background-size: contain;
    z-index: 1;
    transform: scale(1.3);
}

.form-wrapper > * {
    position: relative;
    z-index: 2;
}

.form-wrapper-second > * {
    position: relative;
    z-index: 2;
}

.form .title {
    font-weight: 900;
    font-size: 40px;
    line-height: 48px;
    text-align: left;
    margin-bottom: 35px;
}

.form .subtitle {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 40px;
}

.form .column-wrapper{
    display: flex;
    flex-direction: row;
    align-items: center;
}

.main-info-wrapper{
    width: 50%;
}

.form-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.form-container .form__label {
    width: 100%;
    display: block;
}

.form-container .input {
    width: 100%;
    box-sizing: border-box;
    background-color: #F2F2F4;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    padding: 15px 11px;
}

.form-container .input::placeholder {
    color: #000000;
    opacity: 1;
}


.form-container .politican {
    font-weight: 300;
    font-size: 12px;
    line-height: 14px;
}

.form-container .politican a {
    text-decoration: underline;

}

.formMessage__error {
    display: none;
    font-size: 30px;
    text-align: center;
    line-height: 29px;
}

.gray-background{
    background-color: rgb(248, 248, 248);;
}

/* courses */

.courses-card-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
}

.courses-card {
    width: 48%;
    overflow: visible;
}

.card {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: visible; /* МЕНЯЕМ hidden на visible */
    border-radius: 15px;
    margin-bottom: 20px; /* Увеличиваем отступ для подложки */
}

.card-img {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 15px; /* Добавляем скругление */
    overflow: hidden; /* Переносим overflow сюда */
}

.card-background {
    position: absolute;
    bottom: -10px; /* Увеличиваем выступ */
    left: 10px;
    right: 10px;
    height: 100%;
    background-color: #D9D9D9;
    border-radius: 15px;
    z-index: 1;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.courses .info-title {
    font-weight: 700;
    font-size: 34px;
    line-height: 42px;
    margin: 30px 0 30px 0;
}

/* partner */

.partner-container {
    position: relative;
    width: 100%;
}

.partner-swiper {
    width: 100%;
    padding: 20px 0 80px 0 !important;
}

/* Слайды */
.partner-container .swiper-slide {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
    transition: transform 0.3s ease;
}

.partner-container .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    display: none;
}

.partner-container .swiper-button-next,
.partner-container .swiper-button-prev {
    position: absolute;
    bottom: 20px;
    top: auto; 
    margin-top: 0;
    transform: translateY(0);
    transition: transform 0.8s ease;
}

.partner-container .swiper-button-prev {
    left: 0px;
}

.partner-container .swiper-button-next {
    left: auto;
    right: calc(100% - 80px); /* Позиционируем от правого края */
}

.swiper-button-next:before,
.swiper-button-prev:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='25' cy='25' r='24' stroke='black' stroke-width='2'/%3E%3Cpath d='M13 24.216H25.1053H36M36 24.216L27.6118 16M36 24.216L27.7367 33' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

}

.swiper-button-prev:before {
    transform: scaleX(-1)
}

.swiper-button-next:hover:before,
.swiper-button-prev:hover:before {
    background-image: url("data:image/svg+xml,%3Csvg width='50' height='50' viewBox='0 0 50 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='25' cy='25' r='24' stroke='%23D9D9D9' stroke-width='2'/%3E%3Cpath d='M13 24.216H25.1053H36M36 24.216L27.6118 16M36 24.216L27.7367 33' stroke='%23D9D9D9' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* gallery */

.gallery-wrapper{
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: stretch;
}

.gallery-wrapper-item{
    width: 48%;
    height: 480px;
    /* background-color: #F2E6EE; */
    
    border-radius: 15px;
    flex: 1;
    justify-content: center;
}

.gallery .main-info{
    padding: 50px 25px;
}

.gallery .main-info .title{
    font-weight: 700;
    font-size: 40px;
    line-height: 48px;
    text-align: left;
    margin-bottom: 30px;
}

.gallery .main-info .subtitle{
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;

    color: #7C7C7C;
}

/* Слайдер галереи */
.swiper-gallery {
    width: 100%;
    height: 100%; /* Занимает всю высоту родителя */
    border-radius: 15px;
    position: relative;
    padding: 0px 0 80px 0 !important;
}

.swiper-gallery .swiper-wrapper {
    height: 100%;
}

.swiper-gallery .swiper-slide {
    height: 100%;
}

.swiper-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
}

.gallery .swiper-button-next,
.gallery .swiper-button-prev {
    position: absolute;
    bottom: 20px;
    top: auto; 
    margin-top: 0;
    transform: translateY(0);
    transition: transform 0.8s ease;
}

.gallery .swiper-button-next {
    right: 15px;
}

.gallery .swiper-button-prev {
    right: auto;
    left: calc(100% - 95px); 
}

/* rewier */
/* rewier */
.rewier-wrapper {
    position: relative;
}

/* Отключаем выравнивание высоты в Swiper */
.swiper-rewier .swiper-wrapper {
    align-items: flex-start !important; /* Важно: отключаем stretch */
}

.rewier .swiper-slide {
    padding: 40px 25px;
    border-radius: 15px;
    background-color: #F2E6EE;
    height: auto !important; /* Переопределяем высоту от Swiper */
    display: flex;
    flex-direction: column;
    /* Убираем все фиксированные высоты */
    min-height: 0;
}

.rewier .name {
    font-weight: 700;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 20px;
    color: #000000;
    flex-shrink: 0; /* Запрещаем сжиматься */
}

.text-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0; /* Важно для правильной работы flex */
}

.rewier .text {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 15px;
    
    /* Ограничение высоты с градиентом */
    max-height: 120px; /* Высота до раскрытия */
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
    flex: 1;
}

/* Градиент для указания что текст обрезан */
.rewier .text:not(.expanded)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(transparent, #F2E6EE);
    pointer-events: none;
}

/* Раскрытый текст */
.rewier .text.expanded {
    max-height: 1000px !important; /* Принудительно раскрываем */
}

.rewier .text.expanded::after {
    display: none;
}

/* Кнопка "Читать полностью" */
.read-more-btn {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: #7C7C7C;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    padding: 5px 0;
    margin-top: 15px;
    transition: color 0.3s ease;
    flex-shrink: 0; /* Запрещаем сжиматься */
}

.read-more-btn:hover {
    color: #7C7C7C;
}

.read-more-btn.hidden {
    display: none;
}

.swiper-rewier {
    padding: 0 0 80px 0 !important;
}

.rewier .swiper-button-next,
.rewier .swiper-button-prev {
    position: absolute;
    bottom: 20px;
    top: auto; 
    margin-top: 0;
}

.rewier .swiper-button-next {
    right: 15px;
}

.rewier .swiper-button-prev {
    right: auto;
    left: calc(100% - 95px);
}


/* footer */

.footer {
    position: relative;
    overflow: hidden;
    padding: 30px 0;

    background-color: #000000;
    color: #ffffff;

    font-weight: 500;
}


.footer .info {
    margin-bottom: 40px;
}

.footer .info-list {
    display: flex;
    flex-direction: column;
    align-items: left;
    gap: 10px;

    max-width: 230px;
    width: 100%;
}

.footer .info-block {
    display: flex;
    flex-direction: row;
    align-items: left;
    gap: 40px;
    flex-wrap: wrap;
}

.footer .info-block-wrapper {
    display: flex;
    flex-direction: row;
    align-items: left;
    gap: 40px;
    justify-content: space-between;
}

.footer .info-list-item,
.footer .info-block a,
.footer .info-bottom a {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;

    transition: color 0.2s ease;
}

.footer .info-block a:hover,
.footer .info-bottom a:hover {
    color: #977DFF;
}

.footer .social {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}

.footer .social img {
    height: 30px;
    width: 30px;
}

.footer .info-bottom {
    border-top: #ffffff 1px solid;
    padding: 20px 0 0 0;

    display: flex;
    flex-direction: row;
    align-items: left;
    gap: 130px;
}

/* БЛОГ */

.blog {
    padding: 20px 0 65px 0;
    min-height: 100vh;
}

.breadcrumbs {
    transition: color 0.2s ease;
}

.breadcrumbs:hover {
    color: #977DFF;
}

.blog {
    padding: 70px 0;
}

.blog .blog-wrapper {
    padding: 40px 0 0 0;
}

.blog h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 40px;
}

.blog .card-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.blog .card-wrapper .card {
    background-color: #fff;
    width: 32%;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog .card-wrapper .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog .card-wrapper .card .card-image {
    width: 100%;
    height: 250px;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
    position: relative;
}

.blog .card-wrapper .card .card-image img {
    width: 100%;
    height: 100%;
    border-radius: 15px 15px 0 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog .card-wrapper .card:hover .card-image img {
    transform: scale(1.05);
}

.blog .card-wrapper .card-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.blog .card-wrapper .card-content .date {
    font-weight: 500;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.blog .card-wrapper .card-content .title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 70px;
    text-align: left;
}

.blog .card-wrapper .card-content .btn {
    background-color: #D8F878;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 100px;
    border: none;
    transition: 0.3s ease;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: auto;
}

.blog .card-wrapper .card-content .btn:hover {
    background-color: #b8d866;
    transform: translateY(-2px);
}


/*СТРАНИЦА БЛОГА */

.blog-page .container {
    max-width: 1000px;
}

.blog-page {
    padding: 70px 0 0 0;
}

.blog-page-container {
    margin-bottom: 40px;
}

.blog-page .blog-page-wrapper {
    padding: 65px 0 0 0;
}

.blog-page-wrapper .sub-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.blog-page-wrapper .date-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    color: #7C7C7C;
}

.blog-page-content {
    margin-bottom: 65px;
}

.gallery-discription .title{
    text-align: left;
    margin: 0;
}

.blog-page .title{
    text-align: left;
    margin-bottom: 30px;
}

.blog-page-content .text-content-image img {
    width: 100%;
    height: 100%;
    display: block;
    max-width: 100%;
    max-height: 500px;
    margin: 0 auto 60px;
    border-radius: 25px;
    object-fit: cover;
    overflow: hidden;
}

.blog-page-content .text-content {
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
}

.blog-page-content .text-content h2 {
    margin: 20px 0;
    font-size: 25px;
    line-height: 34px;
    font-weight: 700;
}

.blog-page-content .text-content p {
    margin-bottom: 10px;
}

.blog-page-content .text-content a {
    margin-bottom: 10px;
    color: #9448B0;
    text-decoration: underline !important;
}

.blog-page-content .text-content ul li {
    list-style: disc !important;
    list-style-position: inside !important;
    margin-bottom: 10px;
}

.blog-page-content .content img {
    display: block;
    margin-left: auto;
    margin-right: auto;

    border-radius: 25px;
    object-fit: cover;
}

.text-content blockquote {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 26px;
    padding: 20px;
    border-left: 4px solid #9448B0;
    background-color: rgb(191, 176, 250, 0.3);
}

.blog-page-gallery {
    display: flex;
    flex-direction: column;
}

.blog-page-gallery .gallery-discription {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.blog-page-gallery .btn {
    background-color: #9448B0;
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 100px;
    transition: 0.5s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    width: unset;
}

.blog-page-gallery .btn:hover {
    background-color: #67317a;
}

.blog-page .swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0 0 80px 0;
    z-index: 1;
    max-width: 1300px;
    width: 100%;
}

.blog-page .swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: stretch; /* Добавляем выравнивание по высоте */
}

/* Основные стили для карточек */
.blog-page .card-wrapper {
    height: auto; /* Высота будет определяться содержимым */
}

.blog-page .card-wrapper .card {
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.blog-page .card-wrapper .card .card-image {
    width: 100%;
    height: 250px;
    border-radius: 15px; 
    overflow: hidden;
    position: relative;
}

.blog-page .card-wrapper .card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.blog-page .card-wrapper .card:hover .card-image img {
    transform: scale(1.05);
}

/* Стили для контента */
.blog-page .card-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Контент занимает доступное пространство */
    justify-content: space-between;
}

.blog-page .card-wrapper .card-content .date {
    font-weight: 500;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.blog-page .card-wrapper .card-content .title {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ограничиваем текст до 3 строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 70px; /* Минимальная высота для выравнивания */
}

/* Стили для кнопки */
.blog-page .card-wrapper .card-content .btn {
    background-color: #D8F878;
    color: #000000;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 100px;
    border: none;
    transition: 0.3s ease;
    cursor: pointer;
    text-align: center;
    width: 100%;
    margin-top: auto; /* Прижимаем кнопку к низу */
}

.blog-page .card-wrapper .card-content .btn:hover {
    background-color: #b8d866;
    transform: translateY(-2px);
}

.blog-page .gallery {
    position: relative;
}

.blog-page .blog-navigation {
    position: static;
    left: 0;
    top: 100%;
    margin-top: 10px;
    display: flex;
    gap: 10px;
}

.blog-page .swiper-button {
    background-color: #D0FF03;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    position: static;
}

.blog-page .swiper-slide {
    height: auto;
}


/* ШАБЛОНЫ КУРСОВ */
.course-template{
    padding: 20px 0 0 0;
}

.banner-section-wrapper{
    padding: 50px 90px 180px 100px;
    background-color: #977DFF;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.banner-background svg {
    position: absolute;
}

.subtitle-btn{
    background-color: #ffffff;
    border-radius: 100px;
    padding: 5px 15px;
    color: #7C7C7C;
}

.banner-title{
    font-weight: 700;
    font-size: 46px;
    line-height: 52px;
    margin: 20px 0 40px 0 ;
    color: #ffffff;
}

.banner-section-wrapper .img-container {
    max-width: 520px;
    width: 100%;
    flex-shrink: 0;
    
}

.banner-section-wrapper .img-container img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    display: block;
}

.banner-section-wrapper .purple:hover {
    background-color: #67317a;
    color: #ffffff;
}

.course-template .blog-page-content {
    margin-bottom: 0;
}

.first-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.second-row{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 15px;
    position: absolute;
    z-index: 2;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 200px);
}

.second-row .info-card{
    background-color: #ffffff;
    padding: 25px;
    border-radius: 15px;
    min-height: 150px;
    width: 24%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    
    /* Добавляем эти свойства */
    display: flex;
    flex-direction: column;
}

.second-row .info-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.second-row .main-info {
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #7C7C7C;
    
    
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
    min-height: 66px;
}

.second-row .green-card{
    background-color: #D8F878;
}

.second-row .green-card .main-info{
    color: #000000;
}


.blog-page-content .text-content h2 {
    scroll-margin-top: 100px;
}

.text-section {
    padding: 60px 0;

}

.text-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.left-column {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%; 
    max-width: 70%;
    padding-right: 25px;
}

.right-column {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
    padding-left: 30px;
}

.table-of-contents {
    background: #f8f8f8;
    border-radius: 15px;
    padding: 30px 25px;
    border: 1px solid #eaeaea;
     position: sticky !important;
    top: 110px;
    -webkit-transition: top 0.2s ease;
    -o-transition: top 0.2s ease;
    transition: top 0.2s ease;
    will-change: top;
}

.toc-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.toc-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toc-link {
    color: #666;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.4;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.toc-link:hover {
    color: #9448B0;
    border-bottom-color: #9448B0;
}

.toc-link.active {
    color: #9448B0;
    font-weight: 600;
}

.gallery-courses {
    width: 100%;
    height: auto !important;
    overflow: hidden;
}

.gallery-courses .swiper-wrapper {
    align-items: stretch;
}

.gallery-courses .swiper-slide {
    height: auto !important;
    position: relative;
    aspect-ratio: 4/3 !important;
}

.gallery-courses .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.gallery-courses {
    padding: 0 0 80px 0 !important;
}

.gallery-courses .swiper-button-next,
.gallery-courses .swiper-button-prev {
    position: absolute;
    bottom: 20px;
    top: auto; 
    margin-top: 0;
}

.gallery-courses .swiper-button-next {
    right: 15px;
}

.gallery-courses .swiper-button-prev {
    right: auto;
    left: calc(100% - 95px);
}


.course-template .title{
    text-align: left;
}

.gallery-courses-swiper .subtitle{
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 50px;
    color: #7C7C7C;
}


/* faq */


.faq-container-wrapper {
    border-bottom: #DDDEE2 solid 2px;
    transition: all 0.3s ease;
    position: relative;
}

.question-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 25px 0;
    transition: all 0.3s ease;
    position: relative;
}

/* Эффект при наведении на вопрос */


.question-toggle:hover .question {
    transform: translateX(5px);
}

.question-toggle:hover .toggle-btn {
    transform: scale(1.1);
}

.question {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    padding-right: 15px;
    flex-grow: 1;
    transition: all 0.3s ease;
    color: #333;
}

/* Более плавная анимация ответа */
.answer {
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    font-size: 18px;
    line-height: 24px;
}

.answer.active {
    max-height: 500px;
    padding-bottom: 25px;
    opacity: 1;
    transform: translateY(0);
}

.answer-content {
    font-weight: 500;
    font-size: 18px;
    line-height: 1.6;
    padding: 0 20px;
    color: #555;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease 0.2s;
}

.answer.active .answer-content {
    opacity: 1;
    transform: translateY(0);
}

/* Улучшенная анимация кнопки */
.toggle-btn {
    background: none;
    border: none;
    font-size: 36px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 15px;
    color: #666;
    flex-shrink: 0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.toggle-btn:hover {
    transform: scale(1.1);
}

.toggle-btn.active {
    transform: rotate(135deg);
}

/* Плавное появление контента ответа */
.answer p {
    margin: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease 0.3s;
}

.answer.active p {
    opacity: 1;
    transform: translateY(0);
}



/* Контейнер для таблиц с горизонтальным скроллом */
.table-container {
    overflow-x: auto;
    margin: 25px 0;
    -webkit-overflow-scrolling: touch;
    border-radius: 15px;
}

.responsive-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: white;
}

/* Заголовки таблицы */
.responsive-table th {
    background: #977DFF;
    color: white;
    padding: 15px 12px;
    text-align: left;
    border: none;
    position: relative;
}

.responsive-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    border-right: 1px solid #f1f3f4;
}


.responsive-table tr:nth-child(even) {
    background-color: #ece7fd;
}


  /* thankyou */

.thankyou{
	min-height: 75vh;
	padding: 20px 0 65px 0;
}

.thankyou .text-content .title {
    font-size: 48px;
    font-weight: 700;
    line-height: 52px;
	margin-bottom: 40px;
}

.thankyou .text-content {
	padding: 65px 0 0 0;
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
	text-align: center;
	
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.thankyou .btn {
     padding: 10px 30px;
     border-radius: 100px;
     transition: 0.5s ease;
     cursor: pointer;
     font-weight: 500;
     font-size: 16px;
	 width: unset;
}

.thankyou .subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    color: #7C7C7C;
	
	margin-bottom: 20px;
}


/* Формы в блоге */

.consultation__wrapper_second, .consultation__wrapper {
   border-radius: 25px;
    flex-direction: row;
    align-items: flex-start;
    padding: 1.5rem 1.875rem;
    background: #977DFF;
    margin-top: 25px;
    margin-bottom: 35px;
	color: white;
}

.consultation__wrapper_second .titler, .consultation__wrapper .titler {
    font-size: 32px;
    line-height: 38px;
}

.consultation__wrapper .mark {
    padding: 0 4px;
    background-color: #D8F878;
	color: black;
}

.consultation__wrapper_second .leadformerror,
.consultation__wrapper .leadformerror{
    float: left;
    width: 100%;
    padding-top: 10px;
    margin-bottom: 10px;
    height: 30px;
}

.m-form__inner {
    flex: none;
    display: flex;
    width: 100%;
    flex-direction: row;
	gap: 10px;
}

.consultation__wrapper_second .subtitle, .consultation__wrapper .subtitle{
    font-size: 24px;
    line-height: 28px;
    margin-top: 20px;
}

.consultation__wrapper_second .input, .consultation__wrapper .input {
    width: 100%;
    box-sizing: border-box;
    background-color: white;
    border-radius: 5px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    padding: 15px 11px;
}

.consultation__wrapper_second .btn, .consultation__wrapper .btn {
    padding: 10px 50px;
    border-radius: 100px;
    background-color: #D8F878;
    transition: 0.5s ease;
    cursor: pointer;
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
	width: unset;
}

.consultation__wrapper_second .btn{
	background: #9448B0;
	color: white;
}
 
.consultation__wrapper .btn:hover{
	background: black;
	color:white;
}

.consultation__wrapper_second .btn:hover{
	background: black;
}



.consultation__wrapper_second .consultation__policy, .consultation__wrapper .consultation__policy {
    margin-top: 10px;
	color: white;
}

.consultation__wrapper_second .consultation__policy, .consultation__wrapper .consultation__policy  a{
	color: white !important;
}

.consultation__wrapper_second label.checkbox__text, .consultation__wrapper label.checkbox__text {
    font-weight: 300;
    font-size: 16px;
}

.consultation__wrapper .consultation__policy-link, .consultation__wrapper_second .consultation__policy-link{
    text-decoration: underline !important;
	color: black !important;
}

.consultation__wrapper_second {
    background: #DDDEE2;
	color: black;
}

.consultation__wrapper_second .consultation__policy {
    color: black !important;
}

.consultation__wrapper_second .mark{
        background-color: #9448B0;
		color: white;
}

.form-preloader {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    z-index: 99;
    border-radius: 15px;
  }
  
  .spinner {
    border: 8px solid rgba(0, 0, 0, 0.2);
    border-top: 8px solid #D0FF03;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
  }
  
  /* Анимация вращения */
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }
  
  .formMessage__success {
    display: none;
  }
  .form-success .formMessage__success {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
    border-radius: 15px;
    padding: 30px;
  }
  
  .formMessage__success-title {
    font-size: 30px;
    text-align: center;
    line-height: 29px;
    color: #000;
  }
  .formMessage__success-subtitle {
    font-size: 20px;
    text-align: center;
    line-height: 25px;
    text-align: center;
    margin-top: 24px;
    color: #F56B3C;
  }
  
  .form-error .formMessage__success {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99;
    border-radius: 15px;
    padding: 30px;
	color: white;
  }
  
  .leadformerror{
	  color: white;
  }
  
  .formMessage__error {
    display: none;
    font-size: 30px;
    text-align: center;
    line-height: 29px;
  }

/* MODAL */

.modal-bg{
	background-color: #F2E6EE !important;
}

.modal{
	border-radius: 25px;
    max-width: 600px;
	position: relative;
}

.modal img{
	position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
    object-fit: cover;
}

.modal-wrapper{
    position: relative;
    z-index: 3;
}

.modal-wrapper .title{
	font-weight: 700;
    font-size: 48px;
    line-height: 52px;
}

.modal-wrapper .subtitle{
	font-weight: 500;
    font-size: 25px;
    line-height: 34px;
}

.modal .form{
	background-color: transparent;
	
	border-radius: 25px;
	
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
	
	margin-top: 20px;
}

.modal .form .form__label {
    color: rgba(0, 0, 0, 0.66);
    width: 100%;
}

.modal .form .input {
    width: 100%;
    box-sizing: border-box;
    background-color: #F2F2F4;
    border-radius: 5px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    padding: 15px 11px;
}

.modal .form .politican {
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    text-align: left;
}

.modal .form .politican a {
    text-decoration: underline !important;
}

.modal .form .btn {
    color: black;
    font-size: 18px;
    font-weight: 500;
    padding: 15px 20px;
    border-radius: 50px;
    transition: 0.2s ease;
    cursor: pointer;
    text-align: center;
    width: 100%;
}


@media (max-width: 1200px) {
    .benefits-row {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        min-height: 600px; 
    }
	.banner-background svg {
        transform: scale(1.1);
    }
}

@media (max-width: 1024px) {
    .blog .card-wrapper .card {
        width: 48%;
    }

     .text-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .table-of-contents {
        position: relative;
        top: 0;
    }

    .gallery-courses {
        height: 250px;
    }
	
	.banner-section-wrapper {
        padding: 40px 60px 200px 60px;
    }
    
    .banner-title {
        font-size: 38px;
        line-height: 44px;
        margin: 15px 0 30px 0;
    }
    
    .second-row {
        width: calc(100% - 120px);
        bottom: 40px;
    }
    
    .second-row .info-card {
        padding: 20px;
        min-height: 140px;
    }
    
    .second-row .info-title {
        font-size: 18px;
        line-height: 22px;
    }
    
    .banner-section-wrapper .img-container {
        max-width: 400px;
    }
}

 @media (max-width: 992px) {
    /* шапка */
    .header-wrapper .nav {
        display: none;
    }

    /* ИЗМЕНЯЕМ СЕЛЕКТОР НА #mob-nav */
    #mob-nav {
        position: fixed;
        top: 70px;
        left: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        gap: 30px;
        flex-direction: column;
        width: 100%;
        background-color: rgba(0, 0, 0, 1);
        border-radius: 0 0 20px 20px;
        padding: 35px 20px;
        z-index: 1001;
        opacity: 0;
        transform: translateY(-20px);
        transition: all 0.4s ease;
        display: none; /* Добавляем начальное состояние */
    }

    #mob-nav.active {
        opacity: 1;
        transform: translateY(0);
    }

    .header-wrapper .nav-mob {
        display: flex;
        flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .header-wrapper .nav-mob a {
        color: #ffffff;
        font-weight: 500;
        transition: color 0.2s ease;
        font-size: 16px;
    }

    .header .nav-mob a:hover {
        color: #9448B0;
    }

    .header-wrapper-mob {
        display: block !important;
    }

    .burger {
        padding: 0;
        border: 0;
        background-color: transparent;
        height: 30px;
        width: 30px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        flex-direction: column;
    }

    .burger-line {
        position: relative;
        width: 100%;
        height: 4px;
        background-color: rgb(255, 255, 255);
        border-radius: 3px;
        transition: 0.3s;
    }

    .burger-line:nth-child(1) {
        top: 4px;
        transform: translateY(-10px);
    }

    .burger-line:nth-child(3) {
        bottom: 4px;
        transform: translateY(10px);
    }

    .burger.open .burger-line:nth-child(1) {
        transform: rotate(45deg);
    }

    .burger.open .burger-line:nth-child(3) {
        transform: rotate(-45deg);
    }

    .burger.open .burger-line:nth-child(2) {
        opacity: 0;
    }

    .hero-title {
        font-size: 2.5rem;
        max-width: 100%;
        text-align: center;
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
        justify-content: center;
    }

    .hero-content-inner {
        align-items: center;
        text-align: center;
        height: 60%;
    }

    .button-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .relevant-cards-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .relevant-card {
        width: 100%;
    }

     /* Стили для мобильного меню при скролле */
    .header.scrolled #mob-nav {
        background-color: #ffffff;
        border-bottom: 1px solid rgba(31, 37, 51, 0.1);
		
    }
    
    .header.scrolled .nav-mob a {
        color: #000000;
    }
    
    .header.scrolled .nav-mob a:hover {
        color: #9448B0;
    }
    
    /* Бургер в мобильной версии при скролле */
    .header.scrolled .burger-line {
        background-color: #000000;
    }

    .courses-card-container {
        flex-direction: column;
        align-items: center;
    }
	
	.sub-menu{
		display: flex;
		flex-direction: column;
		gap: 30px;
		margin-top: 30px;
	}

    
}

 @media (max-width: 768px) {
     .hero-title {
         font-size: 2rem;
         line-height: 1.3;
     }

     .hero {
         height: 100vh;
         min-height: 600px;
     }

     .hero-content-inner {
         gap: 30px;
         height: 70%;
     }

     .button-wrapper {
         gap: 15px;
     }

     .benefits-row {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
        min-height: 1200px;
    }

    .benefits-row .benefits-card-img:nth-child(1) { grid-area: 2 / 1 / 3 / 2; } 
    .benefits-row .benefits-card:nth-child(2) { grid-area: 1 / 1 / 2 / 2; } 
    .benefits-row .benefits-card-img:nth-child(3) { grid-area: 4 / 1 / 5 / 2; } 
    .benefits-row .benefits-card:nth-child(4) { grid-area: 3 / 1 / 4 / 2; } 


    .triangle-right,
    .triangle-left{
        display: none;
    }

    .form .second-column img{
        display: none;
    }

    .form-wrapper::before {
        transform: scale(2.3);
        right: 0px;
    }

    .courses-card {
        width: 100%;
    }
    .card {
        height: 300px;
    }

    .courses .info-title {
        font-size: 24px;
        line-height: 29px;
        margin: 15px 0 15px 0;
    }

    .img-wrapper{
        display: none;
    }

    .main-info-wrapper {
        width: 100%;
    }

    .main-info-wrapper {
        padding: 30px 30px;
    }

    .form-wrapper-second::before {
        transform: scale(1.7);
    }

    .gallery-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .gallery-wrapper-item {
        width: 100%;
        height: 600px;
    }

    .gallery .main-info {
        padding: 0;
    }

    .title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 30px;
    }

    .form .title{
        font-size: 2rem;
        line-height: 1.3;
    }

    .gallery .main-info .title{
        font-size: 2rem;
        line-height: 1.3;
    }

    .gallery .main-info .subtitle {
        font-size: 18px;
        line-height: 24px;
    }

    .form-wrapper-second {
        flex-direction: column;
    }

    .form-wrapper-third .relevant-card {
        width: 100%;
    }

    .blog-page .card-wrapper .card .card-image {
        height: 200px; /* Уменьшаем высоту изображения на мобильных */
    }
    
    .blog-page .card-wrapper .card-content .title {
        font-size: 16px;
        min-height: 60px;
        -webkit-line-clamp: 2; /* На мобильных показываем 2 строки */
    }
    
    .blog-page .card-content {
        padding: 20px 15px;
    }
    
    .blog-page-gallery .gallery-discription {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .blog .card-wrapper .card {
        width: 100%;
    }
    
    .blog .card-wrapper .card .card-image {
        height: 200px;
    }
    
    .blog .card-wrapper .card-content .title {
        font-size: 16px;
        min-height: 60px;
        -webkit-line-clamp: 2;
    }
    
    .blog h1 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 30px;
    }

     .text-section {
        padding: 40px 0;
    }
    
    .text-wrapper {
        gap: 30px;
    }
    
    .table-of-contents {
        padding: 20px;
    }
    
    .content h2 {
        padding-top: 60px;
        margin-top: -40px;
        scroll-margin-top: 80px;
    }

    .gallery-courses {
        height: 200px;
    }

    .question {
        font-size: 20px;
        line-height: 24px;
    }
    
    .question-toggle {
        padding: 20px 0;
    }
    
    .toggle-btn {
        font-size: 32px;
        width: 44px;
        height: 44px;
    }
    
    .answer-content {
        font-size: 16px;
        padding: 0 15px;
    }
	
	.consultation__wrapper_second .titler, .consultation__wrapper .titler {
		font-size: 28px;
		line-height: 32px;
	}
	
	.consultation__wrapper_second label.checkbox__text, .consultation__wrapper label.checkbox__text {
		line-height: 20px;
		font-size: 16px;
	}
	
	.consultation__wrapper_second .subtitle, .consultation__wrapper .subtitle {
		font-size: 20px;
		line-height: 24px;
		margin-top: 20px;
	}
	
	.consultation__wrapper_second, .consultation__wrapper{
		padding:25px;
	}
	
	 .banner-section-wrapper {
        padding: 30px 40px 250px 40px;
    }
    
    .first-row {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .banner-title {
        font-size: 32px;
        line-height: 38px;
        margin: 15px 0 25px 0;
    }
    
    .banner-section-wrapper .img-container {
        max-width: 100%;
    }
    
    .second-row {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        margin-top: 30px;
        flex-wrap: wrap;
    }
    
    .second-row .info-card {
        width: calc(50% - 10px);
        min-height: 130px;
        margin-bottom: 15px;
    }
    
    .info-section {
        width: 100%;
    }
	
	.banner-background {
        opacity: 0.7;
    }
	
	.text-section .text-wrapper {
        flex-direction: column-reverse;
    }
	
	.right-column{
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		padding-left: 0;
	}
	
	.left-column {
		-ms-flex: 0 0 100%;
		flex: 0 0 100%;
		max-width: 100%;
		padding-right: 0;
	}
	
	.text-section .blog-page-content {
		margin-bottom: 0;
	}
	
	.modal-wrapper .title {
			font-size: 32px;
			line-height: 36px;
		}
		
		.modal-wrapper .subtitle {
			font-size: 20px;
			line-height: 24px;
		}
		
		.modal .form .politican {
			font-size: 16px;
			line-height: 22px;
		}
		
		.m-form__inner {
        flex-direction: column;
    }
 }

  @media (max-width: 480px) {
    .padding {
        padding: 50px 0;
    }

    .footer .info-bottom {
        gap: 75px;
    }

    .footer .info-block {
        column-gap: 45px;
    }

        .blog-page-gallery .gallery-discription{
        gap: 0px;
    }

    .blog .card-wrapper {
        gap: 15px;
    }
    
    .blog .card-wrapper .card-content {
        padding: 20px 15px;
    }
    
    .blog h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .question {
        font-size: 18px;
        line-height: 22px;
    }
    
    .question-toggle {
        padding: 15px 0;
    }
    
    .toggle-btn {
        font-size: 28px;
        width: 40px;
        height: 40px;
        padding: 6px 12px;
    }
	
	.banner-section-wrapper {
        padding: 20px 20px 30px 20px;
        border-radius: 10px;
    }
    
    .banner-title {
        font-size: 28px;
        line-height: 32px;
        margin: 15px 0 20px 0;
    }
    
    .first-row {
        gap: 20px;
    }
    
    .second-row {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
    }
    
    .second-row .info-card {
        width: 100%;
        min-height: auto;
        padding: 20px;
    }
    
    .second-row .info-title {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 10px;
    }
    
    .second-row .main-info {
        min-height: auto;
        font-size: 14px;
        line-height: 18px;
    }
    
    .banner-section-wrapper .img-container img {
        border-radius: 10px;
    }
	
	.answer {
		font-size: 16px;
		line-height: 22px;
	}
	
	.policy .title {
        font-size: 26px;
    }
	
	.policy h2 {
		font-size: 20px !important;
		line-height: 26px !important;
	}
  }
  
  @media (max-width: 360px) {
    .banner-section-wrapper {
        padding: 15px 15px 25px 15px;
    }
    
    .banner-title {
        font-size: 24px;
        line-height: 28px;
    }
    
    .second-row .info-card {
        padding: 15px;
    }
    
    .second-row .info-title {
        font-size: 16px;
        line-height: 20px;
    }
    
    .second-row .main-info {
        font-size: 13px;
        line-height: 16px;
    }
}