/* #FDDD54 */
/* #133776 */

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    font-family: "Teachers", serif;
    font-weight: 400;
    font-style: normal;
}

a {
    text-decoration: none;
}

.bold {
    font-weight: 700;
}

/* burger */
.hamburger {
    display: none;
    align-items: center;
    width: 40px;
    margin-left: 10px;
}

.hamburger span {
    display: block;
    height: 5px;
    width: 100%;
    background: #fff;

    border-radius: 2px;
    margin-bottom: 5px;
    transition: 0.5s all;
    margin-top: 5px;
}

.hamburger_active {
    margin-bottom: 15px;
}

.hamburger_active span {
    margin-bottom: -5px;
}

.hamburger_active span:nth-child(1) {
    transform: translateY(5px) rotate(-45deg);
}

.hamburger_active span:nth-child(2) {
    display: none;
}

.hamburger_active span:nth-child(3) {
    transform: translateY(1px) rotate(45deg);
}

.language-options li {
    z-index: 1000;
}

/* container */
.container {
    max-width: 1340px;
    margin: 0 auto;
}

.scroll {
    position: fixed;
    width: 100%;
    margin-bottom: 50px;
    z-index: 1000;
    background-color: #113776;
    z-index: 1000;
}


/* header */
header {
    /* display: grid;
    grid-template-columns: repeat(12, 90px);
    gap: 5px; */
    /* grid-template-rows: 70px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;

}


nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #fff;
    font-weight: bold;
    padding: 5px 4px;
    border: 2px solid transparent;
    transition: background-color 0.3s ease, border 0.3s ease;
}


nav ul li a:hover {
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}


.main-logo {
    max-width: 300px;
    max-height: 100px;
}

.main-logo img {
    width: 100%;
}

.actions {
    display: flex;
    align-items: center;
}

/* Custom select */
.custom-select {
    position: relative;
    font-size: 14px;
    cursor: pointer;
}

.selected-option {
    background-color: #fff;
    height: 50px;
    padding: 8px 24px;
    border: 2px solid #5271FF;
    border-radius: 4px;
    display: flex;
    align-items: center;
}

.selected-option img {
    height: 10px;
}

.selected-option span,
.custom-select li {
    font-weight: 700;
    user-select: none;
    color: #113776;
}

.select-options {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: -100%;
    background-color: #fff;
    border: 1px solid #113776;
    border-radius: 2px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.select-options li {
    list-style: none;
    padding: 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.select-options li img {
    margin-right: 10px;
    height: 10px;
}

.select-options li:hover {
    background-color: #e0e0e0;
}

.custom-select.active .select-options {
    display: block;
}

.register-btn {
    align-content: center;
    height: 50px;
    background-color: #5271FF;
    color: fff;
    padding: 5px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 2px;
    border: 2px solid #5271FF;
    transition: background-color 0.3s ease, border 0.3s ease;
}

.register-btn:hover {
    background-color: white;
    color: #5271FF;
    border: 2px solid #5271FF;
}

.select-options.open {
    display: block;
}


/* main */

/* hero section */

.hero {
    position: relative;
    padding: 0 0 0 0;
    background-image: url('../img/bg/main-bg.jpg');
    width: 100%;
    height: 100vh;
}

.hero-box {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(115deg, #5271FF 50%, #7b9cfe);
    border-radius: 10px;
}


.hero_title {
    position: absolute;
    display: block;
    font-size: 100px;
    font-weight: 900;
    line-height: 50px;
    color: #113776;
    z-index: 999;
}

.hero_register {
    margin-top: 20px;
    background-color: #fff;
    font-size: 18px;
    font-weight: 600;
    color: #5271FF;
    padding: 8px 15px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    border: 2px solid #5271FF;
    transition: background-color 0.3s ease, border 0.3s ease;
}

.hero_register:hover {
    border: 2px solid #28ACBF;
}

.img-stub {
    width: 400px;
    height: 100vh;
    background-color: #ccc;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}



#courses {
    padding-top: 80px;
}
.course {
    padding-top: 50px;
    border-radius: 3px;
}
.course__title {
    font-size: 40px;
    font-weight: 700;
    color: #113776;
}

.course__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10px;
    margin-top: 30px;
    list-style-type: none;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    padding-left: 0;
    
}

.course__tab {
    background-color: #113776;
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    line-height: 48px;
    border-radius: 2px;
    cursor: pointer;
    transition: .5s all
}
.course__tab:hover {
    transform: scale(1.02);
}
.course__tab-text {
    font-weight: 500;
}
.course__tab_active {
    color: #fff;
    background-color: #fddd54;
    border: none;
}

.course__content {
    margin-top: 20px;
    display: none;
    gap: 10px;
}
.grid_course {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 10px;
}

.course__content_active {
    display: block;
}

.title1 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #113776;
}

.course-item {
    width: 100%;
    border: 1px solid #113776;
    border-radius: 3px;
    padding: 20px 50px;
    overflow: hidden;
    margin-bottom: 20px;
    transition: 0.3s all;
}
.course-item:hover {
    transform: scale(1.02);
}
.course__list-item {
    font-size: 24px;
    color: #113776;
    font-weight: 400;
    margin-bottom: 20px;
}
.course-item hr {
    background-color: #113776;
    margin-top: 19px;
    margin-bottom: 21px;
    border-bottom: none;
    margin-top: 40px;
}
.price span, .price {
    font-size: 24px;
    text-align: end;
    color: #113776;
}
.price span {
    font-weight: 500;
}
.form-btn {
    width: 100%;
    height: 50px;
    margin-top: 20px;
    border: 2px solid #fddd54;

    background-color: #fddd54;
    color: #113776;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s all;
    border-radius: 3px;
    
}
.form-btn:hover {
    background-color: #fff;
}




/* exams */

.exams {
    padding: 100px 0 0 0;
}
.exams_soon {
    font-size: 28px;
    font-weight: 700;
    color: #113776;
}

.exams_title {
    font-size: 42px;
    font-weight: 700;
    color: #fddd54;
    margin-right: 30px;
}

/* consult */

.consult {
    padding: 50px 0 0 0;
    display: flex;
}

.consult_side {
    padding: 20px;
    width: 55%;
    height: auto;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    background: linear-gradient(115deg, #5271FF 50%, #a4baff);

    text-align: end;
}

.consult_title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.consult_descr {
    width: 70%;
    color: #fff;
    font-size: 18px;
    display: flex;
    justify-content: end;
    text-align: end;
    margin-left: 30%;
}

.consult_btn {
    padding: 10px;
    margin-top: 15px;
    border-radius: 10px;
    border: none;
    color: #5271FF;
    font-weight: 600;
    transition: 0.3s ease;
}

.consult_btn:hover {
    transform: scale(1.05);
}

/* test */

.test_side {
    padding: 20px;
    width: 44%;
    height: auto;
    margin-left: 20px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background: linear-gradient(35deg, #a4baff 20%, #5271FF 80%);

}

.test_title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.test_descr {
    color: #fff;
    font-size: 18px;
    height: 48px;
}

.test_btn {
    padding: 10px;
    margin-top: 15px;
    border-radius: 10px;
    border: none;
    color: #5271FF;
    font-weight: 600;
    transition: 0.3s ease;
}

.test_btn:hover {
    transform: scale(1.05);
}



/* contact */

.contact_side {
    background-color: #fff;
    padding: 40px 20px;
    border-radius: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.contact_info {
    flex: 1 1 100px;
    padding: 30px;
    border-radius: 3px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: 0.3s ease;
}

.contact_info:hover {
    transform: scale(1.01);
}

.contact_info h3 {
    margin-bottom: 20px;
    font-size: 40px;
    line-height: 40px;
    color: #2b5392;
    font-weight: 700;
}

.contact_info p {
    font-size: 20px;
    color: #2b5392;
    font-weight: 500;
    margin: 10px 0;
}

.social-media {
    margin-top: 20px;
}

.social-media-i {
    color: #113776;
}

.social-media a {
    color: #5271FF;
    font-size: 24px;
    margin: 0 10px;
    text-decoration: none;
    transition: color 0.3s;
}

.social-media-i:hover {
    opacity: .9;
}

/* registration */
.registration-container {
    width: 100%;
    height: 100vh;
    background-color: #113776;
    display: grid;
    grid-template-columns: 1fr 20vw 1fr;
    grid-template-rows: 1fr 70vh 1fr;
}

.registration {
    max-width: 550px;
    display: grid;
    grid-template-columns: 250px 150px;
    grid-template-rows: 50px 150px 300px;
    /* background-color: #fff; */
    grid-column: 2;
    grid-row: 2;
    row-gap: 20px;
}

.logo {
    grid-column: 1/2;
    grid-row: 1/2;
}

.logo img {
    width: 220px;
    height: 120%;
}

.intro {
    margin-top: 20px;
    grid-column: 1/3;
    grid-row: 2/3;
}

.intro__title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    font-family: "Open-sans", serif;
}

.intro__subtitle {
    font-family: "Open-sans", serif;

    margin-top: 10px;
    font-size: 18px;
    color: #fff;
    font-weight: 400;
}

.main-form {
    grid-column: 1/3;
    grid-row: 3/4;
    display: flex;
    flex-direction: column;
}

.main-form input {
    width: 100%;
    height: 60px;
    border-radius: 3px;
    padding: 0 0 0 20px;
}

.submit-button {
    border-radius: 3px;
    height: 60px;
    border: none;
}

.info_text {
    color: #fff;
    text-align: center;
}

.registration-container-mobile {
    display: none;
}

.yellow {
    color: #fddd54;
    font-family: "Open-sans", serif;

}


.registration-container-mobile {
    width: 100%;
    height: 100vh;
    background-color: #113776;
}
.registration-mobile {
    display: grid;
    grid-template-columns: 200px 120px;
    grid-template-rows: 40px 180px 300px;
    row-gap: 20px;
    grid-column: 2;
    grid-row: 2;
}


/* map */

.map {
    width: 100%;
    border-radius: 3px;
    height: 100%;
    border: none;
}



/* footer */

.footer {
    background-color: #113776;
    padding: 50px;
    margin-top: 60px;
    padding: 60px 20px;
}
.footer-contacts {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding-bottom: 100px;
    gap: 30px;
}

.footer-container {
    max-width: 1340px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-column {
    flex-basis: 22%;
}

.footer-column a {
    font-size: 18px;
    line-height: 16px;
}

.footer-heading {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #fff;
}

.footer-info-small {
    font-size: 18px;
    line-height: 17px;
    margin-bottom: 10px;
    color: #fff;
}


.footer-link {
    display: block;
    font-size: 15px;
    color: #fff;
    margin-bottom: 10px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #aaa;
}


.footer-social {
    font-size: 32px;
    margin-right: 20px;
    transition: color 0.3s ease;
    color: #fff;
}



.footer-bottom {
    margin-top: 40px;
    border-top: 1px solid #fff;
    padding-top: 20px;
    text-align: center;
    font-size: 14px;
    color: #fff;
}





/* form */

/* first form */


.form-box {
    padding: 35px 30px;
    background-color: rgba(17, 55, 118, 0.8);
    position: absolute;
    transform: translateY(-50%);
    top: calc(50% + 70px);

    right: 10%;

}

form {

    max-width: 505px;

    display: grid;
    grid-template-columns: repeat(2, 250px);
    grid-template-rows: repeat(3, 70px);

    grid-auto-rows: 70px;
    row-gap: 10px;
    column-gap: 5px;
    transition: .3s all;
}

.form-box {
    opacity: 0;
    animation: ani 2s forwards;
}

@keyframes ani {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.form__title {
    max-width: 500px;
    color: #fff;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 10px;
}

.form__subtitle {
    max-width: 400px;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
}

#main-way-select,
#main-name,
#main-phone {
    width: 100%;
    height: 100%;
    padding-left: 10px;
    font-size: 22px;
}

#main-phone {
    margin-right: 10px;
}

.select-box {
    grid-column: 1/3;
    grid-row: 1/2;
}

.name-box {
    grid-column: 1/2;
    grid-row: 2;
}

.phone-box {
    grid-column: 2;
    grid-row: 2;
}

.submit-btn {
    grid-column: 1/3;
    grid-row: 3/4;
    width: 100%;
    padding: 15px;
    border-radius: 2px;
    border: 1px solid #113776;
    color: #113776;
    font-weight: 500;
    font-size: 28px;
    cursor: pointer;
    transition: background-color 0.3s;
    background-color: #fddd54;
    transition: 0.3s ease;
}

.form button:active {
    background-color: #113776;
    border: 1px solid #fff;
    color: #fff;
}

.form button:hover {
    transform: scale(1.01);
}

input {
    border: none;
}



/* about */
/* 
.congrats {
    height: 90vh;
    margin: auto 0;
    padding-top: 20%;
}

.congrats-flexbox {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
}

.congrats_title {
    font-size: 64px;
    font-weight: 700;
    color: #5271FF;
    vertical-align: center;
}

.congrats_btn {
    border: 2px solid #5271FF;
    padding: 15px;
    border-radius: 5px;
    background-color: #5271FF;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    transition: 0.3s ease
}

.congrats_btn:hover {
    background-color: #fff;
    color: #5271FF;
} */

/* aboutus */

.aboutus {
    padding: 50px 0 0 0;
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    gap: 30px;
    justify-content: start;
    padding-top: 150px;
}

.img-stub1 {
    border-radius: 5px;
}

.aboutus_title {
    max-width: 500px;
    text-transform: uppercase;
    font-size: 32px;
    color: #fddd54;
    font-weight: 700;
    margin-bottom: 20px;

}

.aboutus_descr {
    max-width: 800px;
    font-size: 20px;
    font-weight: 400;
    color: #113776;
}


/* about center */

.aboutcenter_title {
    font-size: 32px;
    font-weight: 700;
    color: #5271FF;
}

.aboutcenter_descr {
    font-size: 20px;
    font-weight: 400;
    color: #5271FF;
}

.aboutcenter_descr2 {
    max-width: 50%;
    font-size: 20px;
    font-weight: 400;
    color: #5271FF;
    margin-top: 20px;
}

.aboutcenter_photos {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.aboutcenter_photo {
    width: 48%;
    height: 300px;
    transition: 0.3s ease;

}

.aboutcenter_photo:hover {
    transform: scale(1.01);
}



/* consult */

.consulting {
    padding: 150px 0 50px 0;
    margin: 0;
}

.consulting_title {
    color: #fddd54;
    font-size: 36px;
    font-weight: 700;
}

.consulting_descr {
    max-width: 70%;
    font-size: 28px;
    font-weight: 300;
    color: #113776;
}

/* servises */

.servises {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.first-servise,
.second-servise {
    padding: 20px;
    width: 50%;
    border-radius: 5px;
}

.first-servise_title,
.second-servise_title {
    font-size: 32px;
    font-weight: 700;
    color: #fddd54;
    margin-bottom: 20px;
}

.first-servise_descr,
.second-servise_descr {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 20px;
}

.servises_list {
    font-size: 20px;
    margin-left: 20px;
    max-width: 90%;
}

.servises_item {
    margin-bottom: 10px;
    color: #f7f4f4;
    font-weight: 200;
    line-height: 22px;
}

hr {
    margin-bottom: 20px;
    background-color: #fff;
    height: 3px;
}

.servises_end {
    font-size: 28px;
    color: #113776;
    max-width: 60%;
    font-weight: 300;
}

.consult-add {
    margin-top: 50px;
}

.servises_btn {
    padding: 15px;
    background-color: #113776;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-size: 24px;
    margin-top: 20px;
}

.hero {
    padding-top: 60px;
}

.test_title,
.test_descr,
.test_btn {
    background-color: #245392;
    display: none;
}

.register-btn {
    background-color: #fddd54;
    border: 2px solid #fddd54;
    color: #1d4481;
}

.register-btn:hover {
    border: 2px solid #fddd54;
    color: #113776;
}

.consult_btn {
    color: #113776;
    background-color: #fddd54;
}


.hero_register {
    background-color: #fddd54;
}

.hero_register:hover {
    border: 2px solid #fddd54;
}

.course_price:hover {
    background-color: #fddd54;
    color: #5271FF;
}

.congrats_btn {
    background-color: #fddd54;
    border: 2px solid #fddd54;
    color: #5271FF;
}

.congrats_btn:hover {
    color: #ffe100;
}

.main-photo {
    width: 100%;
    height: 100%;
    border-radius: 2px;
}

.about-photo {
    border-radius: 5px;
}

form button {
    background-color: #ffe100;
}

.img-stub {
    height: 100%;
    width: 600px;
}

.hero_leftside {
    padding: 70px 40px;
}


.img_stub {
    background-color: #ccc;
}

.first-servise,
.second-servise {
    background: linear-gradient(30deg, #143d7e 30%, #6588ef);
}

.about-redirect_title {
    margin-top: 10px;
}

.about-redirect_icon {
    margin-top: 15px;
}

.courses_wrap {
    gap: 15px;
}

.fifth_course-box {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.aboutus_descr {
    line-height: 24px;
}

.feedback {
    background: linear-gradient(45deg, #5271FF 40%, #a4baff);

}

#name, #phone {
    font-size: 20px;

}
.submit-button {
    font-size: 22px;
    color: #113776;
    font-weight: 500;
}
.navbar {
    display: block;
}
.navbar_mobile {
    display: none;
}





.footer-column-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    grid-column: 1/3;
}
.footer-column:last-child {
    text-align: end;
}
.footer-column i {
    text-align: end;
}


.img-stub {
    background-color: #fff;
}


@media (min-width: 1400px) {

    .footer-column {
        flex-basis: 20%;
    }

    .footer-heading {
        font-size: 26px;
    }

    .footer-info-small {
        font-size: 14px;
    }

    .footer-link {
        font-size: 16px;
    }

    .footer-social {
        font-size: 24px;
    }
    .main-photo {
        max-width: 550px;
    }

}

@media (max-width: 1399px) {

    .course_descr {
        font-size: 19px;
    }

    .footer-heading {
        line-height: 31px;
    }

    .background-text {
        font-size: 215px;
        top: 26%;
    }

    .contact_info-form {
        width: 100%;
    }

    .contact_info-form h3 {
        line-height: 36px;
        font-size: 36px;
    }

    .contact_info-form p {
        font-size: 14px;
    }

    .aboutus {
        padding: 100px 20px;
        gap: 30px;
    }

    .aboutcenter_photo {
        width: 40%;
    }

    .img-stub, .main-photo {
        max-width: 550px;
    }
    .header {
        padding: 0 20px;
    }

    .servises {
        padding: 0 10px;
    }
    .consulting {
        padding: 0 10px 40px 10px;
    }
    .consult-add {
        padding: 0 10px;
    }
    .course {
        padding: 0 10px;
    }
}


@media (max-width: 1199px) {

    .hero_title {
        font-size: 38px;
        line-height: 45px;
    }

    .img-stub {
        max-width: 450px;
    }

    .consult_descr {
        font-size: 17px;
    }

    .consult_side {
        width: 80%;
    }

    .courses_title {
        font-size: 40px;
    }

    .course-box {
        padding: 10px 15px;
    }

    .course_descr {
        font-size: 15px;
    }

    .course_price {
        margin-top: 0;
    }

    .background-text {
        font-size: 170px;
        top: 40%;
    }

    .exams_box {
        padding: 15px;
    }

    .month {
        font-size: 26px;
    }

    .exams_firstday,
    .exams_secondday {
        font-size: 20px;
    }

    .exams_list-item {
        padding: 10px 5px 10px 10px;
    }

    .contact_info h3 {
        font-size: 38px;
    }

    .contact_info p {
        font-size: 18px;
    }

    .footer-container {
        padding: 0 40px;
    }

    .footer-column {
        flex-basis: 22%;
    }

    .footer-heading {
        font-size: 24px;
    }

    .footer-info-small {
        font-size: 15px;
    }

    .footer-link {
        font-size: 15px;
    }

    .footer-social {
        font-size: 22px;
    }

    #name,
    #lastname {
        margin-right: 16px;
    }

    .contact_info-form {
        width: 150%;
    }

    .right-split {
        max-width: 70%;
    }

    .contact_info-form h3 {
        font-size: 34px;
    }

    .contact_info-form p {
        font-size: 13px;
    }

    .aboutcenter_photos {
        justify-content: center;
    }

    .fifth_course {
        display: none;
    }

    #form {
        max-width: 405px;

        display: grid;
        grid-template-columns: repeat(2, 200px);
    }
    .main-photo {
        height: 350px;
    }
    .img-stub {
        height: 0;
    }
    .aboutus_title {
        font-size: 26px;
    }
    .aboutus_descr {
        font-size: 16px;
        line-height: 20px;
    }
    .consulting {
        padding: 100px 20px 50px 20px;
    }
    .price {
        width: 100%;
    }
    .course-item {
        padding: 20px 40px;
    }
    .exams {
        padding: 100px 10px 0 10px;
    }
    .footer-contacts {
        display: flex;
        flex-direction: column;
    }
    .footer-container {
        justify-content: space-around;
        flex-wrap: nowrap;
    }
    .footer-column-container {
        display: flex;
        flex-direction: column;
        justify-content:flex-start;
    }
    .footer-column:last-child {
        text-align:start;
    }
    .footer-contacts {
        width: 100%;
    }
    .map {
        height: 500px;
    }
}


@media (max-width: 991px) {
    .navbar_mobile {
        display: block;

    }
    .main-photo {
        max-width: 700px;
        width: 100%;
    }

    .hero-box {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }

    .hero_leftside {
        padding: 20px 40px;
    }

    .hero_title {
        font-size: 32px;
        line-height: 32px;
    }

    .img-stub {
        border-radius: 5px;
        margin: 0 auto;
        margin-top: 20px;
        margin-bottom: 0;
    }

    .img-stub {
        max-width: 100vw;
    }

    .consult_side,
    .test_side {
        width: 90%;
    }

    .test_side {
        margin-left: 77px;
        margin-top: 20px;
    }

    .courses_wrap {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }


    .consult,
    .test {
        flex-direction: column;
    }

    .contact_info h3 {
        font-size: 30px;
    }

    .contact_info p {
        font-size: 14px;
    }

    .footer-container {
        flex-direction: column;
        padding: 0 30px;
    }

    .footer-column {
        flex-basis: 100%;
        text-align: center;
    }

    .footer-heading {
        font-size: 28px;
    }

    .footer-info-small {
        font-size: 14px;
    }

    .footer-link {
        font-size: 14px;
    }

    .footer-social {
        font-size: 20px;
    }

    .footer-bottom {
        font-size: 13px;
    }

    .contact_info-form {
        display: none;
    }

    .feedback-split {
        display: block;
    }

    .right-split {
        max-width: 100%;
    }

    .emoji img {
        width: 100px;
        height: 100px;
    }

    .congrats_title {
        font-size: 52px;
    }

    .img-stub1 {
        margin-top: 0;
        max-width: 300px;
    }
    .main-photo{
        max-height: 360px;
    }

    .aboutus_descr {
        font-size: 15px;
    }

    .aboutcenter_title {
        font-size: 28px;
    }

    .aboutcenter_descr,
    .aboutcenter_descr2 {
        font-size: 15px;
    }

    .hamburger {
        display: block;
    }

    .navbar_mobile__items {
        position: fixed;
        flex-direction: column;
        left: -100%;
        width: 100%;
        z-index: 2;
        height: 100vh;
        padding: 20px 10px;
        background-color: #113776;
        transition: 0.3s ease-out;
        z-index: -3;
        margin: auto 0;

    }

    .navbar {
        display: none;
    
    }

    .navbar_mobile__item {
        display: block;
        width: 100%;
        color: #fff;
        font-size: 32px;
        font-weight: 500;
        border: 1px solid #fff;
        text-align: center;
        border-radius: 5px;
        margin-bottom: 0;
        margin-top: 0;
        height: 70px;
        align-content: center;
    }
    nav ul {
        gap: 10px;
    }
    .menu_active {
        left: 0;
    }

    .fifth_course {
        display: block;
    }
    .header {
        padding: 0 20px;
    }
    .hamburger {
        align-content: center;
    }

    .form-box {
        right: 0;
        margin: 0 auto;
    }
    .header{
        padding: 20px 20px;
    }
    .main-logo img {
        width: 200px;
    }

    .consulting_title {
        font-size: 36px;
    }
    .consulting_descr {
        font-size: 24px;
        max-width: 600px;
        margin-top: 10px;
    }

    .servises {
        flex-direction: column;
        padding: 0 20px;
    }
    .first-servise, .second-servise {
        width: 100%;

    }
    .consult-add {
        padding: 0 20px;
    }
    .servises_end {
        max-width: 500px;
        font-size: 24px;
    }
    .title1 {
        font-size: 20px;
    }
    .course-item {
        padding: 20px 30px;
    }
    .course__list-item {
        margin-bottom: 10px;
        font-size: 18px;
    }
    .course__tab-text {
        font-size: 17px;
    }
    .price {
        font-size: 18px;
    }
    .price span {
        font-size: 22px;
    }
    .mobile-title1 {
        display: none;
    }
    .footer-column {
        text-align: start;
        margin-bottom: 40px;
    }
}



@media (max-width: 767px) {
    .hero-box {
        padding: 50px 20px;
    }

    .main-photo {
        margin-top: 20px;
        max-height: 300px;
    }

    .courses_wrap {
        align-items: center;
    }

    .courses_title {
        font-size: 36px;
    }

    .exams_title {
        font-size: 36px;
    }

    .month {
        font-size: 22px;
    }

    .exams_firstday,
    .exams_secondday {
        font-size: 17px;
    }

    .contact_side,
    .contact_info {
        width: 100%;
        margin-bottom: 30px;
    }

    .test_side {
        margin-left: 58px;
    }


    .contact_side {
        max-width: 100%;
    }

    .contact_info {
        margin-bottom: 0;
    }

    .contact-b {
        gap: 0;
        flex-direction: column;
    }

    .contact_info h3 {
        font-size: 36px;
    }

    .contact_info p {
        font-size: 17px;
    }

    .map {
        width: 100%;
        height: 300px;
    }

    #name,
    #lastname {
        margin-right: 0;
    }

    .mostinput {
        justify-content: start;
        gap: 9px;
    }

    #age {
        max-width: 18%;
        height: 51px;
    }

    .emoji img {
        width: 80px;
        height: 80px;
    }

    .congrats_title {
        font-size: 34px;
    }

    .congrats_btn {
        padding: 7px;
        font-size: 17px;
    }

    .congrats {
        padding-top: 40%;
    }

    .aboutus {
        flex-direction: column;
    }

    .img-stub1 {
        margin: 0;
    }

    .img-stub {
        max-width: 90%;
    }

    .register-btn {
        display: none;
    }
    .aboutus {
        padding: 50px 20px;
    }

    .consulting_title {
        font-size: 32px;
    }
    .consulting_descr {
        font-size: 20px;
        max-width: 500px;
        margin-top: 10px;
    }
    .grid_course {
        display: flex;
        flex-direction: column;
    }
    .title1 {
        display: none;
    }
    .mobile-title1 {
        display: block;
    }

}


@media (max-width: 575px) {

    .logo-box {
        font-size: 26px;
        text-align: center;
    }

    nav ul li {
        font-size: 14px;
    }

    .hero_title {
        font-size: 23px;
        line-height: 28px;
    }

    .register-btn {
        padding: 10px;
        font-size: 14px;
    }

    .course-box {
        margin-bottom: 20px;
    }

    .consult,
    .test {
        flex-direction: column;
    }

    .consult_side,
    .test_side {
        width: 98%;
        padding: 20px;
    }

    .consult_descr {
        width: 100%;
        margin-left: 0;
    }

    .test_side {
        margin-left: 7px;
    }

    .exams_box {
        width: 100%;
    }

    .contact_info h3 {
        font-size: 28px;
    }

    .contact_info p {
        font-size: 14px;
    }

    .contact-b {
        flex-direction: column;
    }

    .img-stub {
        width: 250px;
        height: 250px;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }

    .footer-column {
        flex-basis: 100%;
    }
    .contact_side {
        margin-bottom: 0;
    }
    .footer-contacts {
        padding-bottom: 40px;
    }
    .footer-heading {
        font-size: 28px;
    }

    .footer-info-small {
        font-size: 14px;
    }

    .footer-link {
        font-size: 12px;
    }

    .footer-social {
        font-size: 16px;
    }

    .footer-bottom {
        font-size: 11px;
    }

    .mostinput {
        gap: 0;
        flex-direction: column;
    }

    #age {
        margin-bottom: 20px;
    }

    .feedback {
        padding: 20px;
    }

    #name,
    #lastname,
    #age,
    #phone {
        max-width: 100%;
        width: 100%;
    }

    #age {
        max-width: 40%;
    }

    .feedback_title {
        font-size: 26px;
    }

    #mySection {
        gap: 10px;
    }

    .emoji img {
        width: 50px;
        height: 50px;
    }

    .congrats_title {
        font-size: 24px;
    }

    .congrats_btn {
        font-size: 13px;
    }

    .congrats {
        padding-top: 60%;
    }

    .img-stub1 {
        width: 100%;
    }

    .aboutus {
        padding: 25px;
    }

    .aboutcenter_descr2 {
        max-width: 70%;
    }

    .hero_leftside {
        padding: 0;
    }
    .registration-container {
        display: none;
    }
    .registration-container-mobile {
        display: block;
    }
    .registration-body {
        background-color: #113776;
    }
    .registration-mobile {
        padding: 20px;
    }
    .intro__subtitle {
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .logo {
        grid-column: 1/2;
    }
    .main-logo img {
        width: 180px;
        height: 100%;
    }
    .header {
        height: 70px;
    }
    .form-box {
        top: 50%;
        transform: translateX(-100%);
        transform: translateY(-50%);
        padding: 20px 15px;
        max-width: 320px;
        top: calc(50% + 20px);
    }
    #form {
        display: flex;
        flex-direction: column;
    }
    .select-box {
        height: 50px;
        grid-column: 1/3;
    }
    .name-box {
        height: 50px;
        grid-row: 2;
        grid-column: 1/3;
    }
    .phone-box {
        height: 50px;

        grid-column: 1/3;
        grid-row: 3;
    }
    .submit-btn {
        height: 50px;
        font-size: 18px;
        grid-column: 1/3;
        grid-row: 4;
    }

    .form__title {
        font-size: 24px;
    }
    .form__subtitle {
        font-size: 20px;
    }

    .main-photo {
        max-height: 280px;

    }

    .consulting_title {
        font-size: 28px;
    }
    .consulting_descr {
        font-size: 16px;
        max-width: 500px;
        margin-top: 10px;
    }
    .first-servise_title, .second-servise_title {
        font-size: 25px;
        margin-bottom: 15px;
    }

    .first-servise_descr, .second-servise_descr {
        font-size: 15px;
        margin-bottom: 15px;
    }
    .servises_item {
        font-size: 14px;
        line-height: 16px;
    }
    .servises_end {
        max-width: 400px;
        font-size: 20px;
    }
    .servises_btn {
        width: 100%;
        font-size: 22px;
    }
    .footer {
        padding-right: 2px;
        padding-left: 10px;
    }
}


@media (max-width: 359px) {
    .consult-add {
        padding: 0 5px;
    }
    .aboutus {
        padding: 0;
    }
    .aboutus_descr {
        line-height: 15px;

    }
    .consulting {
        padding: 0;
    }
    .servises {
        padding: 0;
    }
    .first-servise, .second-servise {
        width: 100%;
        padding: 10px;
        padding-top: 20px;
        line-height: 13px;
    }
    .first-servise_title, .second-servise_title {
        line-height: 24px;
    }
    .first-servise_descr, .second-servise_descr {
        line-height: 18px;
    }
    .main-photo {
        max-height: 200px;

    }
    .logo-box {
        font-size: 24px;
    }

    .hero_title {
        font-size: 28px;
        line-height: 32px;
    }

    .register-btn {
        font-size: 12px;
        padding: 8px;
    }

    .consult_side,
    .test_side {
        padding: 10px;
    }

    .test_side {
        margin-left: 6px;
    }

    .course-box {
        margin-bottom: 10px;
    }

    .footer-container {
        flex-direction: column;
        gap: 20px;
    }

    .container {
        padding: 15px 5px;
    }

    .main-logo img {
        width: 130px;
        height: 35px;
    }
    .selected-option {
        height: auto;
    }
}