@font-face {
    font-family: 'Spectral';
    src: url('../fonts/Spectral-MediumItalic.woff2') format('woff2');
    font-style: italic;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-SemiBold.woff2') format('woff2');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Regular.woff2') format('woff2');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Medium.woff2') format('woff2');
    font-style: normal;
    font-weight: 400;
    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 {
    font-family: 'Manrope';
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    color: #000000;
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 80px;
}

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: 1420px;
    padding: 0 20px;
    width: 100%;
    margin: 0 auto;
}

.padding {
    padding: 75px 0;
}

.title {
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    text-align: center;
    margin-bottom: 50px;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #ffffff;
    padding: 20px 0;
    color: #2C2B1D;
}

.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: 20px;
    line-height: 26px;

    font-family: 'Spectral';

}

.header .list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 35px;
}

.underline {
    position: relative;
    display: inline-block;
    text-decoration: none;
    color: #000;
    padding-bottom: 5px;
}

.underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.5px;

    background-color: #2C2B1D;
    transition: width 0.5s ease;
}

.underline:hover::after {
    width: 100%;
}

.btn {
    padding: 10px 20px;
    border-radius: 100px;
    transition: 0.5s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;

    background-color: #2C2B1D;
    color: #ffffff;
}

.btn:hover {}

.btn-underline {
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}

.heading {
    font-family: 'Spectral';
    font-style: italic;
    font-weight: 500;
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 30px;
}

main {
    padding: 10px 0 0 0;
}


/* BANNER */

.banner-blog-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: stretch;
    justify-content: space-between;
}

.banner-blog-wrapper .heading {
    margin-bottom: 0;
	font-size: 20px;
}

.left-section,
.right-section {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.left-section {
    background-color: #F7F6E5;
    padding: 35px;
}

.left-section h1 {
    font-weight: 900;
    font-size: 36px;
    line-height: 43px;

    margin-bottom: 20px;
}

.left-section .subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;

    margin-bottom: 75px;
}

.left-section .card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    padding: 8px 0;
    border-bottom: #2C2B1D 1px solid;

    cursor: pointer;
}

.left-section .info-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.left-section .card .img {
    margin-right: 10px;
}

.left-section .card .name {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
}

.arrow-btn {
    transition: transform 0.5s ease;
}

.arrow-btn svg {
    transition: transform 0.5s ease;
}

.card:hover .underline::after {
    width: 100%;
}

.card:hover .arrow-btn svg {
    transform: rotate(90deg);
}

.left-section .img {
    width: 60px;
    height: 60px;
    min-width: 60px;
    flex-shrink: 0;
    overflow: hidden;
}

.left-section .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-wrapper {
    display: flex;
    flex-direction: row;
    gap: 35px;
    align-items: center;

    margin-top: 25px;
}

.right-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* BENEFITS */
.benefits-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 30px;
}

.first-row .card:nth-child(1) {
    grid-area: 1 / 1 / 2 / 2;
}

.first-row .card:nth-child(2) {
    grid-area: 1 / 2 / 2 / 3;
}

.first-row .card:nth-child(3) {
    grid-area: 1 / 3 / 2 / 4;
}

.second-row .card:nth-child(1) {
    grid-area: 2 / 2 / 3 / 3;
}

.second-row .card:nth-child(2) {
    grid-area: 2 / 3 / 3 / 4;
}

.first-row,
.second-row {
    display: contents;
}

.benefits .card {
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
    /* занимает всю высоту grid ячейки */
    min-height: 150px;
    /* фиксированная минимальная высота */
}

.benefits .card-title {
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;

    padding: 10px
}

.benefits .card-info {
    flex-grow: 1;
    /* занимает все доступное пространство */
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    padding: 10px;
    position: relative;
}

/* Остальные стили границ остаются */
.benefits .card-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: #F7F6E5;
}

.benefits .card-info {
    border-left: 2px solid #F7F6E5;
    border-right: 2px solid #F7F6E5;
    border-top: none;
    border-bottom: none;
}

/* Классы для анимации */
.benefits {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.benefits.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Анимация для карточек с задержкой */
.benefits.visible .card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpCard 0.7s ease-out forwards;
}

@keyframes slideUpCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Задержки для карточек */
.benefits.visible .first-row .card:nth-child(1) {
    animation-delay: 0.2s;
}

.benefits.visible .first-row .card:nth-child(2) {
    animation-delay: 0.3s;
}

.benefits.visible .first-row .card:nth-child(3) {
    animation-delay: 0.4s;
}

.benefits.visible .second-row .card:nth-child(1) {
    animation-delay: 0.5s;
}

.benefits.visible .second-row .card:nth-child(2) {
    animation-delay: 0.6s;
}

/* COURSES */
.courses-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 30px;
    align-items: start;
}

.courses .title-wrapper {
    display: contents;
}

.courses .heading {
    grid-column: 1 / 2;
}

.courses .title {
    grid-column: 2 / 4;
    margin: 0;

    text-align: left;
    align-self: start;
    justify-self: start;
}

/* Карточки - занимают следующие строки */
.courses .cards-wrapper {
    display: contents;
}

.courses .first-row {
    display: contents;
}

.courses .first-row .card:nth-child(1) {
    grid-row: 2;
    grid-column: 1;
}

.courses .first-row .card:nth-child(2) {
    grid-row: 2;
    grid-column: 2;
}

.courses .first-row .card:nth-child(3) {
    grid-row: 2;
    grid-column: 3;
}

.courses .second-row {
    display: contents;
}

.courses .second-row .card:nth-child(1) {
    grid-row: 3;
    grid-column: 1;
}

.courses .second-row .card:nth-child(2) {
    grid-row: 3;
    grid-column: 2;
}

.courses .second-row .card:nth-child(3) {
    grid-row: 3;
    grid-column: 3;
}

/* Базовые стили карточки */
.courses .card {
    position: relative;
    display: block;
    width: 100%;
    max-height: 460px;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.courses .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

/* Основной заголовок (виден всегда) */
.courses .info-title {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(9.3px);
    -webkit-backdrop-filter: blur(9.3px);
    padding: 15px 20px;
    color: #ffffff;
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Hover-слой (скрыт по умолчанию) */
.courses .card-hover {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    /* темный полупрозрачный фон */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

/* Контент внутри hover */
.courses .hover-content {
    width: 100%;
    max-width: 300px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
    text-align: center;
}

/* Заголовок в hover */
.courses .hover-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 30px;
    text-align: center;
}

/* Блок с деталями */
.courses .hover-details {
    margin-bottom: 30px;
}

.courses .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.courses .detail-item:last-child {
    border-bottom: none;
}

.courses .detail-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-size: 16px;
    text-align: left;
}

.courses .detail-value {
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    text-align: right;
}

.courses .btn {
    color: #2C2B1D;
    background-color: #ffffff;
}

/* Hover состояния */
.courses .card:hover img {
    transform: scale(1.05);
}

.courses .card:hover .info-title {
    opacity: 0;
    visibility: hidden;
}

.courses .card:hover .card-hover {
    opacity: 1;
    visibility: visible;
}

.courses .card:hover .hover-content {
    opacity: 1;
    transform: translateY(0);
}

.courses .btn-underline {
    text-align: center;
    grid-column: 2 / 2;
}

/* Анимация для heading и title */
.courses.visible .heading,
.courses.visible .title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Heading появляется первым */
.courses.visible .heading {
    animation-delay: 0.1s;
}

/* Title появляется вторым */
.courses.visible .title {
    animation-delay: 0.3s;
}

/* Кнопка "Посмотреть все" тоже с анимацией */
.courses.visible .btn-underline {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    grid-column: 1 / -1;
    justify-self: center;
    /* margin-top: 40px; */
}

/* Общая анимация */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Анимация для карточек с задержкой */
.courses.visible .card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpCard 0.8s ease-out forwards;
}

.courses.visible .courses-search {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpCard 0.8s ease-out forwards;
}

@keyframes slideUpCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.courses.visible .card:nth-child(1) {
    animation-delay: 0.3s;
}

.courses.visible .card:nth-child(2) {
    animation-delay: 0.4s;
}

.courses.visible .card:nth-child(3) {
    animation-delay: 0.5s;
}

.courses.visible .card:nth-child(4) {
    animation-delay: 0.6s;
}

.courses.visible .card:nth-child(5) {
    animation-delay: 0.7s;
}

.courses.visible .card:nth-child(6) {
    animation-delay: 0.8s;
}

/* TEACHERS */

.teachers-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
    align-items: start;
}

.teachers .title-wrapper {
    display: contents;
}

.teachers .heading {
    grid-column: 1 / 2;
}

.teachers .title {
    grid-column: 2 / 4;
    margin: 0;

    text-align: left;
    align-self: start;
    justify-self: start;
}

.teachers-content-wrapper {
    display: contents;
}

.teachers .first-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.teachers .item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.teachers .item .num {
    font-weight: 700;
    font-size: 64px;
    line-height: 77px;
    display: inline-block;
    position: relative;
}

.teachers .item .subtitle {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}

.teachers .second-column,
.teachers .third-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.teachers .name {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;

}

.teachers .description {
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
}

.teachers .img-wrapper {
    width: 100%;
    min-height: 350px;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 0;
}

.teachers .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Базовые стили для teachers */
.teachers {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.teachers.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Анимация для heading и title */
.teachers.visible .heading,
.teachers.visible .title {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Heading появляется первым */
.teachers.visible .heading {
    animation-delay: 0.1s;
}

/* Title появляется вторым */
.teachers.visible .title {
    animation-delay: 0.3s;
}

/* Анимация для колонок */
.teachers.visible .first-column,
.teachers.visible .second-column,
.teachers.visible .third-column {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpCard 0.8s ease-out forwards;
}

/* Задержки для колонок */
.teachers.visible .first-column {
    animation-delay: 0.5s;
    /* после заголовков */
}

.teachers.visible .second-column {
    animation-delay: 0.7s;
}

.teachers.visible .third-column {
    animation-delay: 0.9s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpCard {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* form-section */

.form-section-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-height: 460px;
    min-height: 300px;
    overflow: hidden;
}

.form-section-wrapper img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.form-section .info-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 40px;
    color: #ffffff;
    max-width: 500px;
    width: 90%;
    text-align: left;
    z-index: 2;
    position: relative;
    margin: 30px;
}

.form-section .info-container .title {
    text-align: left;
}

/* FAQ */

.faq_page .faq-wrapper{
	padding: 40px 0 0 0;
}

.faq-wrapper-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 40px 0;
}

.faq-card {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    border-bottom: #2C2B1D 1px solid;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq .num {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    min-width: 40px;
    flex-shrink: 0;
    margin-right: 20px;
    margin-top: 5px;
}

/* Обертка для вопроса и ответа */
.faq-card .content-wrapper {
    flex-grow: 1;
    margin-right: 20px;
    width: calc(100% - 94px);
}

/* Вопрос */
.faq .question {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 0;
    /* убрали margin-bottom, так как ответ будет под ним */
    transition: color 0.3s ease;
    padding-right: 10px;
    /* чтобы не прилипал к стрелке */
}

/* Ответ */
.faq .answer {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-10px);
    margin-top: 0;
}

/* Когда ответ открыт */
.faq-card.active .answer {
    max-height: 2000px;
    /* большое значение для плавной анимации */
    opacity: 1;
    transform: translateY(0);
    margin-top: 15px;
    padding-top: 15px;
}

/* Стили для содержимого ответа */
.faq .answer p {
    margin-bottom: 15px;
}

.faq .answer ul {
    margin-bottom: 15px;
    padding-left: 20px;
}

.faq .answer li {
    margin-bottom: 8px;
    position: relative;
}

.faq .answer li::before {
    content: "•";
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
    position: absolute;
    left: 0;
}

/* Стрелка */
.faq-card .arrow-btn {
    flex-shrink: 0;
    width: 34px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 5px;
    /* для выравнивания с текстом вопроса */
}

.faq-card .arrow-btn svg {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover на карточке - стрелка поворачивается на 90 градусов */
.faq-card:hover .arrow-btn svg {
    transform: rotate(90deg);
}


.faq .btn-wrapper {
    justify-content: center;

}

/* gallery */

.gallery-container {
    width: 100%;
    height: 300px;
    margin: 0 auto;
    position: relative;
}

.swiper-gallery {
    width: 100%;
    height: 100%;
}

.swiper-wrapper {
    align-items: center;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
    transition: transform 0.3s ease;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-scrollbar {
    background: rgba(0, 0, 0, 0.1);
    height: 6px;
    margin-top: 20px;
}

/* form-footer */

.form-footer-wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: stretch;
    justify-content: space-between;
}

.form-footer .left-column,
.form-footer .right-column {
    width: 50%;
    display: flex;
    flex-direction: column;
}

.form-footer .left-column img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.form-footer .right-column {
    background-color: #F7F6E5;
    padding: 35px;
}

.form-footer .title {
    text-align: left;
}

.form-footer .form-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form__label input {
    width: 100%;
    background-color: #F7F6E5;
    border: #2C2B1D 1px solid;
    padding: 15px;
}

.politican {
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
}

.form-container .politican a {
    text-decoration: underline;

}

.formMessage__error {
    display: none;
    font-size: 30px;
    text-align: center;
    line-height: 29px;
}

/* MODAL */

.modal-bg{
	background-color: #F7F6E5 !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;
    width: 100%;
    background-color: #F7F6E5;
    border: #2C2B1D 1px solid;
    padding: 15px 11px;
}

.modal .form .politican {
    font-weight: 300;
    font-size: 14px;
    line-height: 17px;
    text-align: left;
}

.modal .form .politican a {
    text-decoration: underline !important;

}

.modal .form .btn{
	width: 100%;
}


/* contacts */

.contacts-wrapper {
    width: 100%;
}

.contacts .main-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 30px;
    width: 100%;
}

.contacts .column {
    flex: 1 1 0;
    min-width: 250px;
    box-sizing: border-box;
}

.contacts .column:not(:first-child) {
    text-align: center;
}

.contacts .column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contacts .column li {
    margin-bottom: 15px;
}

.contacts .column li:last-child {
    margin-bottom: 0;
}

/* footer */

.footer .row-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer .row ul {
    display: flex;
    flex-direction: row;
    gap: 30px;
    align-items: center;
}


/* БЛОГ */

.blog-wrapper {
    padding: 40px 0 0 0;
}

.blog-wrapper h1 {
    font-weight: 700;
    font-size: 48px;
    line-height: 58px;
    margin-bottom: 40px;
}

.blog-wrapper .card-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-wrapper .card-wrapper .card {
    background-color: #F7F6E5;
    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-wrapper .card-wrapper .card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15); */
}

.blog-wrapper .card-wrapper .card .card-image {
    width: 100%;
    height: 250px;
    /* border-radius: 15px 15px 0 0; */
    overflow: hidden;
    position: relative;
}

.blog-wrapper .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-wrapper .card-wrapper .card:hover .card-image img {
    transform: scale(1.05);
}

.blog-wrapper .card-wrapper .card-content {
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
}

.blog-wrapper .card-wrapper .card-content .date {
    font-weight: 500;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.blog-wrapper .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-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 .container {
    display: flex;
    gap: 40px;
    position: relative;
}

.blog-page .padding {
    display: flex;
    gap: 40px;
    width: 100%;
}

/* Левая колонка (основной контент) */
.blog-page .left-column {
    flex: 1 1 70%;
    /* Занимает 70% ширины */
    max-width: 70%;
}

/* Правая колонка (sticky sidebar) */
.blog-page .right-column {
    flex: 1 1 30%;
    /* Занимает 30% ширины */
    max-width: 30%;
    position: relative;
}

/* Sticky aside */
.blog-page .aside-news {
    position: sticky;
    top: 180px;
    align-self: flex-start;
    background: #F7F6E5;
    padding: 20px;
    transition: top 0.3s ease;
}

/* Стили для карточек новостей */
.aside-news .cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aside-news .card {
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 15px;
    padding: 15px;
    align-items: flex-start;
    min-height: 120px;
}

.aside-news .card:not(:last-child) {
    border-bottom: #2C2B1D 1px solid;
}

.aside-news .img-wrapper {
    flex-shrink: 0;
    width: 120px;
    height: 100px;
    min-width: 120px;
    min-height: 100px;
    overflow: hidden;
    position: relative;
}

/* Изображение - заполняет весь контейнер */
.aside-news .img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.aside-news .card:hover .img-wrapper img {
    transform: scale(1.05);
}

.aside-news .main-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 90px;
    justify-content: space-between;
    min-height: 90px;
}

/* Заголовок новости */
.aside-news .name {
    font-weight: 600;
    font-size: 14px;
    line-height: 1.3;
    margin-bottom: 5px;
    color: #2C2B1D;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.6em;
    flex-shrink: 0;
}

/* Дата */
.aside-news .date {
    font-size: 12px;
    color: #7C7C7C;
    margin-bottom: 8px;
    flex-shrink: 0;
}

/* Кнопка */
.aside-news .btn {
    font-size: 12px;
    padding: 6px 12px;
    align-self: flex-start;
    margin-top: auto;
    flex-shrink: 0;
}

/* Альтернативный вариант с одинаковой высотой через grid */
.aside-news.grid-version .card {
    display: grid;
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto;
    gap: 15px;
    align-items: start;
}

.aside-news.grid-version .img-wrapper {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 120px;
    height: 100px;
}

.aside-news.grid-version .main-info {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 90px;
}

/* Вариант с использованием aspect-ratio для изображений */
.aside-news.aspect-version .img-wrapper {
    width: 120px;
    aspect-ratio: 4/3;
    flex-shrink: 0;
}

.aside-news.aspect-version .main-info {
    height: calc(120px * 3/4);
    min-height: 90px;
}


.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;
    object-fit: cover;
    overflow: hidden;
}

.blog-page-content .text-content img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: cover;
	margin-top: 10px;
	margin-bottom: 10px;
}

.blog-page-content .text-content {
    font-weight: 500;
    font-size: 18px;
    font-size: 18px;
    line-height: 25px;
}

.blog-page-content .text-content h2 {
    margin: 20px 0;
    font-size: 25px;
    line-height: 34px;
    font-weight: 700;
}

.blog-page-content .text-content h3{
	margin: 20px 0;
	font-size: 20px;
    line-height: 30px;
}

.blog-page-content .text-content p {
    margin-bottom: 10px;
}

.blog-wrapper-content a {
    margin-bottom: 10px;
    color: #2C2B1D;
    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;
    object-fit: cover;
}

.text-content blockquote {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 26px;
    padding: 20px;
    border-left: 4px solid #2C2B1D;
    background-color: #F7F6E5;
}

.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;
}


/* курсы */




.course_banner .course_banner_wrapper {
    display: flex;
    flex-direction: row;
    background-color: #F7F6E5;
    padding: 30px;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
	
	margin-top: 40px;
}

.course_banner .first-column {
    flex: 1 1 50%;
    min-width: 300px;
    max-width: 50%;
}

.course_banner .benifits_course_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.course_banner .title {
    text-align: left;
}

.course_banner .benifits_course_wrapper .card {
    background-color: #D1D1D1;
    border-radius: 12px;
    padding: 20px;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 180px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course_banner .benifits_course_wrapper .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.course_banner .benifits_course_wrapper .card .title {
    font-size: 18px;
    font-weight: 700;
    color: #2C2B1D;
    margin-bottom: 8px;
    line-height: 1.3;
}

.course_banner .benifits_course_wrapper .card .subtitle {
    font-size: 14px;
    color: #4A4A4A;
    line-height: 1.5;
    font-weight: 400;
}

.course_banner .second-column {
    flex: 1 1 40%;
    min-width: 300px;
    max-width: 50%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.course_banner .second-column img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center; 
}


.courses_tamplate .text-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.courses_tamplate .left-column {
    position: relative;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 70%;
    flex: 0 0 70%; 
    max-width: 70%;
    padding-right: 25px;
}

.courses_tamplate .right-column {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
    padding-left: 30px;
}

.courses_tamplate .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;
}

.courses_tamplate .toc-title {
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.courses_tamplate .toc-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.courses_tamplate .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;
}

.courses_tamplatev .toc-link:hover {
    color: #9448B0;
    border-bottom-color: #9448B0;
}

.courses_tamplate .toc-link.active {
    color: #9448B0;
    font-weight: 600;
}


.courses_tamplate .table-of-contents{
	border-radius: none;
}

.ez-toc-title{
	font-size: 18px !important;
    font-weight: 700 !important;
    color: #2C2B1D !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

.ez-toc-sticky {
	display: none;
}

.table-of-contents nav{
	margin-top: 10px;
}

#ez-toc-container li{
	font-size: 16px !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

#ez-toc-container{
    border: none !important;
    border-radius: unset !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}



 /* thankyou */

.thankyou{
	min-height: 75vh;
}

.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 .subtitle {
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
	
	margin-bottom: 20px;
}

/* Формы в блоге */

.consultation__wrapper_second, .consultation__wrapper {
   border-radius: 25px;
    flex-direction: row;
    align-items: flex-start;
    padding: 1.5rem 1.875rem;
    background: #2C2B1D;
    margin-top: 25px;
    margin-bottom: 35px;
	color: white;
}

.consultation__wrapper .btn{
	background-color: #F7F6E5;
	color: black;
}

.consultation__wrapper_second .titler, .consultation__wrapper .titler {
    font-size: 32px;
    line-height: 38px;
}

.consultation__wrapper .mark {
    padding: 0 4px;
    background-color: #F7F6E5;
	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: #F7F6E5;
    border-radius: 0px;
    border: none;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    padding: 15px 11px;
}




.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: #D1D1D1;
	color: black;
}

.consultation__wrapper_second .consultation__policy {
    color: black !important;
}

.consultation__wrapper_second .mark{
        background-color: #2C2B1D;
		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;
  }


/* cookies */

.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: white;
  background: #f8f8f8;
  padding: 20px;
  max-width: 315px;
  width: calc(100% - 40px);
  text-align: left;
  z-index: 9999;
  display: none;
}

.cookie-consent p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.4;
}

.cookie-consent a {
  text-decoration: underline;
}

.cookie-more-text {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 0;
  display: block;
}

.cookie-more-text.show {
  max-height: 150px; 
  margin-top: 8px;
}

.cookie-toggle-text {
  color: #2C2B1D;
  cursor: pointer;
  font-weight: 500;
  margin-left: 5px;
  transition: opacity 0.3s ease;
  text-decoration: underline;
}

.hide-text {
  opacity: 0;
  pointer-events: none;
  margin-left: 5px;
}

.cookie-more-text.show .hide-text {
  opacity: 1;
  pointer-events: all;
}

/* кнопка вотсап */

.whatsapp-button {
    position: fixed;
    right: 13px;
    bottom: 0px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background: #2C2B1D;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    color: #fff;
    text-align: center;
    line-height: 53px;
    font-size: 35px;
    z-index: 9999999999;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
  }
  
  .whatsapp-button a {
    color: #fff;
  }
  
  .whatsapp-button img {
    width: 39px;
    margin-top: 13px;
  }
  
  .whatsapp-button::before,
  .whatsapp-button::after {
    content: " ";
    display: block;
    position: absolute;
    border: 50%;
    border: 1px solid #2C2B1D;
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    -webkit-animation: animate 1.5s linear infinite;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  
  .whatsapp-button::after {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
  }

  @-webkit-keyframes animate {
    0% {
      -webkit-transform: scale(0.5);
      transform: scale(0.5);
      opacity: 0;
    }
  
    50% {
      opacity: 1;
    }
  
    100% {
      -webkit-transform: scale(1.2);
      transform: scale(1.2);
      opacity: 0;
    }
  }
  
  @keyframes animate {
    0% {
      -webkit-transform: scale(0.5);
      transform: scale(0.5);
      opacity: 0;
    }
  
    50% {
      opacity: 1;
    }
  
    100% {
      -webkit-transform: scale(1.2);
      transform: scale(1.2);
      opacity: 0;
    }
  }
  
  /* макс */
  
  .maxbutton:hover {
  cursor: pointer;
}

.max-button {
  position: fixed;
  right: 13px;
  bottom: 100px;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  background: #2C2B1D;
  border-radius: 50%;
  width: 65px;
  height: 65px;
  color: #fff;
  text-align: center;
  line-height: 53px;
  font-size: 35px;
  z-index: 9999999999;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.max-button a {
  color: #fff;
}

.max-button img {
  width: 39px;
  margin-top: 13px;
}

.max-button::before,
.max-button::after {
  content: " ";
  display: block;
  position: absolute;
  border: 50%;
  border: 1px solid #2C2B1D;
  /*Ñ†Ð²ÐµÑ‚ Ð°Ð½Ð¸Ð¼Ð¸Ñ€Ð¾Ð²Ð°Ð½Ð½Ñ‹Ñ… Ð²Ð¾Ð»Ð½ Ð¾Ñ‚ ÐºÐ½Ð¾Ð¿ÐºÐ¸*/
  left: -20px;
  right: -20px;
  top: -20px;
  bottom: -20px;
  border-radius: 50%;
  -webkit-animation: animate 1.5s linear infinite;
  animation: animate 1.5s linear infinite;
  opacity: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.max-button::after {
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

@-webkit-keyframes animate {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes animate {
  0% {
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    opacity: 0;
  }
}

  
 /* поиск на странице курсов */

.courses-search {
    position: relative;
    width: 100%;
    margin: 20px 0 30px;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 15px;
    border: 1px solid #ddd;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #F7F6E5 !important;
    box-shadow: 0 0 0 2px rgba(247, 246, 229, 0.2);
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ccc;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    color: white;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

.search-clear:hover {
    background: #999;
}

.card-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.course-item {
    transition: all 0.3s ease;
}

.course-item.hidden {
    display: none;
}

.no-courses-message {
    text-align: center;
    padding: 40px;
    border-radius: 8px;
    grid-column: 1 / -1;
}  
 
.no-courses-message h3{
	margin-bottom: 10px;
}

/* страницы контакты */

.contacts_wrapper {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: stretch;
    justify-content: space-between;
    margin-top: 40px;
}

.contacts_wrapper .first-column {
    background-color: #F7F6E5;
    padding: 35px;
    display: flex;
    flex-direction: column;
}

.contacts_wrapper .first-column,
.contacts_wrapper .second-column {
    width: 50%;
}

.contacts_wrapper ul li:first-child {
    padding-bottom: 5px;
}

/* Контейнер для карты */
.map-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 300px;
}

/* Iframe карты */
.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 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: #F7F6E5;
    color: white;
    padding: 15px 12px;
    text-align: left;
    border: none;
    position: relative;
}

.table-container tr:first-child{
	background-color: #2C2B1D;
    color: #FFFFFF;
}


.responsive-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    border-right: 1px solid #f1f3f4;
}


.responsive-table tr:nth-child(even) {
    background-color: #F7F6E5;
}



@media (max-width: 1023px) {
    .banner-blog-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .banner-blog-wrapper .left-section,
    .banner-blog-wrapper .right-section {
        width: 100%;
    }

    /* .banner-blog-wrapper .right-section {
        order: -1;
    } */

    .banner-blog-wrapper .right-section img {
        max-height: 400px;
        object-position: center;
    }

    .banner-blog-wrapper .left-section {
        padding: 25px;
        gap: 20px;
    }

    .banner-blog-wrapper .left-section h1 {
        font-size: 32px;
        line-height: 38px;
    }

    .banner-blog-wrapper .left-section .subtitle {
        font-size: 18px;
        line-height: 22px;
        margin-bottom: 50px;
    }

    /* benefits */

    .benefits-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .first-row .card:nth-child(1) {
        grid-area: 1 / 1 / 2 / 2;
    }

    .first-row .card:nth-child(2) {
        grid-area: 1 / 2 / 2 / 3;
    }

    .first-row .card:nth-child(3) {
        grid-area: 2 / 1 / 3 / 2;
    }

    .second-row .card:nth-child(1) {
        grid-area: 2 / 2 / 3 / 3;
    }

    .second-row .card:nth-child(2) {
        grid-area: 3 / 1 / 4 / 3;
    }

    .benefits .card-title {
        font-size: 28px;
        line-height: 34px;
    }

    .benefits .card-info {
        font-size: 15px;
        line-height: 18px;
    }

    /* courses */

    .courses-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .courses .title-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .courses .heading {
        grid-column: 1;
        margin: 0;
    }

    .courses .title {
        grid-column: 1;
        font-size: 32px;
        line-height: 38px;
    }

    .courses .cards-wrapper {
        display: grid;
        gap: 25px;
        margin-bottom: 40px;
    }

    .courses .card {
        max-height: 400px;
        aspect-ratio: 1 / 1.1;
    }

    .courses .info-title {
        font-size: 18px;
        line-height: 22px;
        padding: 12px 16px;
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .courses .card-hover {
        padding: 20px;
    }

    .courses .hover-title {
        font-size: 22px;
        margin-bottom: 25px;
    }

    .courses .detail-item {
        padding: 10px 0;
    }

    .courses .detail-label {
        font-size: 14px;
    }

    .courses .detail-value {
        font-size: 16px;
    }

    .courses .btn-underline {
        grid-column: 1;
        justify-self: center;
        margin-top: 20px;
    }

    /* teacher */

    .teachers-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .teachers .title-wrapper {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }

    .teachers .heading {
        grid-column: 1;
        margin: 0;
    }

    .teachers .title {
        grid-column: 1;
        font-size: 32px;
        line-height: 38px;
        text-align: center;
    }

    .teachers-content-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        align-items: start;
    }

    .teachers .first-column {
        grid-column: 1 / 3;
        flex-direction: row;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 20px;
    }

    .teachers .item {
        flex: 1;
        text-align: center;
    }

    .teachers .item .num {
        font-size: 48px;
        line-height: 58px;
    }

    .teachers .item .subtitle {
        font-size: 14px;
        line-height: 17px;
    }

    .teachers .second-column,
    .teachers .third-column {
        gap: 15px;
    }

    .teachers .name {
        font-size: 18px;
        line-height: 22px;
    }

    .teachers .description {
        font-size: 14px;
        line-height: 17px;
    }

    .teachers .img-wrapper {
        min-height: 300px;
        max-height: 350px;
    }

    /* form-section */

    .form-section-wrapper {
        max-height: 400px;
        min-height: 250px;
        justify-content: center;
        text-align: center;
    }

    .form-section .info-container {
        max-width: 450px;
        width: 80%;
        padding: 30px;
        margin: 20px;
        text-align: center;
    }

    .form-section .info-container .title {
        text-align: center;
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 25px;
    }

    .form-section .heading {
        margin-bottom: 15px;
        text-align: center;
    }

    .form-section .btn {
        padding: 14px 28px;
        font-size: 16px;
    }

    /* faq */

    .faq-wrapper-container {
        margin: 30px 0;
        gap: 8px;
    }

    .faq-card {
        padding: 18px 0;
        align-items: flex-start;
    }

    .faq .num {
        font-size: 18px;
        line-height: 22px;
        min-width: 35px;
        margin-right: 15px;
        margin-top: 0;
    }

    .faq-card .content-wrapper {
        width: calc(100% - 80px);
        margin-right: 15px;
    }

    .faq .question {
        font-size: 18px;
        line-height: 22px;
        padding-right: 5px;
    }

    .faq .answer {
        font-size: 15px;
        line-height: 1.5;
    }

    .faq-card.active .answer {
        margin-top: 12px;
        padding-top: 12px;
    }

    .faq .answer p {
        margin-bottom: 12px;
    }

    .faq .answer ul {
        margin-bottom: 12px;
    }

    .faq .answer li {
        margin-bottom: 6px;
    }

    .faq-card .arrow-btn {
        width: 30px;
        height: 31px;
        margin-top: 0;
    }

    .faq-card .arrow-btn svg {
        width: 28px;
        height: 29px;
    }

    .faq .btn-wrapper {
        margin-top: 20px;
    }

    /* form-footer */

    .form-footer-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .form-footer .left-column,
    .form-footer .right-column {
        width: 100%;
    }

    .form-footer .left-column {
        height: 300px;
        order: 2;
    }

    .form-footer .right-column {
        padding: 30px;
        order: 1;
    }

    .form-footer .title {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 25px;
    }

    .form-footer .heading {
        margin-bottom: 15px;
    }

    .form__label input {
        padding: 14px 15px;
        font-size: 16px;
    }

    .form-footer .btn {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        max-width: 300px;
        margin: 5px auto 0;
    }

    .politican {
        font-size: 14px;
        line-height: 17px;
        text-align: center;
        margin-top: 15px;
    }

    /* contacts */

    .contacts .main-info {
        gap: 25px;
    }

    .contacts .column {
        flex: 1 1 calc(50% - 25px);
        min-width: 200px;
        text-align: left;
    }

    .contacts .column:not(:first-child) {
        text-align: left;
    }

    .contacts .column:first-child {
        flex-basis: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .contacts .heading {
        margin-bottom: 20px;
        text-align: center;
    }

    .contacts .column li {
        margin-bottom: 12px;
    }

    .contacts .underline {
        font-size: 16px;
    }

    /* footer */

    .footer .row-wrapper {
        gap: 25px;
    }

    .footer .row ul {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
    }

    .footer .heading {
        margin-bottom: 20px;
    }

    .footer .row li {
        flex: 0 0 auto;
    }

    /* blog */
    .blog-wrapper .card-wrapper .card {
        width: 48%;
    }
	
	/* курсы */
	
	.course_banner .course_banner_wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .course_banner .first-column,
    .course_banner .second-column {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
    }
    
    .course_banner .second-column {
        height: 350px;
        order: -1;
    }
    
    .course_banner .benifits_course_wrapper .card {
        flex: 1 1 calc(50% - 20px);
    }
	
}


@media (max-width: 992px) {

    /* шапка */
    .header-wrapper .nav {
        display: none;
    }

    .header .logo {
        font-size: 18px;
        line-height: 26px;
    }

    .header-wrapper .nav-mob {
        position: absolute;
        top: 65px;
        left: 0;

        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: center;
        gap: 30px;
        flex-direction: column;

        width: 100%;

        background-color: #ffffff;
        border-radius: 0 0 20px 20px;
        padding: 35px 20px;
    }

    .header-wrapper .nav-mob a {
        color: #2C2B1D;
        font-weight: 500;
        transition: color 0.2s ease;
    }

    .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: 2px;
        background-color: #2C2B1D;
        border-radius: 3px;

        transition: 0.3s;
    }

    .burger-line:nth-child(1) {
        top: 2px;
        transform: translateY(-10px);
    }

    .burger-line:nth-child(3) {
        bottom: 2px;
        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;
    }


    /* blog-page */

    .blog-page .padding {
        flex-direction: column;
        gap: 40px;
    }

    .blog-page .left-column {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .blog-page .right-column {
        flex: 1 1 100%;
        max-width: 100%;
        position: relative;
    }

    .blog-page .aside-news {
        position: static;
    }
	
	.courses_tamplate .text-wrapper {
		flex-direction: column;
	}
	
	.courses_tamplate .left-column{
		order: 2;
		
		flex: 0 0 100%;
		max-width: 100%;
	}
	
	.courses_tamplate .right-column{
		flex: 0 0 100%;
		max-width: 100%;
		
		padding-left: 0px;
	}
	
	.courses_tamplate .left-column{
		padding-right: 0px;
	}
	


}


@media (max-width: 767px) {
    .banner-blog-wrapper {
        gap: 20px;
    }

    .banner-blog-wrapper .left-section {
        padding: 20px;
    }

    .banner-blog-wrapper .left-section h1 {
        font-size: 28px;
        line-height: 34px;
        margin-bottom: 15px;
    }

    .banner-blog-wrapper .left-section .subtitle {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 40px;
    }

    .banner-blog-wrapper .left-section .card .name {
        font-size: 16px;
        line-height: 20px;
    }

    .banner-blog-wrapper .left-section .img {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .banner-blog-wrapper .btn-wrapper {
        /* flex-direction: column; */
        gap: 20px;
        /* align-items: flex-start; */
    }

    .banner-blog-wrapper .programms-cards-wrapper {
        margin-bottom: 20px;
    }

    /* benefits */

    .benefits-cards {
        grid-template-columns: 1fr;
        /* Одна колонка */
        gap: 20px;
    }

    /* Все карточки становятся последовательными в одной колонке */
    .first-row .card:nth-child(1) {
        grid-area: 1 / 1 / 2 / 2;
    }

    .first-row .card:nth-child(2) {
        grid-area: 2 / 1 / 3 / 2;
    }

    .first-row .card:nth-child(3) {
        grid-area: 3 / 1 / 4 / 2;
    }

    .second-row .card:nth-child(1) {
        grid-area: 4 / 1 / 5 / 2;
    }

    .second-row .card:nth-child(2) {
        grid-area: 5 / 1 / 6 / 2;
    }

    .benefits .card-title {
        font-size: 24px;
        line-height: 30px;
        padding: 8px;
    }

    .benefits .card-info {
        font-size: 14px;
        line-height: 17px;
        padding: 8px;
    }

    .benefits .card-info::before {
        left: 10px;
        right: 10px;
    }

    .benefits .card {
        min-height: 120px;
    }

    .benefits .heading {
        margin-bottom: 20px;
    }

    /* courses */

    .courses-wrapper {
        gap: 0px;
    }

    .courses .title {
        font-size: 28px;
        line-height: 34px;
    }

    .courses .cards-wrapper {
        gap: 20px;
        margin-bottom: 30px;
    }

    .courses .first-row {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }


    .courses .second-row {
        display: none !important;
    }

    .courses .card {
        max-height: 450px;
        aspect-ratio: 1 / 1.15;
    }

    .courses .info-title {
        font-size: 16px;
        line-height: 20px;
        padding: 10px 14px;
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .courses .card-hover {
        padding: 15px;
    }

    .courses .hover-content {
        max-width: 100%;
    }

    .courses .hover-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .courses .detail-item {
        padding: 8px 0;
    }

    .courses .detail-label {
        font-size: 13px;
    }

    .courses .detail-value {
        font-size: 15px;
    }

    .courses .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* teacher */

    .teachers-wrapper {
        gap: 25px;
    }

    .teachers .title {
        font-size: 28px;
        line-height: 34px;
        text-align: left;
    }

    .teachers-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .teachers .first-column {
        grid-column: 1;
        flex-direction: row;
        gap: 10px;
        margin-bottom: 30px;
    }

    .teachers .item {
        flex: none;
        text-align: left;
        align-items: flex-start;
    }

    .teachers .item .num {
        font-size: 42px;
        line-height: 50px;
    }

    .teachers .item .subtitle {
        font-size: 13px;
        line-height: 16px;
    }

    .teachers .second-column,
    .teachers .third-column {
        gap: 12px;
    }

    .teachers .name {
        font-size: 16px;
        line-height: 20px;
    }

    .teachers .description {
        font-size: 13px;
        line-height: 16px;
    }

    .teachers .img-wrapper {
        min-height: 280px;
        max-height: 320px;
    }

    .teachers .second-column {
        order: 1;
    }

    .teachers .third-column {
        order: 2;
    }

    .teachers.visible .heading,
    .teachers.visible .title {
        animation-duration: 0.6s;
    }

    .teachers.visible .first-column,
    .teachers.visible .second-column,
    .teachers.visible .third-column {
        animation-duration: 0.6s;
    }

    .teachers.visible .first-column {
        animation-delay: 0.2s;
    }

    .teachers.visible .second-column {
        animation-delay: 0.4s;
    }

    .teachers.visible .third-column {
        animation-delay: 0.6s;
    }

    .teachers.visible .item {
        opacity: 0;
        transform: translateY(20px);
        animation: fadeInUp 0.5s ease-out forwards;
    }

    .teachers.visible .item:nth-child(1) {
        animation-delay: 0.2s;
    }

    .teachers.visible .item:nth-child(2) {
        animation-delay: 0.3s;
    }

    .teachers.visible .item:nth-child(3) {
        animation-delay: 0.4s;
    }

    /* form-section */

    .form-section-wrapper {
        max-height: 350px;
        min-height: 200px;
        justify-content: center;
        align-items: center;
    }

    .form-section .info-container {
        max-width: 400px;
        width: 85%;
        padding: 25px 20px;
        margin: 15px;
        text-align: center;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

    .form-section .info-container .title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    .form-section .heading {
        margin-bottom: 12px;
    }

    .form-section .btn {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }

    /* faq */

    .faq-wrapper-container {
        margin: 25px 0;
        gap: 5px;
    }

    .faq-card {
        padding: 15px 0;
        flex-direction: row;
        align-items: flex-start;
    }

    .faq .num {
        font-size: 16px;
        line-height: 20px;
        min-width: 30px;
        margin-right: 12px;
    }

    .faq-card .content-wrapper {
        width: calc(100% - 70px);
        margin-right: 12px;
    }

    .faq .question {
        font-size: 16px;
        line-height: 20px;
        font-weight: 600;
    }

    .faq .answer {
        font-size: 14px;
        line-height: 1.5;
    }

    .faq-card.active .answer {
        margin-top: 10px;
        padding-top: 10px;
    }

    .faq .answer p {
        margin-bottom: 10px;
    }

    .faq .answer ul {
        margin-bottom: 10px;
        padding-left: 18px;
    }

    .faq .answer li {
        margin-bottom: 5px;
        font-size: 13.5px;
    }

    .faq-card .arrow-btn {
        width: 28px;
        height: 29px;
    }

    .faq-card .arrow-btn svg {
        width: 26px;
        height: 27px;
    }

    .faq .heading {
        text-align: center;
        margin-bottom: 10px;
    }


    .faq .answer {
        max-height: 0;
        transition: max-height 0.3s ease-out, opacity 0.3s ease-out, transform 0.3s ease-out;
    }

    .faq-card.active .answer {
        max-height: 2000px;
        transition: max-height 0.5s ease-in, opacity 0.5s ease-in, transform 0.5s ease-in;
    }


    /* form-footer */

    .form-footer .left-column {
        height: 250px;
    }

    .form-footer .right-column {
        padding: 25px 20px;
    }

    .form-footer .title {
        font-size: 24px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    .form-footer .heading {
        margin-bottom: 12px;
    }

    .form__label input {
        padding: 12px 15px;
        font-size: 15px;
    }

    .form-footer .btn {
        padding: 12px 24px;
        font-size: 15px;
        max-width: 280px;
    }

    .politican {
        font-size: 13px;
        line-height: 16px;
        margin-top: 12px;
    }

    .form-container {
        gap: 8px;
    }

    /* contacts */

    .contacts .main-info {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .contacts .column {
        flex: 1 1 100%;
        min-width: 100%;
        text-align: left;
    }

    .contacts .column:not(:first-child) {
        text-align: left;
    }

    .contacts .column:first-child {
        flex-basis: 100%;
        text-align: left;
        margin-bottom: 0;
        order: 1;
    }

    .contacts .column:nth-child(2) {
        order: 2;
    }

    .contacts .column:nth-child(3) {
        order: 3;
    }

    .contacts .heading {
        margin-bottom: 15px;
        text-align: center;
    }

    .contacts .column li {
        margin-bottom: 10px;
    }

    /* footer */

    .footer .row-wrapper {
        gap: 20px;
    }

    .footer .row ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer .heading {
        margin-bottom: 15px;
        text-align: center;
    }

    .footer .row {
        width: 100%;
    }

    .footer .row:first-child ul {
        border-bottom: 1px solid rgba(44, 43, 29, 0.1);
        padding-bottom: 20px;
        margin-bottom: 5px;
    }


    .footer .row li a {
        display: inline-block;
        padding: 6px 0;
        width: 100%;
    }

    /* blog */
    .blog-wrapper .card-wrapper .card {
        width: 100%;
    }

    .blog-wrapper .card-wrapper .card .card-image {
        height: 200px;
    }

    .blog-wrapper .card-wrapper .card-content .title {
        font-size: 16px;
        min-height: 60px;
        -webkit-line-clamp: 2;
    }

    .blog-wrapper h1 {
        font-size: 36px;
        line-height: 44px;
        margin-bottom: 30px;
    }

    /* blog-page */

    .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; 
    }

    .blog-page .padding {
        gap: 20px;
    }
	
	/* курсы */
	
	.course_banner .course_banner_wrapper {
        padding: 20px;
    }
    
    .course_banner .second-column {
        height: 300px;
    }
    
    .course_banner .benifits_course_wrapper {
        gap: 15px;
    }
    
    .course_banner .benifits_course_wrapper .card {
        flex: 1 1 100%; 
        min-width: 100%;
    }
	
	.course_banner .first-column {
		order: 1;
		flex: 1;
	}

	.course_banner .second-column {
		order: 2;
		flex: 1;
	}
	
	.course_banner .title {
        font-size: 28px;
        margin-bottom: 30px;
    }
	
	.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;
		}
		
		
		.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;
	}
	    .m-form__inner {
        flex-direction: column;
    }
	
	/* карточка-хувер */
	
	 .card {
        position: relative;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .card.active {
        z-index: 1001; /* Повышаем z-index активной карточки */
    }
    
    .card-hover {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
        overflow-y: auto; /* Разрешаем скролл внутри ховера если нужно */
    }
    
    .card.active .card-hover {
        opacity: 1;
        visibility: visible;
    }
    
    .hover-content {
        padding: 40px 20px;
        width: 90%;
        position: relative;
    }
    
    .card-hover::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
    
    /* Чтобы можно было скроллить страницу когда ховер открыт */
    body {
        position: relative;
        overflow-x: hidden;
    }
    
    /* Разрешаем скролл даже когда ховер открыт */
    .courses .card-wrapper {
        position: relative;
        z-index: 1;
    }
	
	.contacts_wrapper{
		flex-direction: column;
	}
	
	.contacts_wrapper .first-column, .contacts_wrapper .second-column {
		width: 100%;
	}
	
	.contacts_wrapper .first-column {
		padding: 25px;
	}
}


@media (max-width: 575px) {

    .btn {
        padding: 10px 15px;
        font-size: 14px;
        line-height: 20px;
    }

    .btn-underline {
        font-size: 14px;
        line-height: 20px;
    }

    .padding {
        padding: 45px 0;
    }

    main {
        padding: 40px 0 0 0;
    }

    .banner-blog-wrapper .left-section {
        padding: 15px;
    }

    .banner-blog-wrapper .left-section h1 {
        font-size: 24px;
        line-height: 30px;
    }

    .banner-blog-wrapper .left-section .subtitle {
        font-size: 14px;
        line-height: 18px;
        margin-bottom: 30px;
    }

    .banner-blog-wrapper .left-section .heading {
        margin-bottom: 15px;
    }

    .banner-blog-wrapper .left-section .card {
        padding: 6px 0;
    }

    .banner-blog-wrapper .left-section .card .name {
        font-size: 14px;
        line-height: 18px;
    }

    .banner-blog-wrapper .left-section .img {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }

    .arrow-btn svg {
        width: 28px;
        height: 28px;
    }

    .banner-blog-wrapper .right-section img {
        max-height: 300px;
    }

    /* benefits */

    .benefits-cards {
        gap: 15px;
    }

    .benefits .heading {
        text-align: center;
    }

    .benefits .card-title {
        font-size: 20px;
        line-height: 26px;
        padding: 10px;
    }

    .benefits .card-info {
        font-size: 13px;
        line-height: 16px;
        padding: 10px;
    }

    .benefits .card-info::before {
        left: 8px;
        right: 8px;
    }

    .benefits .card {
        min-height: 100px;
    }

    /* courses */

    .courses .title {
        font-size: 24px;
        line-height: 30px;
    }

    .courses .cards-wrapper {
        /* grid-template-columns: 1fr; */
        gap: 15px;
        margin-bottom: 25px;
    }

    .courses .card {
        max-height: 350px;
        aspect-ratio: 1 / 1.2;
    }

    .courses .info-title {
        font-size: 14px;
        line-height: 18px;
        padding: 8px 12px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .courses .card-hover {
        padding: 12px;
    }

    .courses .hover-title {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .courses .hover-details {
        margin-bottom: 20px;
    }

    .courses .detail-item {
        padding: 6px 0;
    }

    .courses .detail-label {
        font-size: 12px;
    }

    .courses .detail-value {
        font-size: 14px;
    }

    .courses .btn {
        padding: 10px 20px;
        font-size: 13px;
    }

    /* teacher */

    .teachers .title {
        font-size: 24px;
        line-height: 30px;
    }

    .teachers .item .num {
        font-size: 36px;
        line-height: 43px;
    }

    .teachers .item .subtitle {
        font-size: 12px;
        line-height: 15px;
    }

    .teachers .name {
        font-size: 15px;
        line-height: 18px;
    }

    .teachers .description {
        font-size: 12px;
        line-height: 15px;
    }

    .teachers .img-wrapper {
        min-height: 250px;
        max-height: 300px;
    }

    .teachers-content-wrapper {
        gap: 25px;
    }

    /* form-section */

    .form-section-wrapper {
        max-height: 300px;
        min-height: 180px;
    }

    .form-section .info-container {
        max-width: 350px;
        width: 90%;
        padding: 20px 15px;
        margin: 10px;
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .form-section .info-container .title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 15px;
    }

    .form-section .heading {
        margin-bottom: 10px;
    }

    .form-section .btn {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 220px;
    }


    /* faq */

    .faq-wrapper-container {
        margin: 20px 0;
        gap: 3px;
    }

    .faq-card {
        padding: 12px 0;
        flex-wrap: wrap;
        gap: 5px;
    }

    .faq .num {
        font-size: 14px;
        line-height: 18px;
        min-width: 25px;
        margin-right: 10px;
        margin-top: 2px;
    }

    .faq-card .content-wrapper {
        width: calc(100% - 50px);
        margin-right: 0;
        order: 2;
        margin-top: 8px;
        width: 100%;
    }

    .faq .question {
        font-size: 15px;
        line-height: 19px;
        font-weight: 600;
    }

    .faq .answer {
        font-size: 13px;
        line-height: 1.5;
    }

    .faq-card.active .answer {
        margin-top: 8px;
        padding-top: 8px;
    }

    .faq .answer p {
        margin-bottom: 8px;
    }

    .faq .answer ul {
        margin-bottom: 8px;
        padding-left: 15px;
    }

    .faq .answer li {
        margin-bottom: 4px;
        font-size: 13px;
    }

    .faq-card .arrow-btn {
        order: 1;
        margin-left: auto;
        width: 26px;
        height: 27px;
    }

    .faq-card .arrow-btn svg {
        width: 24px;
        height: 25px;
    }

    .faq .btn-wrapper {
        margin-top: 15px;
    }

    .faq .btn-underline {
        font-size: 14px;
    }

    /* form-footer */
    .form-footer .left-column {
        height: 200px;
    }

    /* contacts */

    .contacts .main-info {
        gap: 15px;
    }

    .contacts .column li {
        margin-bottom: 8px;
    }

    .contacts .column ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    /* footer */

    .footer .row-wrapper {
        gap: 15px;
    }

    .footer .row ul {
        gap: 12px;
    }

    .footer .heading {
        margin-bottom: 12px;
    }

    .footer .row:first-child ul {
        padding-bottom: 15px;
        margin-bottom: 3px;
    }
	
	.course_banner .second-column {
        height: 250px;
    }
    
    .course_banner .course_banner_wrapper {
        padding: 15px;
    }
	
	.benifits_course_wrapper .card .title {
        font-size: 18px;
    }
    
    .benifits_course_wrapper .card .subtitle {
        font-size: 13px;
    }
	
	.policy .title {
        font-size: 26px;
    }
	
	.policy h2 {
		font-size: 20px !important;
		line-height: 26px !important;
	}
	
	.cookie-consent button {
		width: 100%;
		padding: 10px;
		font-size: 14px;
	  }
	  
	  .cookie-consent {
		left: 10px;
		bottom: 10px;
		padding: 15px;
		font-size: 13px;
		width: calc(100% - 20px);
		max-width: none;
	  }
	
}


@media (max-width: 400px) {
    .form-footer .left-column {
        display: none;
    }

    .teachers .item .subtitle {
        max-width: 120px;
    }
}


@media (max-width: 374px) {
    .left-section h1 {
        font-size: 22px;
        line-height: 26px;
    }

    .left-section .card {
        flex-wrap: wrap;
    }

    .info-card {
        width: 100%;
        margin-bottom: 10px;
    }

    .arrow-btn {
        align-self: flex-end;
    }

    /* benefits */
    .benefits .card-title {
        font-size: 18px;
        line-height: 24px;
    }

    .benefits .card-info {
        font-size: 12px;
        line-height: 15px;
    }

    .benefits .card {
        min-height: 90px;
    }

    /* courses */

    .courses .title {
        font-size: 22px;
        line-height: 28px;
    }

    .courses .card {
        max-height: 300px;
    }

    .courses .info-title {
        font-size: 13px;
        line-height: 16px;
        padding: 6px 10px;
    }

    .courses .hover-title {
        font-size: 16px;
    }

    .courses .detail-label {
        font-size: 11px;
    }

    .courses .detail-value {
        font-size: 13px;
    }

    .teachers .title {
        font-size: 22px;
        line-height: 28px;
    }

    .teachers .item .num {
        font-size: 32px;
        line-height: 38px;
    }

    .teachers .name {
        font-size: 14px;
        line-height: 17px;
    }

    .teachers .description {
        font-size: 11px;
        line-height: 14px;
    }

    .teachers .img-wrapper {
        min-height: 220px;
        max-height: 280px;
    }



    /* form-section */

    .form-section-wrapper {
        max-height: 280px;
        min-height: 160px;
    }

    .form-section .info-container {
        max-width: 300px;
        width: 95%;
        padding: 15px 12px;
        margin: 8px;
    }

    .form-section .info-container .title {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 12px;
    }

    .form-section .heading {
        margin-bottom: 8px;
    }

    .form-section .btn {
        padding: 9px 18px;
        font-size: 13px;
        max-width: 200px;
    }

    /* faq */

    .faq-card {
        padding: 10px 0;
    }

    .faq .num {
        font-size: 13px;
        line-height: 16px;
        min-width: 22px;
        margin-right: 8px;
    }

    .faq .question {
        font-size: 14px;
        line-height: 18px;
    }

    .faq .answer {
        font-size: 12px;
        line-height: 1.4;
    }

    .faq-card .content-wrapper {
        margin-top: 6px;
    }

    .faq-card.active .answer {
        margin-top: 6px;
        padding-top: 6px;
    }

    .faq .answer p {
        margin-bottom: 6px;
    }

    .faq .answer li {
        font-size: 12px;
    }

    .faq-card .arrow-btn {
        width: 24px;
        height: 25px;
    }

    .faq-card .arrow-btn svg {
        width: 22px;
        height: 23px;
    }

    /* form-footer */

    .form-footer .right-column {
        padding: 15px 12px;
    }

    .form-footer .title {
        font-size: 20px;
        line-height: 26px;
        margin-bottom: 12px;
    }

    .form__label input {
        padding: 8px 10px;
        font-size: 13px;
    }

    .form-footer .btn {
        padding: 9px 18px;
        font-size: 13px;
        max-width: 220px;
    }

    .politican {
        font-size: 11px;
        line-height: 14px;
    }

    /* contacts */

    .contacts .main-info {
        gap: 12px;
    }

    .contacts .heading {
        margin-bottom: 10px;
    }

    .contacts .column {
        font-size: 12px;
        line-height: 1.3;
    }

    .contacts .column li {
        margin-bottom: 6px;
    }

    .contacts .column ul {
        gap: 6px;
    }

    /* footer */

    .footer .row-wrapper {
        gap: 12px;
    }

    .footer .row ul {
        gap: 10px;
    }

    .footer .heading {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .footer .row:first-child ul {
        padding-bottom: 12px;
    }


}