body {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    width: 100% !important;
    overflow-x: hidden !important;
}

html {
    display: flex;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    scroll-behavior: smooth;
    justify-content: center;
    align-items: center;
    background: #181820;
}

* {
    font-family: 'Roboto', sans-serif;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
    margin: 0;
}

.main{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

*:focus {
    outline: none !important;
    border: none !important;
}

button{
    border: none !important;
}

.add-application,
.course-presentation,
.slide-right,
.slide-left {
    outline: none !important;
}

.add-application:focus,
.course-presentation:focus,
.slide-right:focus,
.slide-left:focus {
    outline: none !important;
}

.header{
    width: 100vw;
    height: 60px;
    background: #303030;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0;
    padding: 0;
}

.header-info{
    align-self: center;
    justify-self: center;
    width: 1920px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo-text{
    font-size: 24px;
    padding: 20px 80px 20px 80px;
}
.block-nav{
    white-space: nowrap;
    display: flex;
    gap: 40px;
    height: 20px;
    font-size: 14px;
    padding-bottom: 20px;
}

.nav-btn{
    background: none;
    text-decoration: none;
    border: none;
    color: white;
}

.nav-btn:hover {
    color: #f78914 !important;
    cursor: pointer;
}

.blue-part {
    color: #f78914;
}

.moscow-scroll{
    width: 100vw;
    height: 1020px;
    background-image: url("/images/maps/moscow.webp");
    background-size: 110vw auto;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    animation: panBackground 30s linear infinite;
}

@keyframes panBackground {
    0% {
        background-position: 50% 50%;
    }
    25% {
        background-position: 52% 48%;
    }
    50% {
        background-position: 50% 46%;
    }
    75% {
        background-position: 48% 48%;
    }
    100% {
        background-position: 50% 50%;
    }
}

.moscow-scroll p {
    margin: 0;
    padding: 0;
}

.swap-block{
    display: flex;
    height: 1020px;
    width: 100%;
    flex-direction: column;
}

.map-text-f{
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    height: 120px;
    color: #f76b00;
    margin-top: 40px;
}

.moscow-text{
    justify-content: center;
    align-items: center;
    align-self: center;
}

.first-moscow-text{
    margin-top: 40px;
    font-size: 40px;
    margin-bottom: 20px;
    transition: all 0.8s ease-in-out;
    opacity: 1;
}

.first-moscow-text.changing {
    opacity: 0;
    transform: translateY(-20px);
}

.text-and-button{
    height: auto;
    display: flex;
    width: 100%;
}

.text-t{
    max-height: 800px;
    height: auto;
    margin-left: 50%;
    transform: translateX(-100%);
    width: 880px;
    background: rgba(255, 255, 255, 0.8);
    align-self: center;
}

.text-flex{
    margin-left: 40px;
    margin-right: 40px;
    margin-top: 60px;
    color: #f78914;
    flex-direction: column;
    height: 100%;
    display: flex;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.text-flex.active {
    opacity: 1;
    visibility: visible;
    position: relative;

}

.first-text-flex{
    font-size: 60px;
    line-height: 60px;
    opacity: 0;
    transition: opacity 1s ease 0.2s;
}

.second-text-flex{
    margin-top: 60px !important;
    margin-bottom: 30px !important;
    font-size: 20px;
    opacity: 0;
    transition: opacity 1s ease 0.2s;
}

.third-text-flex{
    font-size: 20px;
    line-height: 30px;
    opacity: 0;
    transition: opacity 1s ease 0.2s;
}

.moscow-b{
    margin-top: 60px;
    margin-bottom: 60px;
    align-self: end;
    display: flex;
    gap: 30px;
    opacity: 0;
    transition: opacity 1s ease 0.2s;
}

.text-flex.active .first-text-flex,
.text-flex.active .second-text-flex,
.text-flex.active .third-text-flex,
.text-flex.active .moscow-b {
    opacity: 1;
}

.add-application{
    justify-content: center;
    align-self: flex-end;
    height: 60px;
    padding-right: 30px;
    padding-left: 30px;
    color: white;
    background: #303030;
    border: none;
    border-radius: 20px;
    margin: 0;
    font-size: 14px;
    line-height: 30px;
    transition: background-color 5s ease;
    font-weight: 300 !important;
    cursor: pointer;
}

.course-presentation{
    color: white;
    background: #f76b00;
    align-self: flex-end;
    height: 60px;
    padding-right: 30px;
    padding-left: 30px;
    border: none;
    border-radius: 20px;
    margin: 0;
    font-size: 14px;
    line-height: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: 300 !important;
}

.nav-block-slide{
    display: flex;
    flex-direction: row;
    gap: 10px;
    height: 40px;
    justify-content: center;
    align-items: center;
    margin-bottom: 60px;
    margin-top: auto;
    z-index: 100;
}

.slide-right, .slide-left {
    color: white;
    background: #303030;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slide-block{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.slide-block > div {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    background: #f78914;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slide-block > div.true {
    width: 30px;
    background: #303030;
}

.open{
    background: #303030;
    width: 30px;
    height: 10px;
    border: none;
    border-radius: 10px;
}

.close{
    background: #f78914;
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 20px;
}

button {
    outline: none !important;
}

button:focus {
    outline: none !important;
    box-shadow: none !important;
}

button:active {
    outline: none !important;
}

a {
    text-decoration: none;
}

a button:focus {
    outline: none !important;
}

.about-project {
    width: 100%;
    min-width: 960px;
    max-width: 1920px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 1080px;
}

.about {
    width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: left;
    justify-content: center;
    height: 100%;
}

.about-first{
    display: flex;
    height: 100%;
    width: 100%;
    background: #f78914;
    align-items: center;
    justify-content: center;
}

.add-block{
    display: flex;
    width: 260px;
    flex-direction: column;
    margin-left: 100px;
    margin-right: 100px;
    color: #ffffff;
}

.add-block-text{
    width: 100%;
}

.add-block-text-f{
    font-size: 30px;
    line-height: 30px;
    margin-bottom: 30px;
    font-weight: 300 !important;
}

.add-block-text-s{
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 30px;
    font-weight: 300 !important;
}

.add-btn{
    align-self: flex-end;
}

.add-btn button{
    color: white;
    background: #303030;
    justify-content: center;
    align-self: flex-end;
    height: 60px;
    padding-right: 30px;
    padding-left: 30px;
    border: none;
    border-radius: 20px;
    margin: 0;
    font-size: 14px;
    line-height: 30px;
    text-wrap: nowrap;
    font-weight: 300 !important;
    cursor: pointer;
}

.about-only{
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about-second,
.about-third,
.about-fourth {
    width: 100%;
    flex-direction: column;
    height: 100%;
}

.about-second .about-img,
.about-third .about-img,
.about-fourth .about-img {
    height: 600px;
    display: flex;
}

.about-second .about-img img,
.about-third .about-img img,
.about-fourth .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-second .about-text,
.about-third .about-text,
.about-fourth .about-text {
    font-size: 20px;
    line-height: 30px;
    display: flex;
    height: 480px;
    max-height: 480px;
}

.about-second .about-text p,
.about-third .about-text p,
.about-fourth .about-text p {
    padding: 30px;
    margin: 0!important;
}

.about-second .about-text {
    color: white;
    background: #f76b00;
    font-weight: 300 !important;
}

.about-third .about-text {
    color: #f78914;
    background: white;
    font-weight: 400 !important;
}

.about-fourth .about-text {
    color: white;
    background: #f78914;
    font-weight: 300 !important;
}

.program{
    display: flex;
    flex-direction: column;
    height: 1080px;
    width: 100vw;
}

.program-info-text{
    height: auto;
    width: 100vw;
    background: white;
}

.program-text{
    height: auto;
    margin-left: 80px;
    margin-top: 80px;
    line-height: 30px;
    font-weight: 400 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.program-text-f{
    font-size: 40px;
    margin: 0;
}

.program-text-s{
    font-size: 20px;
    line-height: 30px;
    color: #f78914;
}

.program-info{
    height: 850px;
    display: flex;
    flex-direction: row;
}

.first-program,
.second-program,
.third-program {
    flex: 1;
    display: flex;
    flex-direction: column;
    height: 850px;
    width: 640px;
}

.first-program{
    background: #f76b00;
    font-weight: 300 !important;
}

.second-program{
    background: white;
    font-weight: 400 !important;
}

.third-program{
    background: #f78914;
    font-weight: 300 !important;
}

.photo{
    height: 300px;
    width: 560px;
    margin-top: 40px;
    margin-left: 40px;
    margin-right: 40px;
    display: flex;
}

.photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text{
    height: 470px;
    margin: 20px 40px 40px 40px;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.text p {
    margin: 0;
}

.text-title {
    width: 480px;
    font-size: 20px;
    line-height: 30px;
    height: 60px;
    overflow: hidden;
}

.text-description {
    font-size: 20px;
    line-height: 30px;
    margin-top: 20px !important;
    flex: 1;
    margin-bottom: 30px;
    overflow-y: auto;
    z-index: 2;
}

.text-footer {
    font-size: 20px;
    line-height: 30px;
    flex: 0 0 auto;
    margin-top: auto;
    margin-bottom: 0;
}

.first-program .text,
.third-program .text {
    color: #efefef;
}

.second-program .text {
    color: #f76b00;
}

.program-footer{
    z-index: 1;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.arrow{
    display: flex;
    align-items: center;
    cursor: pointer;
}

.arrow img{
    height: 70px;
}

.block {
    display: flex;
    height: 1080px;
    background: #181820;
    width: 1920px;
    gap: 0;
    flex-direction: row;
    color: white;
    font-weight: 300 !important;
}

.block-work{
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    width: 960px;
    justify-content: center;
}

.block-work .button-f {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    padding-right: 30px;
    padding-left: 30px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    line-height: 30px;
    margin-left: auto;
    margin-right: 0;
    margin-top: 60px;
    background-color: #f78914;
    color: white;
    cursor: pointer;
}

.block-work .button-s {
    justify-content: center;
    align-items: center;
    height: 60px;
    padding-right: 30px;
    padding-left: 30px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    line-height: 30px;
    background-color: #f78914;
    color: white;
    display: flex;
    margin-left: auto;
    margin-top: 60px;
    margin-right: 0;
    cursor: pointer;
}

.block-work-text-f{
    font-size: 60px;
    line-height: 60px;
}

.block-work-all{
    width: 605px;
}

.block-work-text-s{
    font-size: 20px;
    line-height: 30px;
}

.block-img{
    width: 960px;
    margin-top: 120px;
    margin-bottom: 120px;
    margin-right: 120px;
    display: flex;
}

.block-img img{
    box-sizing: border-box;
    display: flex;
    object-fit: cover;
    height: 100%;
    overflow: hidden;
}

.equipment-list {
    font-size: 20px;
    line-height: 30px;
    margin: 0;
    padding-left: 20px;
}

.list-title {
    color: #f78914;
    margin: 30px 0 10px 0;
    font-size: 20px;
    line-height: 30px;
}

.block-work{
    display: flex;
    flex-direction: column;
    margin-left: 120px;
    justify-content: center;
}

.block-work .equipment-list-block {
    padding-left: 20px;
    font-size: 20px;
    line-height: 30px;
    margin: 0 0 60px 0;
    flex: 1;
    overflow-y: auto;
}

.block-program{
    width: 1920px;
    display: flex;
    flex-direction: row;
    gap: 0;
    height: 1080px;
    color: white;
    font-weight: 300 !important;
}

.first-block{
    display: flex;
    background: #f76b00;
    width: 960px;
    height: 1080px;
    align-items: center;
    justify-content: center;
}

.second-block{
    display: flex;
    background: #f78914;
    width: 960px;
    height: 1080px;
    align-items: center;
    justify-content: center;
}

.program-basic{
    font-size: 30px;
    line-height: 30px;
    margin: 0 0 30px 0;
}

.program-basic-text{
    font-size: 40px;
    line-height: 40px;
    margin: 0 0 60px 0;
}

.button {
    margin-left: 600px;
    align-self: flex-end;
    height: 60px;
    padding-right: 30px;
    padding-left: 30px;
    color: white;
    background: #303030;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    line-height: 30px;
    cursor: pointer;
    font-weight: 300 !important;
}

.block-map{
    display: flex;
    width: 100vw;
    height: 1080px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin: 0;
}

.block-map .block-map-header{
    background: white;
    height: 240px;
    width: 100vw;
}

.block-map .block-map-header .text-block-map {
    margin-left: 80px;
    margin-top: 80px;
    margin-bottom: 40px;
    font-size: 40px;
    line-height: 40px;
    font-weight: 400 !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.block-map .block-map-header .text-block-map p {
    margin: 0;
    padding: 0;
}

.block-map .block-map-footer{
    width: 1920px;
    background: white;
    align-self: center;
    justify-self: center;
}

.block-map .block-map-footer .img-block-map{
    align-self: center;
    margin: 0 auto;
    height: 840px;
}

.block-about-experts{
    display: flex;
    width: 1920px;
    height: 1080px;
    background: #f76b00;
    flex-direction: column;
    padding: 80px 80px 40px 80px;
    box-sizing: border-box;
}

.block-about-text{
    display: flex;
    width: 100%;
    margin-bottom: 40px;
}

.block-about-text-text{
    color: white;
    font-size: 40px;
    line-height: 40px;
    margin: 0;
    width: 100%;
    font-weight: 300 !important;
}

.clients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    width: 1700px;
    justify-content: center;

    margin-top: 100px;
}

.client-item {
    width: 192px;
    height: 192px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.client-item img{
    width: 170px;
}

.client-item.split-links {
    position: relative;
}

.link-half {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 2;
}

.link-half.left {
    left: 0;
}

.link-half.right {
    right: 0;
}

.client-item.split-links img {
    position: relative;
    z-index: 1;
}

footer{
    height: 1080px;
    width: 1920px;
    display: flex;
    flex-direction: column;
    background: white;
}

footer .footer-white{
    margin-top: 50px;
    margin-left: 80px;
    height: 750px;
    font-weight: 400 !important;
}

footer .footer-white .footer-white-text-f{
    font-size: 40px;
    line-height: 40px;
    margin-right: 20px !important;
    padding-right: 20px;
}

footer .footer-white .footer-white-text-s{
    font-size: 20px;
    line-height: 30px;
    margin-right: 20px;
    padding-right: 20px;
}

footer .footer-white .contact{
    font-size: 40px;
    line-height: 50px;
    margin-top: 120px;
    color: #f78914 !important;
}

.first-number:hover,
.second-number:hover,
.third-number:hover{
    cursor: pointer;
}

footer .footer-grey{
    background: #303030;
    height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.header-footer{
    width: 100%;
    height: 60px;
    background: #303030;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 80px;
    color: white;
}

.header-footer .logo-text-foot{
    font-size: 24px;
    padding-left: 80px;
}

.header-footer .block-nav-foot{
    height: 20px;
    white-space: nowrap;
    display: flex;
    gap: 40px;
}

.header-footer .block-nav-foot .nav-btn{
    margin-top: 4px;
    font-size: 14px;
    background: none;
    text-decoration: none;
    border: none;
    color: white;
}

.header-footer .block-nav-foot .nav-btn:hover {
    color: #f78914 !important;
    cursor: pointer;
}

.footer-footer{
    display: flex;
    margin-left: 80px;
    color: white;
    font-size: 14px;
}

.scroll-to-top-btn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 50px;
    height: 50px;
    background-color: #303030;
    border-radius: 50%;
    transition: opacity 0.3s;
    text-align: center;
    padding: 0;
    justify-content: center;
    align-items: center;
}

.scroll-to-top-btn img {
    max-width: 100%;
    max-height: 100%;
    width: 30px;
    height: 30px;
    rotate: 180deg;
}



/* Стили для модального окна */
.model-form {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.model-form[style*="display: flex"] {
    display: flex !important;
}

.form {
    background: white;
    padding: 60px 40px 40px 40px;
    width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10001;
    margin: 20px;
    box-sizing: border-box;
}

.close-form-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    cursor: pointer;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 10002;
}

.close-icon {
    width: 80px;
    height: 80px;
}

.form::-webkit-scrollbar {
    width: 0;
}

.text-form{
    font-size: 40px;
    line-height: 40px;
    color: #404040;
    margin-bottom: 40px;
}

.text-form span{
    color: #f78914;
    display: block;
}

.first-input,
.second-input,
.third-input,
.fourth-input,
.number-form,
.email-form{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}



.input-text{
    color: #f78914;
    font-size: 20px;
    line-height: 20px;
}

.input{
    width: 100%;
    height: 80px;
    text-align: start;
    border: 1px solid #404040;
    font-size: 18px;
    padding: 20px;
    box-sizing: border-box;
}

select.input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("/images/model-form/downarrow.svg");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 16px 16px;
    padding-right: 50px;
}


select.input::-ms-expand {
    display: none;
}

.input:focus-visible,
.number-form input:focus-visible,
.email-form input:focus-visible {
    border: 2px solid #404040 !important;
    outline: none !important;
}

.email-and-number-input {
    display: flex;
    gap: 80px;
    margin-bottom: 80px;
}

.number-form,
.email-form {
    flex: 1;
    margin-bottom: 0;
}

.number-form input,
.email-form input {
    height: 80px;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    border: 1px solid #404040;
    font-size: 18px;
}

.checkbox-form {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.custom-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    cursor: pointer;
    position: relative;
}

.custom-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 80px;
    height: 80px;
    background: white;
    border: 1px solid #404040;
    display: flex;
    align-items: center;
    justify-content: center;
}

.check-icon {
    width: 80px;
    height: 80px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark .check-icon {
    opacity: 1;
}

.checkbox-text {
    font-size: 20px;
    line-height: 20px;
    color: #f78914;
    user-select: none;
    display: flex;
    align-items: center;
    height: 80px;
}

.button-form{
    display: flex;
    width: 100%;
}

.button-form button {
    justify-content: center;
    align-self: flex-end;
    height: 60px;
    padding-right: 30px;
    padding-left: 30px;
    color: white;
    background: #303030;
    border: none;
    border-radius: 20px;
    margin-left: auto;
    font-size: 14px;
    line-height: 30px;
    font-weight: 300 !important;
    cursor: pointer;
}

.error-message {
    display: none;
    color: #e74c3c;
    font-size: 14px;
    margin-top: -10px;
    margin-bottom: -20px;
}

.input.invalid,
.input-number.invalid,
.input-email.invalid,
select.input.invalid,
.custom-checkbox.invalid .checkmark{
    border-color: #e74c3c !important;
    border: 2px solid;
}
@media (min-width: 1921px){

    .header {
        max-width: 2560px !important;
    }

    .moscow-scroll {
        max-width: 2560px !important;
    }

    .block-map-header{
        max-width: 2560px !important;
    }

    .program-info-text{
        max-width: 2560px !important;
    }

    .program{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .program-info-text{
        max-width: 2560px;
        width: 100%;
    }

    .block-map{
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .scroll-to-top-btn {
        bottom: 50px;
        right: 50px;
        width: 70px;
        height: 70px;
    }

    .scroll-to-top-btn img {
        width: 50px;
        height: 50px;
    }
}
@media (min-width: 1668px) and (max-width: 1919px) {

    html {
        display: flex;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        background: #181820;
    }

    .header {
        max-width: 1919px !important;
    }

    .header-info{
        width: 1668px;
    }

    .moscow-scroll {
        max-width: 1919px !important;
    }

    .block-map-header{
        max-width: 1919px !important;
        height: auto !important;
    }

    .program-info-text{
        max-width: 1919px !important;
        height: auto !important;
    }

    .text-t{
        width: 754px;
        max-height: 880px;
    }

    .about-project{
        width: 960px;
        height: 2160px;
        flex-wrap: wrap;
    }

    .about {
        height: 1080px;
    }

    .block{
        width: 1668px;
    }

    .block-work{
        width: 834px;
    }

    .block-work-text-f{
        width: 674px;
    }

    .block-work-text-s{
        width: 674px;
    }

    .block-img{
        width: 834px;
    }

    .block-img img{
        width: 100%;
    }

    .program{
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 1919px !important;
    }

    .program-info{
        height: 2550px;
        width: 960px;
        display: flex;
        flex-wrap: wrap;
    }

    .first-program,
    .second-program,
    .third-program {
        width: 960px;
    }

    .photo{
        width: 880px;
    }

    .block-program{
        width: 960px;
        height: 2160px;
        flex-wrap: wrap;
    }

    .block-map{
        max-width: 1919px !important;
    }

    .block-map-footer{
        width: 1668px !important;

        .img-block-map{
            width: 1400px;
            height: 100px;
        }
    }

    .program-text{
        height: auto !important;
    }

    .block-about-experts{
        width: 1668px;
        height: auto;
    }
    .clients-grid-form{
        display: flex;
        width: 1500px;
        justify-content: center !important;
    }

    .clients-grid{
        width: 1200px;
    }

    footer{
        width: 1668px;
    }

    .footer-white{
        width: 1668px;
    }

    .footer-grey{
        width: 1668px;
    }

    .scroll-to-top-btn {
        width: 50px;
        height: 50px;
    }

    .scroll-to-top-btn img {
        width: 30px;
        height: 30px;
    }
}
@media (max-width: 1667px) and (min-width: 1125px){

    html {
        align-self: center;
        justify-self: center;
        display: flex;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        justify-content: center;
        align-items: center;
        background: #181820;
    }

    .header {
        max-width: 1667px !important;
        min-width: 1125px !important;
    }

    .header-info{
        width: 1125px;
    }

    .moscow-scroll {
        max-width: 1667px !important;
        min-width: 1125px !important;
    }

    .text-and-button{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .text-t{
        margin-left: auto;
        margin-right: auto;
        transform: none;
    }

    .about-project{
        width: 960px;
        height: 2160px;
        flex-wrap: wrap;
    }

    .about {
        height: 1080px;
    }

    .block{
        width: 960px;
        display: flex;
        align-items: center;
        justify-content: center;

        .block-work {
            width: auto;
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
    }

    .block-img {
        display: none !important;
    }

    .block-work {
        width: auto;
        box-sizing: border-box;
    }

    .program {
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 1167px !important;
    }

    .program-info-text{
        max-width: 1667px !important;
        min-width: 1125px !important;
        height: auto !important;
    }

    .program-info{
        height: 2550px;
        width: 960px;
        display: flex;
        flex-wrap: wrap;
    }

    .first-program,
    .second-program,
    .third-program {
        width: 960px;
    }

    .photo{
        width: 880px;
    }

    .program-text{
        height: auto !important;
    }

    .block-program{
        width: 960px;
        height: 2160px;
        flex-wrap: wrap;
    }

    .block-map{
        max-width: 1667px !important;
        min-width: 1125px !important;
    }

    .block-map-footer{
        width: 1125px !important;
        display: flex;
        align-items: center;
        justify-content: center;

        .img-block-map{
            width: 1125px;
            height: 100px;
            box-sizing: border-box;
        }
    }

    .block-about-experts{
        width: 1125px;
        height: auto;
    }

    .clients-grid-form{
        width: 1000px;
        display: flex;
        justify-content: center;
    }

    .clients-grid{
        width: 1000px;
    }

    footer{
        width: 1125px;
    }

    .footer-white{
        width: 965px;
    }

    .footer-grey{
        width: 1125px;
    }

    .scroll-to-top-btn {
        width: 50px;
        height: 50px;
    }

    .scroll-to-top-btn img {
        width: 30px;
        height: 30px;
    }
}
@media (min-width: 750px) and (max-width: 1124px){
    .header{
        width: 100vw;
        height: 30px;
    }

    .header-info{
        width: 750px !important;
    }

    .logo-text{
        font-size: 12px !important;
        padding: 10px 40px 10px 40px;
    }

    .block-nav{
        gap: 20px;
        height: 10px;
        font-size: 8px !important;
        padding-bottom: 10px;

        button{
            font-size: 8px !important;
        }
    }

    .moscow-scroll{
        width: 100vw;
        height: 550px !important;
    }

    .swap-block{
        display: flex;
        height: 520px !important;
        width: 100%;
        flex-direction: column;
    }

    .map-text-f{
        width: 100%;
        height: 60px !important;
        margin-top: 20px;
    }

    .first-moscow-text{
        margin-top: 20px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .text-and-button{
        align-items: center;
        justify-content: center;
    }

    .text-t{
        margin-left: 20px;
        transform: none;
        max-height: 500px;
        width: 710px !important;
        align-self: center;
    }

    .text-flex{
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 30px;
    }

    .first-text-flex{
        font-size: 30px;
        line-height: 30px;
    }

    .second-text-flex{
        margin-top: 30px !important;
        margin-bottom: 20px !important;
        font-size: 14px;
    }

    .third-text-flex{
        font-size: 14px;
        line-height: 20px;
    }

    .moscow-b{
        margin-top: 30px;
        margin-bottom: 30px;
        gap: 20px;
    }

    .add-application{
        height: 30px;
        padding-right: 15px;
        padding-left: 15px;
        font-size: 8px;
        line-height: 10px;
        border-radius: 10px;
    }

    .course-presentation{
        height: 30px;
        padding-right: 15px;
        padding-left: 15px;
        font-size: 8px;
        line-height: 10px;
        border-radius: 10px;
    }

    .nav-block-slide{
        gap: 5px;
        height: 20px;
        margin-bottom: 30px;
    }

    .slide-right, .slide-left {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }

    .slide-block{
        gap: 5px;
    }

    .slide-block > div {
        width: 5px;
        height: 5px;
        border-radius: 5px;
    }

    .slide-block > div.true {
        width: 15px;
    }

    .open{
        width: 15px;
        height: 5px;
    }

    .close{
        width: 5px;
        height: 5px;
    }

    .about-project {
        display: flex;
        height: auto;
        max-height: 2200px;
        flex-wrap: wrap !important;
        min-width: 450px !important;
        max-width: 900px !important;
        justify-content: center;
    }

    .about {
        width: 450px;
        height: 550px;
    }

    .add-block{
        width: 450px;
        margin-left: 50px;
        margin-right: 50px;
    }
    .add-block-text{
        width: 350px;
    }

    .add-block-text-f{
        font-size: 30px;
        line-height: 30px;
        margin-bottom: 20px;
        margin-left: 40px;
        margin-right: 40px;
    }

    .add-block-text-s{
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 20px;
        margin-left: 40px;
        margin-right: 40px;
    }

    .add-btn button{
        height: 30px !important;
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
    }

    .about-second .about-img,
    .about-third .about-img,
    .about-fourth .about-img {
        height: 280px !important;
        display: flex;
    }

    .about-second .about-text,
    .about-third .about-text,
    .about-fourth .about-text {
        font-size: 14px;
        line-height: 20px;
        display: flex;
        height: 270px !important;
        max-height: 270px !important;
    }

    .about-second .about-text p,
    .about-third .about-text p,
    .about-fourth .about-text p {
        padding: 20px 40px 0 40px;
    }

    .block {
        min-height: 550px;
        height: auto !important;
        width: 750px !important;
    }

    .block-work{
        height: auto;
        width: 550px !important;
    }

    .block-work .button-f {
        height: 30px;
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
        margin-top: 30px;
    }

    .block-work .button-s {
        height: 30px;
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .block-work-text-f{
        font-size: 30px;
        line-height: 30px;
    }

    .block-work-all{
        width: 550px !important;
    }

    .block-work-text-s{
        font-size: 14px;
        line-height: 20px;
    }

    .block-img {
        display: none !important;
    }

    .equipment-list {
        font-size: 14px;
        line-height: 20px;
        padding-left: 20px;
    }

    .list-title {
        margin: 20px 0 10px 0;
        font-size: 14px;
        line-height: 20px;
    }

    .block-work{
        margin-left: 80px;
    }

    .block-work .equipment-list-block {
        padding-left: 20px;
        font-size: 14px;
        line-height: 20px;
        margin: 0 0 30px 0;
    }

    .program{
        justify-content: center;
        align-items: center;
        height: auto;
        width: 100vw;
    }

    .program-info-text{
        height: auto;
        width: 100vw;
    }

    .program-text{
        height: auto;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 20px;
    }

    .program-text-f{
        font-size: 20px;
        margin: 0;
    }

    .program-text-s{
        font-size: 14px;
        line-height: 20px;
    }

    .program-info{
        max-height: 1650px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        min-width: 450px !important;
        max-width: 900px !important;
        justify-content: center;
    }

    .first-program,
    .second-program,
    .third-program {
        flex: 0;
        display: flex;
        flex-direction: column;
        min-height: 550px;
        height: auto;
        width: 450px !important;
    }

    .photo{
        height: 220px;
        width: 410px;
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
        display: flex;
    }

    .photo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .text{
        height: auto;
        margin: 10px 20px 20px 20px;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .text-title {
        width: 410px;
        font-size: 20px;
        line-height: 20px;
        height: 60px;
        overflow: hidden;
    }

    .text-description {
        font-size: 14px;
        line-height: 20px;
        margin-top: 20px !important;
        flex: 1;
        margin-bottom: 20px;
        overflow-y: auto;
        z-index: 2;
    }

    .text-footer {
        font-size: 14px;
        line-height: 20px;
        flex: 0 0 auto;
        margin-top: auto;
        margin-bottom: 0;
    }

    .arrow img{
        height: 40px;
    }

    .block-program{
        justify-content: center;
        align-items: center;
        width: 750px;
        gap: 0;
        height: 1100px;
        flex-wrap: wrap;

        .block-work{
            margin-left: 30px;
        }
    }

    .first-block{
        width: 600px;
        height: 550px;
    }

    .second-block{
        width: 600px;
        height: 550px;
    }

    .program-basic{
        font-size: 20px;
        line-height: 20px;
        margin: 0 0 20px 0;
    }

    .program-basic-text{
        font-size: 30px;
        line-height: 30px;
        margin: 0 0 40px 0;
    }

    .button {
        margin-left: 400px;
        height: 30px;
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
    }

    .block-map{
        width: 100vw;
        height: 550px;
        max-width: 1124px !important;
        min-width: 750px !important;
    }

    .block-map .block-map-header{
        background: white;
        height: 120px;
        width: 100vw;
    }

    .block-map .block-map-header .text-block-map {
        margin-left: 40px;
        margin-top: 40px;
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 20px;
    }

    .block-map .block-map-footer{
        width: 750px;
        display: flex;
        background: none;
    }

    .block-map .block-map-footer .img-block-map{
        width: 600px;
        height: 430px;
        box-sizing: border-box;
    }

    .block-about-experts{
        display: flex;
        width: 600px;
        height: auto;
        padding: 40px 40px 20px 40px;
    }

    .block-about-text-text{
        font-size: 18px;
        line-height: 20px;
    }

    .clients-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
        width: 500px;
        margin-top: 30px;
    }

    .client-item {
        width: 90px;
        height: 90px;
    }

    .client-item img{
        width: 80px;
    }

    footer{
        height: 550px !important;
        width: 600px !important;
    }

    footer .footer-white{
        margin-top: 20px;
        margin-left: 40px;
        height: 380px !important;
    }

    footer .footer-white .footer-white-text-f{
        font-size: 20px;
        line-height: 20px;
    }

    footer .footer-white .footer-white-text-s{
        font-size: 14px;
        line-height: 20px;
    }

    footer .footer-white .contact{
        font-size: 20px;
        line-height: 30px;
        margin-top: 60px;
    }

    footer .footer-grey{
        height: 170px !important;
    }

    .header-footer{
        height: 40px;
        align-items: center;
        gap: 20px;
    }

    .header-footer .logo-text-foot{
        font-size: 12px;
        padding: 10px 20px 10px 20px;
    }

    .header-footer .block-nav-foot{
        height: 20px;
        white-space: nowrap;
        display: flex;
        gap: 40px;
    }

    .header-footer .block-nav-foot .nav-btn{
        white-space: nowrap;
        display: flex;
        gap: 10px;
        height: 20px;
        font-size: 6px !important;
        padding-bottom: 10px;
        align-items: center;

        button{
            font-size: 6px !important;
        }
    }

    .footer-footer{
        display: flex;
        margin-left: 20px;
        color: white;
        font-size: 10px !important;
    }

    .scroll-to-top-btn {
        display: none !important;
    }

    /* Стили для модального окна */
    .form {
        max-height: 80vh;
        padding: 30px 20px 20px 20px;
        width: 700px;
        margin: 10px;
    }

    .close-form-btn {
        width: 40px;
        height: 40px;
    }

    .close-icon {
        width: 40px;
        height: 40px;
    }

    .text-form{
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .first-input,
    .second-input,
    .third-input,
    .fourth-input,
    .number-form,
    .email-form{
        gap: 10px;
        margin-bottom: 20px;
    }

    .input-text{
        font-size: 10px;
        line-height: 10px;
    }

    .input{
        height: 40px;
        font-size: 10px;
        padding: 10px;
    }

    .email-and-number-input {
        gap: 40px;
        margin-bottom: 40px;
    }

    .number-form input,
    .email-form input {
        height: 40px;
        padding: 0 10px;
        font-size: 10px;
    }

    .checkbox-form {
        margin-bottom: 20px;
    }

    .custom-checkbox {
        gap: 10px;
    }

    .checkmark {
        width: 40px;
        height: 40px;
    }

    .check-icon {
        width: 40px;
        height: 40px;
    }

    .checkbox-text {
        font-size: 10px;
        line-height: 10px;
        height: 40px;
    }

    .error-message {
        font-size: 8px;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .button-form button {
        height: 30px;
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 10px;
        margin-left: auto;
        font-size: 6px;
        line-height: 10px;
    }
}
@media (min-width: 600px) and (max-width: 749px){
    .header{
        width: 100vw;
        height: 30px;
    }

    .header-info{
        width: 600px !important;
    }

    .logo-text{
        font-size: 12px !important;
        padding: 10px 40px 10px 20px;
    }

    .block-nav{
        gap: 10px;
        height: 10px;
        font-size: 8px !important;
        padding-bottom: 10px;

        button{
            font-size: 8px !important;
        }
    }

    .moscow-scroll{
        width: 100vw;
        height: 750px !important;
        background-size: cover !important;
        animation: none;
    }

    .swap-block{
        display: flex;
        width: 100%;
        flex-direction: column;
        height: 750px !important;
    }

    .map-text-f{
        width: 100%;
        height: 60px !important;
        margin-top: 20px;
    }

    .first-moscow-text{
        margin-top: 20px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .text-and-button{
        height: auto;
        align-items: center;
        justify-content: center;
    }

    .text-t{
        margin-left: 10px;
        transform: none;
        max-height: 650px;
        width: 280px !important;
        align-self: center;
    }

    .text-flex{
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 30px;
    }

    .first-text-flex{
        font-size: 20px;
        line-height: 20px;
    }

    .second-text-flex{
        margin-top: 30px !important;
        margin-bottom: 20px !important;
        font-size: 12px;
    }

    .third-text-flex{
        font-size: 12px;
        line-height: 20px;
    }

    .moscow-b{
        margin-top: 30px;
        margin-bottom: 30px;
        gap: 20px;
    }

    .add-application{
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        font-size: 8px;
        line-height: 10px;
        border-radius: 10px;
    }

    .course-presentation{
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        font-size: 8px;
        line-height: 10px;
        border-radius: 10px;
    }

    .nav-block-slide{
        gap: 5px;
        height: 20px;
        margin-bottom: 30px;
    }

    .slide-right, .slide-left {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }

    .slide-block{
        gap: 5px;
    }

    .slide-block > div {
        width: 5px;
        height: 5px;
        border-radius: 5px;
    }

    .slide-block > div.true {
        width: 15px;
    }

    .open{
        width: 15px;
        height: 5px;
    }

    .close{
        width: 5px;
        height: 5px;
    }

    .about-project {
        display: flex;
        height: auto;
        max-height: 2200px;
        flex-wrap: wrap !important;
        min-width: 300px !important;
        max-width: 600px !important;
        justify-content: center;
    }

    .about {
        width: 300px;
        height: 550px;
    }

    .add-block{
        width: 200px;
        margin-left: 50px;
        margin-right: 50px;
    }

    .add-block-text-f{
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .add-block-text-s{
        font-size: 12px;
        line-height: 15px;
        margin-bottom: 20px;
    }

    .add-btn button{
        height: 30px !important;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
    }

    .about-second .about-img,
    .about-third .about-img,
    .about-fourth .about-img {
        height: 280px !important;
        display: flex;
    }

    .about-second .about-text,
    .about-third .about-text,
    .about-fourth .about-text {
        font-size: 12px;
        line-height: 20px;
        display: flex;
        height: 270px !important;
        max-height: 270px !important;
    }

    .about-second .about-text p,
    .about-third .about-text p,
    .about-fourth .about-text p {
        padding: 20px 10px 0 10px;
    }

    .block {
        height: 550px !important;
        width: auto !important;
        min-width: 300px !important;
        max-width: 600px !important;
    }

    .block-work{
        width: auto !important;
        min-width: 300px !important;
        max-width: 600px !important;
    }

    .block-work .button-f {
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
        margin-top: 30px;
    }

    .block-work .button-s {
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
        margin-top: 30px;
    }

    .block-work-text-f{
        font-size: 20px;
        line-height: 20px;
    }

    .block-work-all{
        width: auto !important;
        min-width: 300px !important;
        max-width: 600px !important;
    }

    .block-work-text-s{
        font-size: 12px;
        line-height: 20px;
    }

    .block-img {
        display: none !important;
    }

    .equipment-list {
        font-size: 12px;
        line-height: 20px;
        padding-left: 20px;
    }

    .list-title {
        margin: 20px 0 10px 0;
        font-size: 12px;
        line-height: 20px;
    }

    .block-work{
        margin-left: 80px;
    }

    .block-work .equipment-list-block {
        padding-left: 20px;
        font-size: 12px;
        line-height: 20px;
        margin: 0 0 30px 0;
    }

    .program{
        justify-content: center;
        align-items: center;
        height: auto;
        width: 100vw;
    }

    .program-info-text{
        height: auto;
        width: 100vw;
    }

    .program-text{
        height: auto;
        margin-left: 20px;
        margin-top: 20px;
        line-height: 20px;
    }

    .program-text-f{
        font-size: 20px;
        margin: 0;
    }

    .program-text-s{
        font-size: 12px;
        line-height: 20px;
    }

    .program-info{
        max-height: 1650px;
        height: auto;
        display: flex;
        flex-wrap: wrap;
        min-width: 300px !important;
        max-width: 600px !important;
        justify-content: center;
    }

    .first-program,
    .second-program,
    .third-program {
        flex: 0;
        display: flex;
        flex-direction: column;
        height: 550px;
        width: 450px !important;
    }

    .photo{
        height: 220px;
        width: 410px;
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
        display: flex;
    }

    .photo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .text{
        height: 320px;
        margin: 10px 20px 20px 20px;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .text-title {
        width: 410px;
        font-size: 20px;
        line-height: 20px;
        height: 60px;
        overflow: hidden;
    }

    .text-description {
        font-size: 12px;
        line-height: 20px;
        margin-top: 20px !important;
        flex: 1;
        margin-bottom: 20px;
        overflow-y: auto;
        z-index: 2;
    }

    .text-footer {
        font-size: 12px;
        line-height: 20px;
        flex: 0 0 auto;
        margin-top: auto;
        margin-bottom: 0;
    }

    .arrow img{
        height: 40px;
    }

    .block-program{
        justify-content: center;
        align-items: center;
        width: 750px;
        gap: 0;
        height: 1100px;
        flex-wrap: wrap;

        .block-work{
            margin-left: 30px;
        }
    }

    .first-block{
        width: 600px;
        height: 550px;
    }

    .second-block{
        width: 600px;
        height: 550px;
    }

    .program-basic{
        font-size: 20px;
        line-height: 20px;
        margin: 0 0 20px 0;
    }

    .program-basic-text{
        font-size: 30px;
        line-height: 30px;
        margin: 0 0 40px 0;
    }

    .button {
        margin-left: 400px;
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
    }

    .block-map{
        width: 100vw;
        height: 550px;
        max-width: 1124px !important;
        min-width: 750px !important;
    }

    .block-map .block-map-header{
        display: flex;
        align-self: center;
        height: 120px;
        width: 100vw;
    }

    .block-map .block-map-header .text-block-map {
        margin-left: 40px;
        margin-top: 40px;
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 20px;
    }

    .block-map .block-map-footer{
        width: 750px;
        display: flex;
        background: none;
    }

    .block-map .block-map-footer .img-block-map{
        width: 600px;
        height: 430px;
        box-sizing: border-box;
    }

    .block-about-experts{
        display: flex;
        width: 600px;
        height: auto;
        padding: 40px 40px 20px 40px;
    }

    .block-about-text-text{
        font-size: 18px;
        line-height: 20px;
    }

    .clients-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
        width: 500px;
        margin-top: 30px;
    }

    .client-item {
        width: 90px;
        height: 90px;
    }

    .client-item img{
        width: 80px;
    }

    footer{
        height: 550px !important;
        width: 600px !important;
    }

    footer .footer-white{
        margin-top: 20px;
        margin-left: 40px;
        height: 380px !important;
    }

    footer .footer-white .footer-white-text-f{
        font-size: 20px;
        line-height: 20px;
    }

    footer .footer-white .footer-white-text-s{
        font-size: 12px;
        line-height: 20px;
    }

    footer .footer-white .contact{
        font-size: 20px;
        line-height: 30px;
        margin-top: 60px;
    }

    footer .footer-grey{
        height: 170px !important;
    }

    .header-footer{
        height: 40px;
        align-items: center;
        gap: 20px;
    }

    .header-footer .logo-text-foot{
        font-size: 12px;
        padding: 10px 20px 10px 20px;
    }

    .header-footer .block-nav-foot{
        height: 20px;
        white-space: nowrap;
        display: flex;
        gap: 40px;
    }

    .header-footer .block-nav-foot .nav-btn{
        white-space: nowrap;
        display: flex;
        gap: 10px;
        height: 20px;
        font-size: 6px !important;
        padding-bottom: 10px;
        align-items: center;

        button{
            font-size: 6px !important;
        }
    }

    .footer-footer{
        display: flex;
        margin-left: 20px;
        color: white;
        font-size: 10px !important;
    }

    .scroll-to-top-btn {
        display: none !important;
    }

    /* Стили для модального окна */
    .form {
        max-height: 80vh;
        padding: 30px 20px 20px 20px;
        margin: 10px;
    }

    .close-form-btn {
        width: 20px;
        height: 20px;
    }

    .close-icon {
        width: 20px;
        height: 20px;
    }

    .text-form{
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .first-input,
    .second-input,
    .third-input,
    .fourth-input,
    .number-form,
    .email-form{
        gap: 10px;
        margin-bottom: 20px;
    }

    .input-text{
        font-size: 10px;
        line-height: 10px;
    }

    .input{
        height: 30px;
        font-size: 10px;
        padding: 10px;
    }

    .email-and-number-input {
        gap: 20px;
        margin-bottom: 20px;
    }

    .number-form input,
    .email-form input {
        height: 30px;
        padding: 0 10px;
        font-size: 10px;
    }

    .checkbox-form {
        margin-bottom: 20px;
    }

    .custom-checkbox {
        gap: 10px;
    }

    .checkmark {
        width: 30px;
        height: 30px;
    }

    .check-icon {
        width: 30px;
        height: 30px;
    }

    .checkbox-text {
        font-size: 10px;
        line-height: 10px;
        height: 30px;
    }

    .error-message {
        font-size: 8px;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .button-form button {
        height: 30px;
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 10px;
        margin-left: auto;
        font-size: 6px;
        line-height: 10px;
    }
}
@media (min-width: 300px) and (max-width: 599px){
    .header{
        width: 100vw;
        height: 30px;
    }

    .header-info{
        width: 90% !important;
    }

    .logo-text{
        font-size: 12px !important;
        padding: 10px 40px 10px 20px;
    }

    .block-nav{
        display: none !important;
    }

    .moscow-scroll{
        width: 100vw;
        height: 750px !important;
        background-size: cover !important;
        animation: none;
    }

    .swap-block{
        display: flex;
        width: 100%;
        flex-direction: column;
        height: 750px !important;
    }

    .map-text-f{
        width: 100%;
        height: 60px !important;
        margin-top: 15px;
    }

    .first-moscow-text{
        margin-top: 20px;
        font-size: 30px;
        margin-bottom: 10px;
    }

    .text-and-button{
        height: auto;
        align-items: center;
        justify-content: center;
    }

    .text-t{
        margin-left: 0;
        transform: none;
        max-height: 650px;
        width: 280px !important;
        align-self: center;
        height: 560px;
    }

    .text-flex{
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 30px;
    }

    .first-text-flex{
        font-size: 20px;
        line-height: 20px;
    }

    .second-text-flex{
        margin-top: 20px !important;
        margin-bottom: 10px !important;
        font-size: 12px;
    }

    .third-text-flex{
        font-size: 12px;
        line-height: 18px;
    }

    .moscow-b{
        margin-top: 15px;
        margin-bottom: 30px;
        gap: 20px;
    }

    .add-application{
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        font-size: 8px;
        line-height: 10px;
        border-radius: 10px;
    }

    .course-presentation{
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        font-size: 8px;
        line-height: 10px;
        border-radius: 10px;
    }

    .nav-block-slide{
        gap: 5px;
        height: 20px;
        margin-bottom: 30px;
    }

    .slide-right, .slide-left {
        width: 20px !important;
        height: 20px !important;
        font-size: 10px !important;
    }

    .slide-block{
        gap: 5px;
    }

    .slide-block > div {
        width: 5px;
        height: 5px;
        border-radius: 5px;
    }

    .slide-block > div.true {
        width: 15px;
    }

    .open{
        width: 15px;
        height: 5px;
    }

    .close{
        width: 5px;
        height: 5px;
    }

    .about-project {
        display: flex;
        height: auto;
        max-height: 2200px;
        flex-wrap: wrap !important;
        width: 100vw !important;
        min-width: 300px;
        max-width: 599px;
        justify-content: center;
    }

    .about {
        width: 100%;
        height: auto;
    }

    .add-block{
        width: 200px;
        margin-left: 50px;
        margin-right: 50px;
    }

    .add-block-text-f{
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .add-block-text-s{
        font-size: 12px;
        line-height: 15px;
        margin-bottom: 20px;
    }

    .add-btn button{
        height: 30px !important;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
        margin-bottom: 30px;
    }

    .about-second .about-img,
    .about-third .about-img,
    .about-fourth .about-img {
        min-height: 180px !important;
        height: auto;
        display: flex;
    }

    .about-second .about-text,
    .about-third .about-text,
    .about-fourth .about-text {
        font-size: 12px;
        line-height: 20px;
        display: flex;
        height: auto;
        min-height: 160px !important;
    }

    .about-second .about-text p,
    .about-third .about-text p,
    .about-fourth .about-text p {
        padding: 20px 10px 20px 10px;
    }

    .block {
        height: auto;
        width: 100vw;
        margin-bottom: 30px;
        display: flex;
        justify-content: center;
    }

    .block-work {
        display: flex;
        align-self: center;
        width: 80%;
        min-width: 280px;
        height: auto;
        box-sizing: border-box;
        margin-left: 20px !important;
    }

    .block-work-all{
        width: 100% !important;
        height: auto;
    }

    .block-work-text-s{
        height: auto;
    }

    .block-work .button-f {
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
        margin-top: 30px;
    }

    .block-work .button-s {
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
        margin-top: 30px;
    }

    .block-work-text-f{
        font-size: 20px;
        line-height: 20px;
    }

    .block-work-text-s{
        font-size: 12px;
        line-height: 20px;
    }

    .block-img {
        display: none !important;
    }

    .equipment-list {
        font-size: 12px;
        line-height: 20px;
        padding-left: 20px;
    }

    .list-title {
        margin: 20px 0 10px 0;
        font-size: 12px;
        line-height: 20px;
    }

    .block-work .equipment-list-block {
        padding-left: 20px;
        font-size: 12px;
        line-height: 20px;
        margin: 0 0 30px 0;
    }

    .program{
        justify-content: center;
        align-items: center;
        height: auto;
        width: 100vw;
    }

    .program-info-text{
        height: auto;
        width: 100vw;
    }

    .program-text{
        height: auto;
        margin: 20px 20px 10px 20px;
        line-height: 20px;
    }

    .program-text-f{
        font-size: 20px;
        margin: 0;
    }

    .program-text-s{
        font-size: 12px;
        line-height: 20px;
    }

    .program-info{
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .first-program,
    .second-program,
    .third-program {
        display: flex;
        flex-direction: column;
        height: auto;
        width: 100vw;
    }

    .photo{
        height: auto;
        width: auto;
        margin-top: 20px;
        margin-left: 20px;
        margin-right: 20px;
        display: flex;
    }

    .photo img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .text{
        height: auto;
        margin: 10px 20px 20px 20px;
        padding: 0;
        display: flex;
        flex-direction: column;
    }

    .text p {
        margin: 0;
    }

    .text-title {
        width: 100%;
        font-size: 20px;
        line-height: 20px;
        height: auto;
        overflow: hidden;
    }

    .text-description {
        font-size: 12px;
        line-height: 20px;
        margin-top: 10px !important;
        flex: 1;
        margin-bottom: 10px !important;
        overflow-y: auto;
        z-index: 2;
    }

    .text-footer {
        font-size: 12px;
        line-height: 20px;
        flex: 0 0 auto;
        margin-top: auto;
        margin-bottom: 0;
    }

    .program-footer{
        z-index: 1;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .arrow{
        display: flex;
        align-items: center;
        cursor: pointer;
    }

    .arrow img{
        height: 40px;
    }

    .block-program{
        justify-content: center;
        align-items: center;
        width: 100vw;
        gap: 0;
        height: auto;
        flex-wrap: wrap;

        .block-work{
            margin-left: 20px !important;
            display: flex;
            flex-direction: column;

            a {
                align-self: end;
            }
        }
    }

    .first-block{
        width: 100%;
        height: auto;
    }

    .second-block{
        width: 100%;
        height: auto;
    }

    .program-basic{
        font-size: 20px;
        line-height: 20px;
        margin: 30px 0 20px 0;
    }

    .program-basic-text{
        font-size: 30px;
        line-height: 30px;
        margin: 0 0 40px 0;
    }

    .button {
        margin-left: auto;
        height: 30px;
        padding-right: 10px;
        padding-left: 10px;
        word-wrap: unset;
        border-radius: 10px;
        font-size: 8px;
        line-height: 10px;
        margin-bottom: 30px;
    }

    .block-map {
        width: 100vw;
        height: auto;
        overflow: hidden;
    }

    .block-map .block-map-header {
        display: flex;
        align-self: center;
        height: auto;
        width: 100vw;
        box-sizing: border-box;
    }

    .block-map .block-map-header .text-block-map {
        margin: 20px 20px 10px 20px;
        font-size: 20px;
        line-height: 20px;
        width: 100%;
    }

    .block-map .block-map-footer {
        width: 100%;
        display: flex;
        background: none;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
    }

    .block-map .block-map-footer .img-block-map {
        width: 100%;
        height: auto;
        max-width: 100%;
        box-sizing: border-box;
        display: block;
    }

    .block-map .block-map-footer .img-block-map img {
        width: 100%;
        height: auto;
        max-width: 100%;
        display: block;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .block-about-experts{
        display: flex;
        width: 100vw;
        height: auto;
        padding: 20px 20px 10px 20px;
    }

    .block-about-text{
        margin-bottom: 20px;
    }

    .block-about-text-text{
        font-size: 18px;
        line-height: 20px;
    }

    .clients-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 2px;
        width: auto;
        margin-top: 0;
    }

    .client-item {
        width: 80px;
        height: 80px;
    }

    .client-item img{
        width: 70px;
    }

    footer{
        height: auto;
        width: 100vw;
    }

    footer .footer-white{
        margin: 20px 20px 10px 20px;
        height: auto!important;
        width: 100%;
    }

    footer .footer-white .footer-white-text-f{
        font-size: 20px;
        line-height: 20px;
    }

    footer .footer-white .footer-white-text-s{
        font-size: 12px;
        line-height: 20px;
    }

    footer .footer-white .contact{
        font-size: 20px;
        line-height: 30px;
        margin-top: 20px;
    }

    footer .footer-grey{
        height: 170px !important;
    }

    .header-footer{
        height: 40px;
        align-items: start;
        gap: 0;
        flex-direction: column;
    }

    .header-footer .logo-text-foot{
        font-size: 12px;
        padding: 0 20px 0 20px;
    }

    .header-footer .block-nav-foot{
        margin-left: 20px;
        height: 60px;
        white-space: nowrap;
        display: flex;
        flex-direction: column;
        gap: 10px !important;
    }

    .header-footer .block-nav-foot .nav-btn{
        white-space: nowrap;
        display: flex;
        gap: 10px;
        height: 15px;
        font-size: 8px !important;
        padding-bottom: 10px;
        padding-top: 10px;
        align-items: center;
        margin-top: 0;

        button{
            font-size: 8px !important;
        }
    }

    .footer-footer{
        display: flex;
        margin-left: 20px;
        color: white;
        font-size: 10px !important;
    }

    .scroll-to-top-btn {
        display: none !important;
    }

    /* Стили для модального окна */
    .form {
        max-height: 80vh;
        padding: 30px 20px 20px 20px;
        margin: 10px;
    }

    .close-form-btn {
        width: 30px;
        height: 30px;
    }

    .close-icon {
        width: 30px;
        height: 30px;
    }

    .text-form{
        font-size: 20px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    .first-input,
    .second-input,
    .third-input,
    .fourth-input,
    .number-form,
    .email-form{
        gap: 10px;
        margin-bottom: 20px;
    }

    .input-text{
        font-size: 10px;
        line-height: 10px;
    }

    .input{
        height: 30px;
        font-size: 10px;
        padding: 0;
    }

    select.input {
        background-position: right 10px center;
        background-size: 8px 8px;
        padding-right: 30px;
    }

    .email-and-number-input {
        gap: 0;
        margin-bottom: 20px;
        flex-direction: column;
    }

    .number-form input,
    .email-form input {
        height: 30px;
        padding: 0 10px;
        font-size: 10px;
    }

    .checkbox-form {
        margin-bottom: 20px;
    }

    .custom-checkbox {
        gap: 10px;
    }

    .checkmark {
        width: 30px;
        height: 30px;
    }

    .check-icon {
        width: 30px;
        height: 30px;
    }

    .checkbox-text {
        font-size: 10px;
        line-height: 10px;
        height: 30px;
    }

    .error-message {
        font-size: 8px;
        margin-top: -10px;
        margin-bottom: -10px;
    }

    .button-form button {
        height: 30px;
        padding-right: 15px;
        padding-left: 15px;
        border-radius: 10px;
        margin-left: auto;
        font-size: 6px;
        line-height: 10px;
    }
}