@media (max-width: 1500px) {
    .header-container .phone.s {
        position: absolute;
        right: 18%;
        height: 60vh;
        bottom: 12vh;
        z-index: 5;
    }

    .header-container .phone.l {
        position: absolute;
        right: 2%;
        height: 70vh;
        bottom: 10vh;
        z-index: 4;
    }

    .header-info {
        max-width: 50%;
    }
}

@media (max-width: 1050px) {
    .header-container .phone.s {
        display: none;
    }

    .access-info-img {
        display: none;
    }

    .header-info {
        max-width: 55%;
    }

    .features {
        grid-template-columns: repeat(2, 1fr);
    }

    /* TEST */
    .stats {
        display: none;
    }

    .stats-carousel {
        display: flex;
        padding: 0px 0;
        position: relative;
    }

    .swiper-wrapper {
        height: 100%;
        padding: 60px 0;
    }

    .swiper-pagination {
        position: absolute;
        bottom: 0;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: #ffffff !important;
    }

    .swiper-pagination-bullet {
        background-color: #e0e0e0 !important;
        opacity: 0.5;
    }

    .swiper-pagination-bullet-active {
        background-color: #ffffff !important;
        opacity: 1;
    }
}

@media (max-width: 900px) {

    .header-container .phone,
    .nav-list,
    .open-app {
        display: none;
    }

    .burger-toggle {
        display: flex;
        background: none;
    }
}


@media (max-width: 800px) {


    .header-info {
        max-width: 80%;
    }

    .header-info button {
        order: 1;
    }

    .wrapper {
        position: fixed;
        inset: 0;
        z-index: 99;
        pointer-events: none;

    }

    /* background blur */
    .wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.2);
        backdrop-filter: blur(6px);
        opacity: 0;
        transition: 0.5s ease;
    }

    .burger-menu {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        display: block;
        max-width: 400px;
        width: 100%;
        background-color: #ffffff;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

    .burger-menu-content {
        padding: 0 4px;
    }

    .burger-menu-content .top {
        padding: 12px;
        border-bottom: 1px solid #e5e7eb;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 69px;
        width: 100%;
        margin-bottom: 24px;
    }

    .burger-menu-content .main-links {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 16px;
    }

    .burger-menu-content .main-links a {
        border-radius: 16px;
        padding: 16px;
        background: #f2f4f8;

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

        font-family: var(--font-family);
        font-weight: 600;
        font-size: 14px;
        line-height: 129%;
        text-align: center;
        color: var(--light-typo-primary);
    }

    .burger-menu-content .main-links a img {
        transform: rotate(-90deg);
    }

    /* active state */
    .wrapper.active {
        pointer-events: auto;
    }

    .wrapper.active::before {
        opacity: 1;
    }

    .wrapper.active .burger-menu {
        transform: translateX(0);
    }

    .burger-menu-content {
        opacity: 0;
        transform: translateY(20px);
        transition: 0.5s ease;
    }

    .wrapper.active .burger-menu-content {
        opacity: 1;
        transform: translateY(0);
    }

    .burger-menu .login {
        border-radius: 10px;
        padding: 10px 24px;
        background: var(--light-typo-accent);
        font-family: var(--font-family);
        font-weight: 500;
        font-size: 16px;
        line-height: 150%;
        text-align: center;
        color: var(--light-fill-island);
        width: 100%;
        width: 100%;
        display: block;
    }

}

@media (max-width: 600px) {
    .access-info .links a span {
        display: none;
    }

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

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

    .header-info {
        max-width: 100%;
        padding: 0 24px;
    }

    .header-info h1 {
        font-size: 40px;
    }

    .header-info p {
        font-size: 18px;
    }
}


@media (max-width: 500px) {
    .content {
        padding: 0 12px;
    }

    .section-title,
    .access-info h1 {
        font-size: 30px;
    }

    .exams .item .info .step {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .offers .item {
        padding: 20px;
    }

    .header-container {
        height: 100%;
        height: calc(80dvh - 70px);
    }

    .header-info {
        padding: 0 12px;
    }

    .header-info h1 {
        font-size: 28px;
    }

    .header-info button {
        width: 100%;
    }

    .exams {
        display: flex;
        flex-direction: column;

        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 30px;
    }

    .exams .item {
        flex-direction: column;
        min-width: 0px;
    }

    .exams .item img {
        order: -1;
    }

    .access-info .links {
        flex-direction: column;
    }

    .access-info .links a {
        width: 100%;
    }

    .footer-main {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .footer-main .item {
        align-items: center;
    }

    .footer-main .logo-container {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        padding-top: 20px;
    }
}