@font-face {
    font-family: Montserrat-Regular;
    src: url(static/fonts/Montserrat-Regular.ttf);
}


@font-face {
    font-family: Montserrat-Medium;
    src: url(static/fonts/Montserrat-Medium.ttf);
}

p, h1, h2, h3, h4, h5 {

    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat-Regular', sans-serif;

}

.full {
    background-color: #F5F5F5;
    /*padding-bottom: 30px;*/
}

.block {
    max-width: 1400px;
    margin: 0 auto;
}

.first-block-container {
    /*background-image: url("/static/imgs/bck_testant.png");*/
    /*background-size: cover;*/
    /*background-repeat: no-repeat;*/
    /*background-position: -100px center;*/
    /*padding-top: 40px;*/
}

.navbar__block {
    background: white;
    padding: 20px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}


.testant-icon {
    width: 160px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item-left, .item-right {
    animation: fadeIn 0.8s ease-in-out forwards;
}

.nav-text-details {
    animation: fadeIn 1.3s ease-in-out forwards;
}

.item-left {
    cursor: pointer;
    display: flex;
    gap: 66px;
    align-items: center;
    font-size: 19px;
}

.item-left span {
    transition: color 0.3s ease, transform 0.3s ease;
}

.item-left span:hover {
    color: #DA764B;
    transform: translateY(-3px);
}

.item-left a {
    text-decoration: none;
    color: black;
    transition: color 0.3s ease, transform 0.3s ease;
}

.item-left a:hover {
    color: #DA764B;
    transform: translateY(-3px);
}


.item-right {
    display: flex;
    gap: 15px;
    align-items: center;
}

.button {
    font-size: 19px;
    border-radius: 12px;
    width: fit-content;
    padding: 10px 25px;
    font-weight: 300;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.grey {
    background-color: #F0F0F0;
}

.black {
    color: white;
    background-color: #212121;
}

.blue {
    color: white;
    background-color: #4BA2DA;
}

.button:hover {
    transform: scale(1.05);
}

.grey:hover {
    background-color: #e0e0e0;
}

.blue:hover {
    background-color: #3a92c8;
}

.nav-text {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-text-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-text-details h1 {
    width: 100%;
    max-width: 1100px;
    font-size: 65px;
    font-weight: 400;
    text-align: center;
    margin: 0 auto;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(90deg, #FFAA33, #E8AA59, #9184F7, #4BA2DA, #FF33AA);
    -webkit-background-clip: text;
    background-size: 500%;
    -webkit-text-fill-color: transparent;
    display: inline;
    animation: gradientAnimation 4s infinite ease-in-out;
}

.testant-button {
    background-color: #FBF1E3;
    border: 1px solid #E8AA59;
    color: #E8AA59;
    border-radius: 30px;
    padding: 1px 15px;
    font-size: 21px;
}

.testant-text {
    margin-top: 40px;
    text-align: center;
    width: fit-content;
    font-size: 19px;
    font-weight: 400;
}

.testant-test-button {
    margin-top: 25px;
    border-radius: 15px;
    padding: 10px 25px;
    color: white;
    font-size: 19px;
    background-color: rgba(75, 162, 218, 0.9);
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.testant-test-button:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(75, 162, 218, 0.7);
}


.card-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    align-items: end;
}

.card {
    flex: 1 1 calc(25% - 20px);
    min-width: 207px;
    max-width: 280px;
    height: 440px;
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    padding: 31px;
    text-align: end;
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.card.visible-card {
    opacity: 1;
    transform: translateY(0);
}

.purple {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 440px;
    background: #9184F7;
    background-size: 80%;
    background-image: url('/static/imgs/first_card.png');
    background-position: bottom right;
    background-repeat: no-repeat;
}

.purple h2 {
    text-align: left;
    font-size: 67px;
}

.purple p {
    width: 189px;
    font-size: 25px;
    text-align: left;
}

.light-purple {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 328px;
    background: #B2A8FF;
    background-size: 80%;
    background-image: url('/assets/img/second_card.png');
    background-position: bottom right;
    background-repeat: no-repeat;
}

.light-purple h2 {
    text-align: left;
    font-size: 67px;
}

.light-purple p {
    width: 289px;
    font-size: 25px;
    text-align: left;
}

.orange {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 250px;
    background: #E8AA59;
}

.orange h2 {
    font-size: 67px;
}

.orange p {
    width: 289px;
    font-size: 25px;
    text-align: center;
}

.light-blue {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 328px;
    background: #4BA2DA;
    background-size: 90%;
    background-image: url('/assets/img/third_card.png');
    background-position: bottom right;
    background-repeat: no-repeat;
}

.light-blue h2 {
    font-size: 67px;
}

.light-blue p {
    width: 173px;
    font-size: 25px;
    text-align: left;
    margin-bottom: 35px;
}

.quote {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #4BA2DA;
    padding: 31px;
}

.quote-text {
    width: 218px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
    text-align: left;
    font-size: 25px;
}

.author-text {
    display: flex;
    gap: 10px;
    flex-direction: column;
    width: 100%;
}

.author {
    text-align: left;
    font-size: 19px;
}

.line {
    height: 1px;
    background-color: white;
    width: 100%;
}

.avatars {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
}

.record-container {
    display: flex;
    margin-top: 30px;
    gap: 20px;
}

.records-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

.records-card {
    width: 100%;
    padding: 18px;
    border-radius: 25px;
    background-color: #1D1D42;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.records-card.visible-card {
    opacity: 1;
    transform: translateY(0);
}


.first-record {
    background: #F0EEFF;
}

.second-record {
    background: #E8F3FA;
}

.third-record {
    background: #E8F3FA;
}

.fourth-record {
    background: #E8F3FA;
}

.records-card h2 {
    padding: 0;
    margin: 0;
    color: black;
    font-weight: normal;
    font-size: 24px;
}

.records-card h1 {
    padding: 0;
    margin: 0;
    margin-top: 10px;
    font-weight: bold;
    font-size: 45px
}

.record-user {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: white;
    border-radius: 15px;
    margin-top: 15px;
    padding: 15px;
}

.username {
    display: flex;
    flex-direction: column;
}

.username-name {
    font-size: 18px;
    font-weight: normal;
}

.username-subject {
    font-size: 18px;
    font-weight: normal;
    color: #B5B5B5;
}

.photo {
    border-radius: 50%;
    background-color: orange;
    padding: 10px;
}

.school-container {
    margin-top: 40px;
}

.school-container h1 {
    margin: 0 0 30px 0;
    animation: fadeIn 1s ease-in-out;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
}

.school-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 23px;
}

.school-card {
    border-radius: 40px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    height: 626px;
    animation: fadeIn 1s ease-in-out;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease, transform 1s ease;
}

.school-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.school-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 7px rgba(0, 0, 0, 0.10);
}

.school-card h1 {
    width: 400px;
    font-size: 31px;
    margin-top: auto;
    text-align: left;
}

.first {
    background-image: url('/static/imgs/first_school_card.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

.second {
    background-image: url('/static/imgs/second_school_card.svg.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

.second h1 {
    color: white;
    width: 400px;
}

.third {
    background-image: url('/static/imgs/third_school_card.svg.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

.test-card {
    border-radius: 40px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    height: 626px;
    animation: fadeIn 1s ease-in-out;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
}

/*.test-card.visible {*/
/*    opacity: 1;*/
/*    transform: translateY(0);*/
/*}*/

.test-card:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 7px rgba(0, 0, 0, 0.10);
}

.test-card h1 {
    width: 460px;
    font-size: 35px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.test-card span {
    width: 430px;
    font-weight: normal;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 23px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.fisrt-test {
    background-image: url('/static/imgs/first_test_type.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

.second-test {
    background-image: url('/static/imgs/second_test_type.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

.third-test {
    background-image: url('/static/imgs/third_test_type.svg');
    background-size: cover;
    background-repeat: no-repeat;
}

.send {
    margin-top: 45px;
    display: flex;
    justify-content: center;
}

.send button {
    border-radius: 15px;
    font-size: 21px;
    padding: 10px 25px;
    border: none;
    background-color: #915FFE;
    color: white;
}

.send-test {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.send-test button {
    border-radius: 15px;
    font-size: 21px;
    padding: 15px 30px;
    border: none;
    background-color: #4BA2DA;
    color: white;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 9999;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
}

.burger-menu .hidden {
    display: none;
}

.burger-menu .rotate {
    transform: rotate(45deg);
    position: relative;
    background-color: white;
    top: 0;
}

.burger-menu .rotate-reverse {
    transform: rotate(-45deg);
    background-color: white;
    position: relative;
    bottom: 8px;
}

.nav-items {
    display: none;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.nav-items.hidden {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-block {
    margin-top: 30px;
    padding: 0 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: minmax(300px, 1.4fr) repeat(2, minmax(220px, 1fr));
    gap: 36px;
    color: white;
    background-color: #212121;
    border-radius: 32px;
    padding: 42px 44px;
}

.footer-container img {
    width: 178px;
    height: auto;
}

.footer-container b {
    display: block;
    font-size: 24px;
    margin-bottom: 18px;
}

.footer-container p {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 10px;
}

.footer-container a {
    color: #FFE2D6;
    transition: color 0.3s ease;
}

.footer-container .navigation a {
    text-decoration: none;
    color: white;
}

.footer-container .navigation a:hover,
.footer-container a:hover {
    color: #DA764B;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.footer-brand__text {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.72);
}

.footer-brand__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 14px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-brand__button:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.footer-brand__button.black:hover {
    color: white;
}

.footer-column {
    min-width: 0;
}

.footer-container .contacts {
    max-width: 280px;
}


.no-scroll {
    overflow: hidden;
    height: 100vh;
}

.slider-wrapper {
    margin-top: 35px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    animation: fadeIn 1.3s ease-in-out forwards;
}

.slider-inner {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.slider-slide {
    min-width: 100%;
    display: block;
}

.slide-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 45px;
    aspect-ratio: 902 / 247;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: black;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 2;
    border-radius: 50%;
}

.slider-arrow.left {
    left: 15px;
}

.slider-arrow.right {
    right: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 2;
}

.dot {
    width: 10px;
    height: 10px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

.news-content {
    margin-top: 20px;
}


.categories__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding: 8px;
    animation: fadeIn 1s ease-in-out;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
}

.category__card {
    min-height: 230px;
    padding: 22px 12px 12px;
    background: #ffffff;
    border-radius: 22px;

    display: flex;
    flex-direction: column;
    align-items: center;

    animation: fadeIn 1s ease-in-out;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
}

.category__image {
    width: 144px;
    height: 144px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;
}

.category__image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.category__title {
    margin: 0;
    margin-bottom: 14px;

    color: #212121;

    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.category__button {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    width: 100%;
    min-height: 42px;
    margin-top: auto;

    border: none;
    border-radius: 12px;

    background: #FFE2D6;
    color: #DA764B;

    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;

    transition: background 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

.category__button:hover {
    background: #ffd6c7;
    transform: translateY(-1px);
}

.category__button:active {
    transform: translateY(0);
    box-shadow: none;
}

.category__button:focus-visible {
    outline: 3px solid rgba(218, 118, 75, 0.28);
    outline-offset: 3px;
}


.result__container {
    min-height: 292px;
    padding: 36px 20px 30px;

    background: #ffffff;
    border-radius: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    animation: fadeIn 1s ease-in-out;
    opacity: 1;
    transition: opacity 1s ease, transform 1s ease;
}

.result__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.result__empty-img {
    width: 150px;
    height: auto;
    object-fit: contain;
    display: block;

    margin-bottom: 20px;
}

.result__empty-title {
    margin: 0 0 20px;

    color: #212121;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.result__button {
    width: 222px;
    min-height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: #FFE2D6;
    color: #DA764B;

    font-size: 17px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;

    cursor: pointer;

    transition: background 0.5s ease, transform 0.5s ease
}

.result__button:hover {
    background: #ffd6c7;
    transform: translateY(-1px);
}

.result__button:active {
    transform: translateY(0);
}

.result__button:focus-visible {
    outline: 3px solid rgba(218, 118, 75, 0.28);
    outline-offset: 3px;
}

.platform-stage {
    display: grid;
    grid-template-columns: minmax(320px, 1.1fr) minmax(420px, 1.4fr);
    gap: 18px;
    animation: fadeIn 1s ease-in-out;
}

.platform-stage__intro,
.platform-stage__card,
.student-flow {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
}

.platform-stage__intro {
    min-height: 100%;
    padding: 34px 34px 38px;
    background: linear-gradient(180deg, #ffffff 0%, #fff5f0 100%);
}

.platform-stage__intro::after {
    content: "";
    position: absolute;
    right: -36px;
    bottom: -36px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 226, 214, 0.88);
}

.platform-stage__eyebrow,
.student-flow__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    background: #FFE2D6;
    color: #DA764B;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.platform-stage__title {
    position: relative;
    z-index: 1;
    margin: 18px 0 16px;
    color: #212121;
    font-size: 42px;
    line-height: 1.1;
}

.platform-stage__text {
    position: relative;
    z-index: 1;
    max-width: 460px;
    margin: 0;
    color: #5D5D5D;
    font-size: 18px;
    line-height: 1.6;
}

.platform-stage__board {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: minmax(190px, auto) minmax(160px, auto);
    gap: 18px;
}

.platform-stage__card {
    padding: 28px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.platform-stage__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(33, 33, 33, 0.08);
}

.platform-stage__card--hero {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
    background: #212121;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.platform-stage__card--hero::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 24px;
    width: 120px;
    height: 120px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 226, 214, 0.2), rgba(255, 255, 255, 0.06));
    transform: rotate(12deg);
}

.platform-stage__card--dark {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
    background: linear-gradient(135deg, #FFE2D6 0%, #ffd5c5 100%);
    color: #DA764B;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    border: 1px solid rgba(218, 118, 75, 0.12);
}

.platform-stage__card--dark::before {
    content: "";
    position: absolute;
    right: -18px;
    top: -20px;
    width: 118px;
    height: 118px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.24);
    transform: rotate(18deg);
}

.platform-stage__badge,
.platform-stage__metric-wrap,
.platform-stage__metric-text,
.platform-stage__metric-bar {
    position: relative;
    z-index: 1;
}

.platform-stage__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.66);
    color: #9f5737;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.platform-stage__metric-wrap {
    display: flex;
    align-items: flex-start;
    gap: 4px;
}

.platform-stage__card--soft {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
    background: #ffffff;
    border: 1px solid rgba(33, 33, 33, 0.06);
}

.platform-stage__chip {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #FFE2D6;
    margin-bottom: auto;
}

.platform-stage__card-title {
    position: relative;
    z-index: 1;
    margin: 18px 0 14px;
    font-size: 30px;
    line-height: 1.15;
}

.platform-stage__card-text {
    position: relative;
    z-index: 1;
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.55;
}

.platform-stage__metric {
    font-size: 58px;
    font-weight: 700;
    line-height: 1;
}

.platform-stage__metric-plus {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-top: 6px;
}

.platform-stage__metric-text {
    max-width: 180px;
    margin: 12px 0 18px;
    color: #212121;
    font-size: 18px;
    line-height: 1.4;
}

.platform-stage__metric-bar {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    margin-top: auto;
}

.platform-stage__metric-bar span {
    display: block;
    width: 10px;
    border-radius: 999px;
    background: rgba(218, 118, 75, 0.72);
}

.platform-stage__metric-bar span:nth-child(1) {
    height: 16px;
}

.platform-stage__metric-bar span:nth-child(2) {
    height: 26px;
}

.platform-stage__metric-bar span:nth-child(3) {
    height: 38px;
}

.platform-stage__list-title {
    display: block;
    margin-bottom: 18px;
    color: #212121;
    font-size: 20px;
    font-weight: 700;
}

.platform-stage__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.platform-stage__list li {
    position: relative;
    padding-left: 20px;
    color: #5D5D5D;
    font-size: 17px;
    line-height: 1.45;
}

.platform-stage__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DA764B;
}

.student-flow {
    padding: 34px;
    background: linear-gradient(180deg, #fff7f3 0%, #ffffff 100%);
    animation: fadeIn 1s ease-in-out;
}

.student-flow::before {
    content: "";
    position: absolute;
    left: 34px;
    right: 34px;
    top: 148px;
    height: 1px;
    background: linear-gradient(90deg, rgba(218, 118, 75, 0.14), rgba(218, 118, 75, 0.42), rgba(218, 118, 75, 0.14));
}

.student-flow__header {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.student-flow__title {
    margin: 18px 0 0;
    color: #212121;
    font-size: 38px;
    line-height: 1.15;
}

.student-flow__track {
    position: relative;
    z-index: 1;
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.student-flow__step {
    min-height: 210px;
    padding: 24px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid rgba(33, 33, 33, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.student-flow__step:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(33, 33, 33, 0.08);
}

.student-flow__step--accent {
    background: #212121;
    color: #ffffff;
}

.student-flow__step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 48px;
    padding: 0 14px;
    border-radius: 999px;
    background: #FFE2D6;
    color: #DA764B;
    font-size: 17px;
    font-weight: 700;
}

.student-flow__step--accent .student-flow__step-number {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.student-flow__step-title {
    margin: 18px 0 12px;
    font-size: 28px;
    line-height: 1.15;
}

.student-flow__step-text {
    margin: 0;
    color: #5D5D5D;
    font-size: 17px;
    line-height: 1.55;
}

.student-flow__step--accent .student-flow__step-text {
    color: rgba(255, 255, 255, 0.82);
}

.student-flow__actions {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.student-flow__button {
    min-height: 46px;
    padding: 12px 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 17px;
    font-weight: 600;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.student-flow__button:hover {
    transform: translateY(-1px);
}

.student-flow__button--light {
    background: #FFE2D6;
    color: #DA764B;
}

.student-flow__button--light:hover {
    background: #ffd6c7;
}


.news-container {
    margin-top: 20px;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-container a {
    text-decoration: none;
}

.news {
    flex: 0 1 calc(100% / 3 - 20px);
    height: auto;
    display: flex;
    flex-direction: column;
    background: #F5F5F5;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    padding: 5px;
    transition: transform 0.2s ease;
}

.news-page {
    animation: fadeIn 1s ease-in-out;
}

.news:hover {
    transform: translateY(-5px);
}

.news-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    aspect-ratio: 547/ 293;
    border-radius: 10px;
    overflow: hidden;
    background-color: #e0e0e0;
    flex-shrink: 0;
}

.news-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.news-text h4 {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #111;
    text-align: justify;
    word-wrap: break-word;
    flex-shrink: 0;
}

.news-text p {
    font-size: 14px;
    color: #A2A2A2;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}

.news-link {
    text-decoration: none;
}

.hidden-news {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}


@media (max-width: 1200px) {
    /*.full {*/
    /*    padding: 0 35px;*/
    /*}*/

    .card-container {
        display: flex;
        gap: 5px;
    }

    .quote-text {
        width: 180px;
        gap: 5px;
    }

    .quote-text p {
        font-size: 17px;
    }

    .test-card h1 {
        width: 300px;
    }

    .card h2 {
        font-size: 48px;
    }

    .card p {
        font-size: 20px;
    }

    .test-card span {
        width: 330px;
    }

    .school-card h1 {
        width: 400px;
        margin-bottom: 0;
    }

    .categories__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .platform-stage {
        grid-template-columns: 1fr;
    }

    .platform-stage__title {
        font-size: 38px;
    }

    .student-flow__title {
        font-size: 34px;
    }

    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 36px 32px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

}

@media (max-width: 1024px) {
    .navbar-container {
    }

    .item-left {
        gap: 25px;
    }

    .item-right {
        gap: 15px;
    }

    .nav-text-details h1 {
        font-size: 51px;
    }

    .button {
        font-size: 18px;
    }

    .testant-test-button {
        font-size: 17px;
    }

    .school-card {
        height: 300px;
    }

    .school-card h1 {
        font-size: 32px;
        width: 100%;
    }

    .card-container {
        margin-top: 20px;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 10px;
    }

    .record-container {
        display: block;
    }

    .records-card {
        margin-top: 15px;
    }


    .card {
        flex: 1 1 calc(50% - 20px);
        height: 100%;
    }


    .school-cards {
        gap: 20px;
    }

    .test-card span {
        width: 250px;
    }

    .news {
        flex: 0 1 calc(100% / 2 - 20px);
    }

    .categories__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .platform-stage__board {
        grid-template-rows: auto auto;
    }

    .platform-stage__card--hero {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
        min-height: 260px;
    }

    .platform-stage__card--dark {
        grid-column: 1 / 7;
        grid-row: 2 / 3;
    }

    .platform-stage__card--soft {
        grid-column: 7 / 13;
        grid-row: 2 / 3;
    }

    .student-flow__track {
        grid-template-columns: 1fr;
    }

    .student-flow::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .slide-img {
        border-radius: 20px;
    }

    .slider-wrapper {
        margin-bottom: 45px;
    }

    .first-block-container {
        padding-top: 20px;
        background-size: contain;
        background-position: center;
    }

    .navbar-container {
        padding: 0;
    }

    .item-left span, .item-right, .faq {
        display: none;
    }

    .burger-menu {
        display: flex;
        justify-content: center;
    }

    .nav-text-details h1 {
        font-size: 41px;
    }

    .button {
        font-size: 16px;
    }

    .testant-test-button {
        font-size: 15px;
    }

    .card-container {
        flex-direction: column;
        gap: 15px;
    }

    .card {
        flex: 1 1 100%; /* 1 в ряд */
        max-width: 100%;
    }

    .school-cards {
        grid-template-columns: 1fr;
    }

    .school-card h1 {
        font-size: 28px;
    }


    .nav-items.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 0;
        right: 0;
        height: 100vh;
        width: 70%;
        background-color: #00b0ea;
        color: white;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 30px 50px 0px 50px;
        z-index: 999;
        border-radius: 8px 0 0 8px;
        overflow-y: auto;
        transform: translateX(0);
        opacity: 1;
    }

    .nav-item {
        transition: color 0.2s ease;
        display: flex;
        flex-direction: column;
        gap: 20px;
        cursor: pointer;
    }


    .nav-item a {
        text-decoration: none;
        color: white;
    }

    .nav-item span, .nav-item a {
        font-size: 23px;
    }

    .news-text h4 {
        font-size: 15px;
    }

    .news-text p {
        font-size: 13.5px;
        -webkit-line-clamp: 5;
    }

    .news {
        flex: 0 1 calc(100% / 1 - 20px);
    }

    .categories__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
    }

    .platform-stage__intro,
    .platform-stage__card,
    .student-flow {
        padding: 28px 24px;
    }

    .platform-stage__board {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .platform-stage__card--hero,
    .platform-stage__card--dark,
    .platform-stage__card--soft {
        grid-column: auto;
        grid-row: auto;
    }

    .platform-stage__title,
    .student-flow__title {
        font-size: 24px;
    }

    .platform-stage__card-title,
    .student-flow__step-title {
        font-size: 24px;
    }

    .platform-stage__metric {
        font-size: 46px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 30px 24px;
    }

}

@media (max-width: 480px) {
    .navbar-container {
        padding: 0;
    }

    .nav-text {
        margin-top: 30px;
    }

    .nav-text-details {
        justify-content: left;
    }

    .nav-text-details h1 {
        font-size: 21px;
    }

    .testant-text {
        width: 100%;
        font-size: 18px;
    }

    .slider-arrow {
        padding: 0;
        font-size: 24px;
    }

    .slider-arrow.left {
        left: 0;
    }

    .slider-arrow.right {
        right: 0;
    }

    .button {
        font-size: 14px;
        padding: 10px 20px;
    }

    .testant-button {
        margin-bottom: 10px;
    }

    .testant-test-button {
        font-size: 18px;
        padding: 10px 20px;
    }

    .card-container {
        gap: 10px;
    }

    .school-card h1 {
        font-size: 24px;
    }

    .quote-text {
        font-size: 18px;
    }

    .record-user {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .news-text h4 {
        font-size: 14px;
    }

    .news-text p {
        font-size: 13px;
        -webkit-line-clamp: 4;
    }

    .categories__list {
        grid-template-columns: 1fr;
    }

    .category__card {
        min-height: 205px;
    }

    .category__image {
        width: 120px;
        height: 120px;
    }

    .category__title,
    .result__empty-title {
        font-size: 19px;
    }

    .platform-stage__intro,
    .platform-stage__card,
    .student-flow,
    .student-flow__step {
        padding: 24px 20px;
    }

    .platform-stage__title,
    .student-flow__title {
        font-size: 22px;
    }

    .platform-stage__text,
    .platform-stage__card-text,
    .student-flow__step-text {
        font-size: 16px;
    }

    .student-flow__actions {
        width: 100%;
        flex-direction: column;
    }

    .student-flow__button,
    .footer-brand__button {
        width: 100%;
    }
}


@media (max-width: 1150px) {
    .footer-container {
        gap: 32px;
    }
}

@media (max-width: 950px) {
    .footer-container p, .footer-container * {
        font-size: 17px;
    }

    .footer-container b {
        font-size: 22px;
    }
}

@media (max-width: 680px) {
    .footer-container {
        row-gap: 24px;
    }
}

@media (max-width: 630px) {
    .container {
        width: calc(100% - 40px);
    }

    .container.white_container {
        width: calc(100% - 40px - 85px);
    }

    .p_header {
        font-size: 20px;
    }
}

@media (max-width: 550px) {
    .school-cards {
        display: flex;
        flex-direction: column;
    }

    .footer-container {
        gap: 22px;
        row-gap: 22px;
    }

    .footer-container .contacts {
        width: 100%;
    }

    .footer-container .logo-img img {
        width: 150px;
    }
}

@media (max-width: 500px) {
    .window ._window {
        width: calc(354px - 85px);
    }

    .slide-img {
        border-radius: 10px;
    }
}
