/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent font size inflation */
html {
    -moz-text-size-adjust: none;
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
    list-style: none;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    line-height: 1.5;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    color: #2F4A50;
    padding-top: 100px;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
    line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
    text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
    color: currentColor;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
    min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
    scroll-margin-block: 5ex;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1250px;
    position: relative;
    padding: 0 15px;
    margin: 0 auto;
}

.top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    padding: 12px 20px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.menu {
    display: block;
}

.nav-btn {
    display: none;
    background: #2F4A50;
    padding: 3px 10px 10px;
    border: 0;
    border-radius: 10px;
    color: #FFFFFF;
    font-size: 44px;
}

.menu-list {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
}

.menu-list-item {
    margin-right: 32px;
    list-style-type: none;
    /* Убираем маркеры */
}

.menu-list-link {
    text-decoration: none;
    color: inherit;
}

.btn {
    border-radius: 32px;
    padding: 16px 24px;
    font-weight: 600;
    border: 0;
    cursor: pointer;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 4px #cbd6ee;
}

.btn-primary {
    background-color: #2F4A50;
    color: #6FDBF5;
    padding: 16px;
    text-decoration: none;
}

.banner {
    display: flex;
    border-radius: 32px;
    padding: 48px 37px 48px 48px;
    background-color: #639EA9;
}

.banner-left-side {
    z-index: 50;
    display: flex;
    flex-direction: column;
    max-width: 48%;
}

.banner-title {
    font-size: 58px;
    line-height: 130%;
    margin-top: 0;
}

.banner-text {
    font-weight: 500;
    line-height: 150%;
    /* 24px */
    flex-grow: 2;
}

.banner-btns-block {
    display: flex;
    margin-top: 32px;
}

.btn-banner-left {
    margin-right: 16px;
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
    /* 27px */
    color: #FFF;
    background-color: #6FDBF5;
}

.btn-banner-right {
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
    /* 27px */
    color: #6FDBF5;
    background-color: #639EA9;
    border: 1px solid #6FDBF5;
    background-image: url("../images/play_circle.png");
    background-repeat: no-repeat;
    background-position: 85% center;
    padding-right: 56px;
}

.banner-right-side {
    max-width: 600px;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.circle-wrap {
    position: absolute;
    width: 100%;
    z-index: 1;
    top: 0;
    left: 0;
}

.circles {
    position: relative;
    min-height: 674px;
}

.circle {
    position: absolute;
    border-radius: 50%;
}

#circle-1 {
    width: 308px;
    height: 308px;
    top: -30px;
    right: 140px;
    background: #6FDBF5;
}

#circle-2 {
    width: 295px;
    height: 289px;
    top: 333px;
    left: -30px;
    background: #B8D0E0;
}

#circle-3 {
    width: 189px;
    height: 189px;
    top: 230px;
    right: 60px;
    background: #D92946;
}

.banner-image {
    z-index: 20;
    position: relative;
    bottom: -48px;
}

.banner-statistic {
    border-radius: 16px;
    background: #B8D0E0;
    box-shadow: 0px 5px 10px 0px rgba(49, 49, 49, 0.10);
    padding: 16px;
    z-index: 50;
}

.banner-statistic-item:last-child {
    margin: 0;
}

.banner-statistic-item {
    margin-bottom: 48px;
    text-align: center;
}

.banner-statistic-item-number {
    font-size: 44px;
    color: #D92946;
    margin: 0;
}

.banner-statistic-item-title {
    font-size: 16px;
    font-weight: 600;
    font-weight: 600;
    color: #313131;
}

.why-choose-us-block {
    display: flex;
    margin-top: 64px;
}

.why-choose-us-block-left-side {
    display: flex;
    align-items: end;
    width: 46%;
    position: relative;
}

.why-choose-us-block-right-side {
    width: 54%;
}

.why-choose-us-block-btn {
    flex-direction: column;
    background-color: #2F4A50;
    color: #6FDBF5;
    font-weight: 600;
    border-radius: 32px;
    padding: 16px 24px;
    border: 0;
}

.why-choose-us-block-left-side-circle-wrap {
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
}

#circle-4 {
    width: 308px;
    height: 308px;
    top: 0;
    left: 25px;
    background: #6FDBF5;
}

#circle-5 {
    width: 295px;
    height: 289px;
    top: 380px;
    left: 1px;
    background: #B8D0E0;
}

#circle-6 {
    width: 189px;
    height: 189px;
    top: 400px;
    left: 350px;
    background: #D92946;
}

.why-choose-us-block-picture {
    z-index: 50;
    position: relative;
    bottom: 0;
}

.emoji {
    z-index: 59;
    position: absolute;
}

.heart-icon {
    top: 0;
    left: 15px;
}

.hat-icon {
    top: 0;
    right: 15px;
}

.why-choose-us-block-title {
    margin-top: 16px;
    font-size: 44px;
}

.why-choose-us-list {
    margin-top: 32px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: normal;
    justify-content: space-between;

}

.why-choose-us-list-item {
    border-radius: 16px;
    border-spacing: 20px;
    box-shadow: 0px 5px 10px 0px rgba(49, 49, 49, 0.10);
    padding: 88px 24px 24px;
    z-index: 50;
    width: 48%;
    margin-top: 24px;
    background-repeat: no-repeat;
    background-position: 20px 24px;
}

#item-1 {
    background-image: url("../images/auto_awesome_mosaic.png");
}

#item-2 {
    background-image: url("../images/groups_2.png");
}

#item-3 {
    background-image: url("../images/calendar_clock.png");
}

#item-4 {
    background-image: url("../images/recommend.png");
}

.why-choose-us-list-item-name {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.course-categories-prices-block {
    display: flex;
    justify-content: space-between;
    margin-top: 64px;
    align-items: center;
    width: 100%;
    padding: 16px;
}

.course-categories-prices-block-left {
    display: inline-block;
    margin: 32px 0;
    width: 40%;
}

.course-categories-prices-block-title {
    font-size: 35px;
}

.course-categories-prices-block-item-name {
    font-size: 35px;
}

.course-categories-prices-block-btn {
    flex-direction: column;
    background-color: #2F4A50;
    color: #6FDBF5;
    font-weight: 600;
    border-radius: 32px;
    padding: 16px 24px;
    border: 0;
}

.course-categories-prices-block-right {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 55%;
    width: 55%;
}

.course-categories-prices-block-description {
    border-radius: 16px;
    border-spacing: 20px;
    box-shadow: 0px 5px 10px 0px rgba(49, 49, 49, 0.10);
    padding: 88px 24px 24px;
    z-index: 50;
    width: 49%;
    width: 49%;
    margin-top: 24px;
    background-repeat: no-repeat;
    background-position: 20px 24px;
    font-size: 14px;
}

.course-categories-prices-block-description-name {
    font-size: 18px;
}

#item-5 {
    background-image: url(../images/Beginner.png);
}

#item-6 {
    background-image: url(../images/Talkingclub.png);
}

.course-categories-prices-block-bottom {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.bareer {
    width: 70%;
}

.btn-view-more {
    border-radius: 32px;
    border: #2F4A50;
    font-weight: 600;
    color: #6FDBF5;
}

.swipe-buttons {
    width: 10%;
    justify-content: space-between;
    border-radius: 50px;
    display: flex;
    /*border-color: #2F4A50;*/
    /*border: #D92946;*/
    /*border-color: #2F4A50;*/
    /*border: #D92946;*/
}

.our-expert-teachers {
    margin-top: 78px;
    width: 100%;
    padding: 16px;
}

.our-expert-teachers-head {
    text-align: center;
}

.our-expert-teachers-body {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 32px 0;
}

.our-expert-teachers-head-btn {
    flex-direction: column;
    background-color: #2F4A50;
    color: #6FDBF5;
    font-weight: 600;
    border-radius: 32px;
    padding: 16px 24px;
    width: 40%;
}

.our-expert-teachers-body-item {
    width: 266px;
    width: 266px;
    border-radius: 16px;
    box-shadow: 0 5px 10px 0 rgba(49, 49, 49, 0.10);
    box-shadow: 0 5px 10px 0 rgba(49, 49, 49, 0.10);
    padding: 16px;
    font-size: 14px;
    position: relative;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0.8;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0.8;
}

.our-expert-teachers-body-item.active {
    background: #639EA9;
    width: 615px;
    opacity: 1;
    transform: scale(1.01);
    opacity: 1;
    transform: scale(1.01);
}

.our-expert-teachers-content-wrapper {
    position: absolute;
    top: 28px;
    left: 16px;
    bottom: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
}

.our-expert-teachers-body-item-title-block {
    align-self: self-end;
    width: 100%;
    padding: 16px;
}

.our-expert-teachers-body-item.active .our-expert-teachers-body-item-title-block {
    width: 264px;
    width: 264px;
}

.our-expert-teachers-body-item-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 7px;
}

.our-expert-teachers-body-description {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

.our-expert-teachers-body-item-content-block {
    display: none;
}

.our-expert-teachers-body-item.active .our-expert-teachers-body-item-content-block {
    display: block;
    width: 55%;
}

.our-expert-teachers-body-item-content-block p {
    margin: 0 0 10px;
    color: #2F4A50;
    font-weight: 500;
    line-height: 150%;
    font-size: 16px;
    padding: 0 16px;
}

.our-expert-teachers-bottom {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.testimoinals-main {
    display: flex;
    justify-content: space-between;
    margin-top: 64px;
    width: 100%;
    padding: 16px;
}

.testimonials-block-left {
    width: 37%;
}

.testimoinals-block-btn {
    flex-direction: column;
    background-color: #2F4A50;
    color: #6FDBF5;
    font-weight: 600;
    border-radius: 32px;
    padding: 16px 24px;
    border: 0;
}

.testimonials-block-title {
    font-size: 44px;
    margin: 16px 0 24px;
    color: #2F4A50;
    line-height: 1.6;
}

.testimonials-block-description {
    font-size: 16px;
    line-height: 150%;
    font-weight: 500;
    color: #2F4A50;
}

.testimoinals-block-right {
    width: 55%;
}

.testimoinals-block-right-top {
    width: 100%;
}

.testimoinals-block-right-bottom {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
}

iframe {
    width: 100%;
    border: 0;
    border-radius: 16px;
}

.testimonial-block-right-bottom-image {
    width: 32%;
}

.banner-bottom {
    margin-top: 195px;
    background: #639EA9 url(../images/banner-boy.png) -70px -145px no-repeat;
    width: 100%;
    height: 500px;
    border-radius: 16px;
    display: flex;
    justify-content: flex-end;
    padding: 56px 72px;
}

.banner-bottom-title {
    font-size: 58px;
    line-height: 130%;
    margin: 0 0 32px;
}

.banner-bottom-text {
    width: 50%;
}

.maps-block {
    margin-top: 85px;
    text-align: center;
}

.maps-wrap {
    display: flex;
    justify-content: space-between;
    margin-top: 65px;
}

.maps {
    width: 75%;
}

.maps-icons {
    width: 20%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    align-items: center;
}

footer {
    background: #2F4A50;
    margin-top: 50px;
}

.footer-top {
    color: #FFF;
    display: flex;
    justify-content: space-between;
}

.footer-col-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col ul {
    margin: 0;
    padding: 0;
}

.footer-col li {
    list-style: none;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 8px;
}

.footer-col a {
    text-decoration: none;
}

#address {
    background: url("../images/Placeholder.png") no-repeat;
    padding-left: 43px;
}

#mail {
    background: url("../images/Email.png") no-repeat;
    padding-left: 43px;
}

#phone {
    background: url("../images/Call.png") no-repeat;
    padding-left: 43px;
}

.contact-us-item {
    padding-bottom: 15px;
}

.footer-bottom {
    margin-top: 35px;
    border-top: 2px solid #FFF;
    display: flex;
    justify-content: center;
    color: #fff;
    padding: 32px 0 40px;
}

.copyright {
    color: #FFF;
    justify-content: space-around;
}

.footer-bottom-text {
    display: flex;
    justify-content: center;
    padding-bottom: 30px;
}

.footer-bottom .logo {
    padding: 10px;
    background: #fff;
    border-radius: 7px;
}

.copyright {
    margin-left: 35px;
}

.fill-form {
    background-color: #639EA9;
    border-radius: 16px;
}

.fill-form-top {
    display: flex;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    padding: 0;
}

.fill-form-top-title {
    margin: 50px 0 30px;
}

.fill-form-body-middle {
    display: flex;
    justify-content: space-between;
    margin: 0 65px;
}

.fill-form-body-left {
    width: 48%;
}

.fill-form-body-right {
    width: 48%;
}

.fill-form-fields {
    margin: 0 0 30px;
    color: #FFF;
}

.typedata {
    padding: 15px;
    border-radius: 16px;
    width: 100%;
    border: none;
    outline: none;
}

.typedata:focus {
    box-shadow: 4px 4px 8px 0 rgba(21, 164, 220, 0.1);
  }

.typedata:hover {
    box-shadow: 4px 4px 22px 3px rgba(21, 164, 220, 0.2);
}

.fill-form-fields-bottom {
    margin: 0 65px;
    padding-bottom: 25px;;
}

.fill-form-fields-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 25px;
    width: 100%;
}

.input {
    padding: 16px;
}

.line {
    height: 4px;
    background: #639EA9;
    width: 50%;
    border-radius: 10px;
}

/* popup window part start */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100; 
    visibility: hidden;
    opacity: 0;
}

.modal .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #313131;
    opacity: 0.7;
    z-index: 1100;
}

.modal-window {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: relative;
    z-index: 5000;
    width: 50%;
    border-radius: 16px;
    background-color: #639EA9;
    padding: 15px;
}

.btn-close {
    position: absolute;
    right: 20px;
    top: 10px;
    border: none;
    background: none;
    opacity: 0.7;
}

.btn-close :hover{
    opacity: 1;
}

.modal.show {
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease-out;
}
/* popup window part end */