html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {

}

ol, ul { list-style: none; }

input { outline: none; }
input[type="text"], input[type="password"], textarea {
    padding: 0;
}
input[type="checkbox"] {
    vertical-align: bottom;
}
input[type="radio"] {
    vertical-align: text-bottom;
}

a { text-decoration: none;
    color: #000;
    transition: 0.3s ease;
}
a:hover {
    color:#b4321e;
}
p {
    line-height: 1.2;
}
input {
    padding: 16px!important;
}
textarea {
    min-height: 135px!important;
}

@font-face {
    font-family: 'TTSevers';
    src: url('../fonts/TTSevers-Light.woff2') format('woff2');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: 'TTSevers';
    src: url('../fonts/TTSevers-Regular.woff2') format('woff2');
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: 'TTSevers';
    src: url('../fonts/TTSevers-Medium.woff2') format('woff2');
    font-weight: 500; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'TTSevers';
    src: url('../fonts/TTSevers-Bold.woff2') format('woff2');
    font-weight: 700; /* Bold */
    font-style: normal;
}

@font-face {
    font-family: 'Caveat';
    src: url('../fonts/Caveat-Regular.ttf') format('woff2');
    font-weight: 400; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'Caveat';
    src: url('../fonts/Caveat-Bold.ttf') format('woff2');
    font-weight: 700; /* Medium */
    font-style: normal;
}

@font-face {
    font-family: 'Caveat';
    src: url('../fonts/Caveat-SemiBold.ttf') format('woff2');
    font-weight: 500; /* Medium */
    font-style: normal;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    font-family: 'TTSevers', sans-serif;
}

section {
    -webkit-box-shadow: 0px -11px 30px 0px rgba(34, 60, 80, 0.09);
    -moz-box-shadow: 0px -11px 30px 0px rgba(34, 60, 80, 0.09);
    box-shadow: 0px -11px 30px 0px rgba(34, 60, 80, 0.09);
}

h1 .banner-font {
    font-family: 'Caveat', sans-serif;
    font-weight: 700;
}

h2 {
    font-weight: bold;
    font-size: 42px;
}
h3 {
    color: #b4321e;
}
p {
    font-size: 21px;
}
li {
    font-size: 21px;
    position: relative;
}
li::before {
    content: "";
    position: absolute;
    left: -27px;
    top: 40%;
    transform: translateY(-50%);
    width: 13px;
    height: 13px;
    border: 2px solid #b4321e;
    border-radius: 50%;
    background-color: transparent;
}
.nav-item::before {
    display:none;
}
.dropdown-menu li::before {
    display:none;
}
footer {
    -webkit-box-shadow: 0px -11px 30px 0px rgba(34, 60, 80, 0.09);
    -moz-box-shadow: 0px -11px 30px 0px rgba(34, 60, 80, 0.09);
    box-shadow: 0px -11px 30px 0px rgba(34, 60, 80, 0.09);
}
.title-form {
    font-size: 23px;
    font-weight: bold;
    color: #b4321e;
}
.lang-dropdown {
    display: none;
    position: absolute;
    background: white;
    border: 2px solid #b4321e;
    padding: 5px;
    list-style: none;
    min-width: 100px;
    z-index: 10;
    border-radius: 20px;
    text-align:center;
    right: 12px;
    padding-top: 8px;
}

.lang-container {
    position: relative;
    display: inline-block;
}

.lang-container:hover .lang-dropdown {
    display: block;
}
.dropdown-item {
    font-size: 17px;
}
.nav-link {
    font-size: 16px;
}
.b-h1 {
    font-size: 75px;
}
.b-h2 {
    font-size: 55px;
    font-weight: bold;
}
.b-p {
    font-size: 23px;
    text-align: center;
}
.b-banner-title {
    font-size: 81px;
    line-height: 0.8;
    font-weight: bold;
    position: relative;
    right: -30px;
}

.b-banner-title:before {
    content: '';
    display: block;
    width: 140px;
    height: 100px;
    background-image: url(../img/banner-item3.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: -104px;
    top: -32px;
}

.b-banner-item2 {
    position: absolute;
    max-width: 128px;
    bottom: -55px;
    right: 54px;
}

.b-banner-item3 {
    width: 53px;
    position: absolute;
    top: -3px;
    left: 10px;
}

.b-banner-item4 {
    width: 88px;
    position: absolute;
    left: 115px;
    bottom: -85px;
}

.b-btn {
    border: 3px solid #b4321e;
    line-height: 0;
    padding: 15px 25px 15px 25px;
    border-radius: 34px;
    color: #b4321e;
    font-weight: bold;
    transition: 0.3s ease;
    font-size: 22px;
}

.b-btn:hover {
    background: #b4321e;
    color: #fff;
}

.b-btn-card {
    border: 3px solid #b4321e;
    line-height: 0;
    padding: 19px 45px 17px 45px;
    font-size: 20px;
    border-radius: 34px;
    color: #b4321e;
    font-weight: bold;
    transition: 0.3s ease;
}

.b-btn-card:hover {
    background: #b4321e;
    color: #fff;
}

.b-form-btn {
    border: 3px solid #b4321e;
    line-height: 0;
    padding: 25px 20px 23px 20px;
    border-radius: 34px;
    color: #b4321e;
    font-weight: bold;
    transition: 0.3s ease;
    background: #fff;
    font-size: 21px;
}

.b-form-btn:hover {
    background: #b4321e;
    color: #fff;
}
.b-menu-area {
    background: #fff;
}

.logo {
    max-width: 90px;
}

.b-menu-btn {
    border: 3px solid #b4321e;
    line-height: 0;
    padding: 21px 23px 17px 23px;
    border-radius: 34px;
    color: #b4321e;
    font-weight: bold;
    transition: 0.3s ease;
    font-size: 16px;
}
.b-menu-btn:hover {
    background: #b4321e;
    color: #fff;
}

.lang-link {
    font-weight: bold;
    font-size: 21px;
    color: #212121;
}

.banner-img {
    width: 455px;

}

.section-padding {
    padding-top: 80px;
    padding-bottom: 80px;
}

.section-padding-bottom {
    padding-bottom: 140px;
}

.axial-tilt-block {
    position: relative;
}

.axial-tilt-p {
    font-family: 'Caveat', sans-serif;
    transform: rotateZ(-4deg);
    line-height: 1.2;
    font-size: 38px;
}

.b-h1-programs {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-weight: bold;
}
.b-h1-edu {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    font-weight: bold;
}
.b-h1-programs::after {
    content: '';
    display: block;
    width: 129px;
    height: 91px;
    background-image: url(../img/book.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: -144px;
    top: 9px;
}

.b-h1-programs::before {
    content: '';
    display: block;
    width: 140px;
    height: 100px;
    background-image: url(../img/banner-item3.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    left: -104px;
    top: 0px;
}

.b-h3 {
    font-size: 22px;
    font-weight: bold;
}
.b-icon {
    width: 43px;
}

.animated-text {
    opacity: 0;
    transform: translateY(30px); /* Смещение вниз */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.axial-tilt-p.animated-text {
    opacity: 0;
    transform: translateY(30px); /* Смещение вниз */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Добавляем плавное появление */
.animated-text.visible {
    opacity: 1;
    transform: translateY(0);
}
.axial-tilt-p.animated-text.visible {
    opacity: 1;
    transform: rotateZ(-4deg);
}


/* Классы с разными эффектами */
.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 1;
    transform: scale(1);
}

.blur-in {
    opacity: 1;
    filter: blur(0);
}

/* Начальные стили для отдельных анимаций */
.animated-text.slide-in-left {
    transform: translateX(-50px);
}

.animated-text.slide-in-right {
    transform: translateX(50px);
}

.animated-text.zoom-in {
    transform: scale(0.5);
}

.animated-text.blur-in {
    filter: blur(10px);
}

/* Начальное состояние полей */
.animated-input {
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* Левые поля уезжают влево */
.from-left {
    transform: translateX(-50px);
}

/* Правые поля уезжают вправо */
.from-right {
    transform: translateX(50px);
}

/* Поле textarea уезжает вниз */
.from-bottom {
    transform: translateY(50px);
}

/* Кнопка уезжает вниз */
.from-bottom-btn {
    transform: translateY(30px);
}

/* Иконки уезжают влево */
.from-left-icons {
    transform: translateX(-40px);
}

/* Активное состояние (когда элемент виден) */
.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
}


/* Начальное состояние: кнопки и ссылки уезжают вправо */
.animated-button,
.animated-link {
    opacity: 0;
    transform: translateX(50px); /* Сдвигаем вправо */
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

/* Когда элемент становится видимым */
.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-image {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 1s ease-out, opacity 1s ease-out;
}
.slide-image.active {
    opacity: 1;
    transform: translateX(0);
}
.card-program-text {
    margin-bottom: 130px;
    font-size: 23px;
}
.card-wrap {
    padding: 0 50px;
}

.contacts-social-link a{
    display: inline-flex;
    justify-content: center;
    margin-top: 15px;
    border: 2px solid;
    padding: 6px 19px 4px 19px;
    border-radius: 17px;
    font-weight: bold;
    color: #000;
    transition: 0.5s ease;
}
.contacts-social-link a:hover {
    color: #fff;
    background: #000;
}
.swiper-wrapper{
    align-items: stretch;    
}
.swiper-slide {
    height: auto!important;
}
.swiper-slide a {
    color:#000;
    transition: 0.5s ease;
}
.swiper-slide:hover a {
    color: #b4321e;
}

.filter-fields-wrapper {
    display: flex;
    align-items: center;
}
.educate-btn {
    border: 3px solid #b4321e;
    line-height: 0;
    padding: 20px 20px 18px 20px;
    border-radius: 34px;
    color: #fff;
    font-weight: bold;
    transition: 0.3s ease;
    background: #b4321e;
    font-size: 18px;
}
.educate-btn:hover {
    background: #fff;
    color: #b4321e;
}
.specialty-item {
    border: 2px solid #b4321e;
    border-radius: 30px;
    padding: 20px;
    font-weight: bold;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(10px);
    background: #f1f1f1;
}
.specialty-item-img {
    background: #b4321e;
    padding: 9px;
    width: 47px;
    display: block;
    border-radius: 12px;
    margin-bottom: 15px; 
}
.arrow-item-right {
    background: #b4321e;
    width: 27px;
    padding: 10px 4px;
    border-radius: 50%;
    transition: transform 0.5s ease-in-out;
}
.arrow-item-right:hover {
    transform: rotate(360deg);
}
.spec-prog-img {
    border: 2px solid #b4321e;
    border-radius: 50px;
}

.comparison-table {
    display: table;
    text-align: center;
    background: #e3e3e3;
    padding: 35px; 
    border-radius: 40px;
    align-self: center;
    padding-bottom: 0;
}

/* Ячейки */
.cell {
    width: 150px;
    padding: 50px 20px;
    font-size: 18px;
    color: #b4321e;
    text-align: center;
    font-weight: bold;
}

/* Горизонтальная линия посередине (только у первой строки) */
.row:first-child .cell {
    border-bottom: 1px solid #b4321e;
}
   
/* Вертикальная линия посередине (у каждой ячейки кроме последней) */
.cell:not(:last-child) {
    border-right: 1px solid #b4321e;
}

/* Увеличенный крестик */
.cross {
    font-size: 24px;
    font-weight: bold;
    color: #b4321e;
}

.duration-field {
    border: 2px solid #b4321e;
    padding: 25px;
    border-radius: 20px;
}
.content-field-program {
    padding: 20px;
    border: 2px solid #b4321e;
    border-radius: 54px;
}
@media (max-width: 1399px) {
    .card-wrap {
        padding: 0;
    }
}
@media(max-width: 991px) {
    .b-h1 {
        font-size: 55px;
    }
    .banner-subtitle {
        font-size: 21px;
    }
    .axial-tilt-p {
        font-size: 29px;
    }
    .card-program-text {
        text-align: center;
        margin-bottom: 30px;
        font-size: 27px;
    }
    .cards-product {
        margin-bottom: 40px;
    }
    .card-wrap {
        padding: 0;
    }
}
.footer-icon {
    background: #b4321e;
    border-radius: 12px;
    padding: 16px 3px;
    transition: 0.5s ease;
}
.footer-icon:hover {
    background: #000;
}
.footer-icon img {
    padding: 10px;
    filter: invert(1);
    max-width: 48px;
}
@media(max-width: 707px) {
    .hand-item-element {
        display: none;
    }
}
@media (max-width: 576px) {
    .logo {
        max-width: 81px;
    }
}
@media(max-width: 515px) {
    .b-banner-title {
        right: unset;
        font-size: 52px;
    }
    .b-banner-item3 {
        display: none;
    }
    .hand-item-element {
        display: none;
    }
}