@font-face {
  font-family: 'geometria';
  src: url('../fonts/Geometria-Regular.woff2') format('woff2'),
    url('../fonts/Geometria-Regular.woff') format('woff');
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'merriweather-bold';
  src: url('../fonts/merriweather-bold-webfont.woff2') format('woff2'),
    url('../fonts/merriweather-bold-webfont.woff') format('woff');
  font-display: swap;
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'open-sans-condensed';
  src: url('../fonts/OpenSansCondensed-Light.woff2') format('woff2'),
    url('../fonts/OpenSansCondensed-Light.woff') format('woff');
  font-display: swap;
  font-weight: 300;
  font-style: normal;
}

:root {
  /* Задаём фирменный жёлтый цвет как основной */
  --main-color: rgb(255, 191, 2);
  --red-color: rgb(254, 98, 70);
  --icon-color: rgb(39, 180, 252);
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*:focus {
  outline: 3px solid var(--main-color);
  outline-offset: 2px;
}

body {
  position: relative;
  font-family: 'geometria', sans-serif;
  font-size: 16px;
  line-height: 30px;
  color: #3f3f3f;
  background-color: #fff;
  overflow-x: hidden;
}

/* Body Background */

.body {
  background:
    url('../img/body_bg/left_img.png') no-repeat left bottom 22%,
    url('../img/body_bg/left.svg') no-repeat left bottom 20%,
    url('../img/body_bg/right_img.png') no-repeat right bottom 15%,
    url('../img/body_bg/right.svg') no-repeat right bottom 13%;
}

body.lock {
  overflow: hidden;
  user-select: none;
  left: 0;
  top: 0;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

address {
  font-style: normal;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}

input,
button {
  font-family: 'geometria', sans-serif;
}

.container {
  margin: 0 auto;
  padding: 0 75px;
  width: 100%;
  max-width: 1460px;
}

.page {
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  clip: rect(0 0 0 0);
  width: 1px;
  height: 1px;
  margin: -1px;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border: none;
  border-radius: 25px;
  font-size: 18px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.btn:focus {
  outline: none;
}

.btn-red {
  color: #fff;
  background-color: var(--red-color);
  transition: background-color .2s linear, .2s linear;
}

.btn-red:hover,
.btn-red:focus {
  background-color: #f23310;
  box-shadow: 0 0 15px #f23310;
}

.btn-white {
  border: 1px solid #e4e4e4;
  color: #3f3f3f;
  transition: background-color .2s linear, box-shadow .2s linear;
}

.btn-white:hover,
.btn-white:focus {
  background-color: var(--main-color);
  box-shadow: 0 0 15px var(--main-color);
}

article,
section {
  margin-top: 85px;
}

.section-title {
  margin-bottom: 30px;
  font-family: 'open-sans-condensed', sans-serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1;
  text-decoration: underline;
}

.section-subtitle {
  font-family: 'open-sans-condensed', sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}

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

.section-link {
  font-size: 18px;
  color: var(--icon-color);
}

.section-link:hover {
  text-decoration: underline;
}

.swiper-slide {
  height: auto;
}

/* Header */

.header {
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  transition: transform .2s linear;
  transform-origin: top;
  z-index: 100;
}

.header.hidden {
  visibility: hidden;
  transform: scaleY(0);
  transition: transform .2s linear;
}

.header.hidden .navbar {
  visibility: hidden;
}

.header.fixed {
  position: fixed;
  visibility: visible;
  transform: scaleY(1);
  transform-origin: top;
  width: 100%;
}

/* Header Top */

.header-top {
  display: flex;
  align-items: center;
  height: 82px;
}

.header-logo {
  margin-right: 25px;
}

.main-title {
  max-width: 170px;
  font-size: 14px;
  font-weight: 400;
  line-height: 16px;
  color: #878686;
}

.header-btn {
  display: none;
}

.header.fixed .header-btn {
  display: block;
  margin-left: auto;
  font-size: 16px;
}

.addresses {
  display: flex;
  align-items: center;
  margin-left: auto;
  font-size: 40px;
  color: var(--icon-color);
}

.addresses-list {
  padding-left: 20px;
  font-size: 14px;
  line-height: 20px;
  color: #3f3f3f;
}

.header.fixed .addresses {
  display: none;
}

.social-list__header {
  display: none;
}

.header.fixed .social-list__header {
  display: flex;
  justify-content: space-between;
  margin-left: 25px;
}

.social-item__header {
  font-size: 28px;
}

.social-item__header:not(:last-child) {
  margin-right: 5px;
}

.social-link__header {
  padding: 3px;
  transition: color .2s linear;
}

.social-link__header:hover {
  color: var(--icon-color);
  ;
}

.social-link__header:focus {
  outline: none;
  color: var(--icon-color);
}

.header-tel__icon {
  display: none;
}

.header-tel {
  display: flex;
  align-items: center;
  max-height: 65px;
  padding: 10px;
  padding-left: 65px;
  margin-left: 25px;
  font-size: 36px;
  color: var(--icon-color);
  background: url('../img/online-ofline.png') no-repeat left;
  background-size: contain;
}

.header.fixed .header-tel {
  margin-left: 25px;
}

.header-tel__link {
  margin-left: 7px;
  color: #3f3f3f;
}

.tel__link {
  font-family: 'open-sans-condensed', sans-serif;
  font-size: 24px;
}

.tel__link:hover {
  text-decoration: underline;
}

/* Nav Toggle */

.nav-toggle {
  width: 50px;
  height: 50px;
  padding: 10px 0;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 0;
  color: transparent;
  background-color: var(--main-color);
  cursor: pointer;
  display: none;
  z-index: 100;
}

.header.fixed .nav-toggle {
  display: block;
}

.nav-toggle__item {
  display: block;
  width: 30px;
  height: 3px;
  background-color: #333;
  position: relative;
  margin: auto;
  transition: background-color .2s linear;
}

.nav-toggle:hover .nav-toggle__item,
.nav-toggle:hover .nav-toggle__item::before,
.nav-toggle:hover .nav-toggle__item::after {
  background-color: #fff;
}

.nav-toggle__item::before {
  top: -8px;
}

.nav-toggle__item::after {
  bottom: -8px;
}

.nav-toggle__item::before,
.nav-toggle__item::after {
  content: '';
  width: 30px;
  height: 3px;
  background-color: #333;
  position: absolute;
  right: 0;
  z-index: 1;
  transition: width .2s linear, background-color .2s linear, transform .2s linear;
}

.nav-toggle.active .nav-toggle__item {
  margin-left: 12px;
  background: none;
}

.nav-toggle.active .nav-toggle__item::before {
  transform-origin: left top;
  transform: rotate(45deg) translateY(-3px);
}

.nav-toggle.active .nav-toggle__item::after {
  transform-origin: left bottom;
  transform: rotate(-45deg) translateY(3px);
}

.nav-toggle.active:hover .nav-toggle__item::after {
  width: 30px;
}

/* Header Bottom */

.header-bottom {
  position: relative;
}

.navbar {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  box-shadow: 0 7px 15px -5px rgba(0, 0, 0, 0.2);
  transform-origin: top;
  background-color: var(--main-color);
  visibility: visible;
  transition: all .2s linear;
  z-index: 10;
}

.header.fixed .navbar {
  visibility: hidden;
  transform: scaleY(0);
}

.header.fixed .navbar.active {
  visibility: visible;
  transform: scaleY(1);
}

.nav {
  height: 100%;
}

.nav-list {
  display: flex;
  height: 100%;
  font-size: 18px;
}

.nav-item__icon {
  display: none;
}

.nav-item {
  display: flex;
  align-items: center;
  transition: color .2s linear;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  width: 100%;
}

.nav-link:focus {
  outline: none;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #fff;
  opacity: 0;
  transition: opacity .2s linear;
}

.nav-link.active::before,
.nav-link:hover::before {
  opacity: 1;
}

.nav-item:not(:last-child) {
  margin-right: 50px;
}

.nav-item:hover,
.nav-link.active {
  color: #fff;
  cursor: pointer;
}

.nav-item a:focus {
  color: #fff;
}

.navbar-tel {
  display: none;
}

.header-btn__navbar {
  display: none;
}

.social-list__navbar {
  display: none;
}

/* Hero Section */

.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-container__left {
  flex: 0 3 590px;
  padding: 25px 15px;
}

.hero-title {
  font-size: 64px;
  text-decoration: none;
}

.hero-text {
  margin-bottom: 50px;
}

.hero-container__right {
  flex: 0 1 720px;
  height: 0;
  padding-top: 40%;
  position: relative;
}

.hero-container__right {
  visibility: visible;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  margin: 15px 0;
  background: url('../img/svg/hero_bg.svg') no-repeat center;
  background-size: contain;
}

/* Hero Swiper */

.swiper-container__hero {
  overflow: initial;
}

.hero-swiper-wrapper .swiper-slide {
  padding-bottom: 5%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out;
}

.hero-swiper-wrapper .swiper-slide-active {
  opacity: 1;
  visibility: visible;
}

.hero-swiper-wrapper .swiper-slide+.swiper-slide-active {
  opacity: 1;
  visibility: visible;
}

.swiper-container-horizontal>.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: 25px;
  left: 15px;
}

.swiper-pagination {
  text-align: left;
}

.swiper-pagination-bullet {
  width: 15px;
  height: 15px;
  border: 1px solid #444;
  background: transparent;
}

.swiper-pagination-bullet-active {
  border: none;
  background: var(--icon-color);
}

/* Features Section */

.features-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.features-text {
  position: relative;
  width: 35%;
}

.features-text::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 776px;
  height: 552px;
  background: url('../img/svg/hero_shape.svg') no-repeat center;
  z-index: -1;
}

.features-text::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 740px;
  height: 619px;
  background: url('../img/svg/hero_bg.svg') no-repeat center;
  z-index: -2;
}

.features-description a {
  color: var(--icon-color);
}

.features-description a:hover {
  text-decoration: underline;
}

.features-items {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 55%;
}

.features-item {
  position: relative;
  width: 32%;
  padding: 15px 5px;
  padding-top: 85px;
  line-height: 20px;
  text-align: center;
  background-repeat: no-repeat;
  background-position: top 15px center;
  overflow: visible;
  user-select: none;
}

.features-item__training {
  background-image: url('../img/features/training.png');
}

.features-item__teacher {
  background-image: url('../img/features/teacher.png');
}

.features-item__student {
  background-image: url('../img/features/student.png');
}

.features-item__achievement {
  background-image: url('../img/features/achievement.png');
}

.features-item__graduated {
  background-image: url('../img/features/graduated.png');
}

.features-item__teacher1 {
  background-image: url('../img/features/teacher1.png');
}

.features-item:nth-child(-n+3) {
  margin-bottom: 25px;
}

.features-item::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 235px;
  height: 176px;
  background: url('../img/svg/shape_small.svg');
  opacity: 0;
  transition: opacity .2s linear;
  z-index: -1;
}

.features-item:hover::before {
  opacity: 1;
}

/* Services Section */

.services {
  margin-top: 150px;
}

.services-description {
  margin-bottom: 35px;
}

.services-items {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: wrap;
  margin: 0 -15px;
  padding-left: 0;
}

.services-col {
  width: 24%;
  padding: 0 15px;
}

.services-item {
  position: relative;
  max-width: 304px;
  margin-bottom: 30px;
  border-radius: 7px;
  /* background-color: #95e1d3; */
  background-color: rgba(31, 177, 252, .7);
}

.services-item:hover .services-item__inner {
  transform: translate3d(-10px, -10px, 0);
}

.services-item:hover .services-item__title {
  cursor: pointer;
}

.services-item__inner {
  background: linear-gradient(to bottom, #f38181, #fce38a);
  /* background: linear-gradient(to bottom, var(--red-color), var(--main-color)); */
  transition: transform .2s linear;
  border-radius: 7px;
}

.services-item__inner {
  position: relative;
}

.services-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}

.services-img {
  display: block;
  max-width: 100%;
  height: auto;
  transition: opacity .2s linear;
}

/* .services-item__inner::before {
  position: absolute;
  content: '';
  top: 10px;
  right: 10px;
  height: 50px;
  width: 50px;
  background: url('../img/icon/favicon-32x32.png') no-repeat center;
  opacity: 0;
  transition: opacity .2s linear;
  z-index: 1;
  cursor: pointer;
}

.services-item:hover .services-item__inner::before {
  opacity: 1;
} */

.services-item:hover .services-img,
.services-link:focus .services-img {
  opacity: .4;
}

.services-item__title {
  position: absolute;
  left: 15px;
  bottom: -15px;
  padding: 5px 10px;
  font-size: 26px;
  text-decoration: none;
}

.services-item__title span {
  display: inline;
  background-color: var(--main-color);
  line-height: 1.5;
  box-shadow: -10px 0 0 var(--main-color), 10px 0 0 var(--main-color);
}

.services-col:first-child .services-item .services-item__title {
  top: auto;
  bottom: 15px;
}

/* Courses Section */

.courses-title {
  margin-bottom: 0;
  line-height: 0;
}

.courses-list {
  padding-bottom: 2%;
}

.courses-item {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 55px;
  background: #f4f5f7;
  user-select: none;
  transition: opacity .2s linear;
}

/* .courses-item.swiper-slide {
  visibility: hidden;
}

.courses-item.swiper-slide-prev,
.courses-item.swiper-slide-active,
.courses-item.swiper-slide-next {
  visibility: visible;
} */

.courses-item::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0px 10px 25px #d1d1d1;
  opacity: 0.5;
  transition: opacity .2s linear;
}

.courses-item:hover::after {
  opacity: 1;
}

.courses-subtitle {
  margin-bottom: 45px;
}

.course-features {
  margin-top: auto;
  margin-bottom: auto;
}

.course-feature {
  padding-left: 40px;
  line-height: 30px;
}

.course-feature:not(:last-child) {
  margin-bottom: 15px;
}

.course-feature:last-child {
  margin-bottom: 20px;
}

.feature-grade {
  background: url('../img/couses_icons/level_grade.png') no-repeat left;
}

.feature-duration {
  background: url('../img/couses_icons/duration.png') no-repeat left;
}

.feature-clock {
  background: url('../img/couses_icons/clock.png') no-repeat left;
}

.feature-group {
  background: url('../img/couses_icons/group.png') no-repeat left;
}

.course-price {
  margin-bottom: 30px;
  font-family: 'open-sans-condensed', sans-serif;
  font-size: 32px;
  line-height: 1;
  color: var(--red-color);
}

.course-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
}

/* Swiper for Courses */

.swiper-container__courses {
  overflow: initial;
  margin: 40px auto 0;
}

.swiper-wrapper__courses .swiper-slide {
  opacity: .3;
  /* visibility: hidden; */
  transition: opacity .2s linear;
}

.swiper-wrapper__courses .swiper-slide-active,
.swiper-wrapper__courses .swiper-slide-prev,
.swiper-wrapper__courses .swiper-slide-next {
  opacity: 1;
  /* visibility: visible; */
}

.slider-buttons {
  display: flex;
  justify-content: flex-end;
}

.swiper-button-prev,
.swiper-button-next {
  background-color: #fff;
  width: 40px;
  height: 40px;
  border: 1px solid #878686;
  border-radius: 100%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 20px 20px;
  transition: background-color .2s linear, background-size .1s linear;
}

.swiper-button-courses__prev,
.swiper-button-courses__next {
  position: static;
}

.swiper-button-courses__prev {
  margin-right: 15px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background-color: #f1f1f1;
  background-size: 25px 25px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none;
}

.swiper-button-prev {
  background-image: url('../img/svg/prev_dt.svg');
}

.swiper-button-next {
  background-image: url('../img/svg/next_dt.svg');
}

.swiper-slide {
  align-self: stretch;
}

/* Try It Section */

.try-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.try-text {
  position: relative;
  width: 40%;
  padding-left: 80px;
  padding-bottom: 180px;
}

.try-text::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 697px;
  height: 438px;
  background: url('../img/try_bg.png') no-repeat center;
  z-index: -1;
}

.try-text::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 687px;
  height: 458px;
  background: url('../img/svg/try_bg.svg') no-repeat center;
  z-index: -2;
}

.try-description__block {
  width: 40%;
}

.try-description {
  margin-top: 25px;
  margin-bottom: 25px;
  font-size: 18px;
  line-height: 40px;
  list-style-type: disc;
}

.try-description__item {
  color: var(--icon-color);
}

.try-description__item span {
  color: #3f3f3f;
}

.try-description__item:not(:last-child) {
  margin-bottom: 20px;
}

.btn-try {
  position: relative;
}

.btn-try::before {
  position: absolute;
  content: '';
  top: -20px;
  left: -310px;
  width: 300px;
  height: 50px;
  background: url('../img/svg/arrow.svg') no-repeat center;
  z-index: 1;
}

/* About Section */

.about-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.about-text {
  width: 60%;
}

.about-description {
  margin-bottom: 25px;
}

.about-link::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('../img/svg/play.svg') center no-repeat;
  width: 50px;
  height: 50px;
  z-index: 10;
}

.about-link::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('../img/svg/play.svg') center no-repeat,
    url('../img/svg/try_bg.svg') center no-repeat;
  width: 100px;
  height: 70px;
  background-size: 40px auto, 80px auto;
  z-index: 10;
  opacity: 0;
  transition: opacity .2s linear;
}

.about-link:hover::after,
.about-link:focus::after {
  opacity: 1;
}

.video-preview {
  margin: 0 auto;
  max-width: 360px;
  height: auto;
  border-radius: 15px;
  transform: scale(.95);
  transition: transform .2s linear;
}

.video-preview:hover,
.about-link:hover .video-preview,
.about-link:focus .video-preview {
  transform: scale(1);
}

/* About Swiper */

.swiper-container__about {
  width: 400px;
  margin: 0 auto;
  overflow: initial;
}

.swiper-wrapper__about .swiper-slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s linear;
}

.swiper-wrapper__about .swiper-slide-active {
  opacity: 1;
  visibility: visible;
}

.swiper-container__about::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 389px;
  height: 291px;
  background: url('../img/svg/shape_medium.svg') no-repeat center;
  background-size: contain;
  cursor: pointer;
  z-index: -1;
}

/* Statistics Section */

.statistics {
  background: #f4f5f7 url('../img/queen.png') no-repeat right bottom;
}

.statistics-container {
  min-height: 330px;
  padding: 50px 10px;
}

.statistics-items {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
}

.statistic-item {
  width: 24%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.statistic-item:nth-child(-n + 4) {
  margin-bottom: 40px;
}

.statistic-count {
  margin-bottom: 15px;
  font-family: 'open-sans-condensed', sans-serif;
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  color: var(--red-color);
  opacity: 0;
  transition: opacity 1s linear;
}

.statistic-text {
  font-size: 18px;
  line-height: 24px;
  mix-blend-mode: luminosity;
}

/* Teachers Section */

.teachers-title {
  margin-bottom: 0;
  line-height: 0;
}

.teachers-description {
  margin-top: 35px;
}

.teachers-list {
  padding-bottom: 2%;
}

.teachers-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px 10px 55px;
  min-height: 450px;
  background-color: #f4f5f7;
  user-select: none;
}

.teachers-card::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0px 10px 25px #d1d1d1;
  opacity: 0.5;
  transition: opacity .2s linear;
}

.teachers-card:hover::after {
  opacity: 1;
}

.person-link {
  position: relative;
  padding: 10px;
  border: 1px solid var(--main-color);
  border-radius: 50%;
  z-index: 1;
}

.link-to-video::before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('../img/svg/play.svg');
  width: 25px;
  height: 25px;
  transition: width .2s linear, height .2s linear;
  z-index: 2;
}

.link-to-video:hover::before,
.link-to-video:focus::before {
  width: 30px;
  height: 30px;
}

.link-to-video::after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: url('../img/svg/try_bg.svg') no-repeat center;
  background-size: 50px auto;
  width: 100px;
  height: 70px;
  opacity: 0;
  transition: opacity .2s linear, background-size .2s linear;
  z-index: 1;
}

.link-to-video:hover::after,
.link-to-video:focus::after {
  background-size: 55px auto;
  opacity: .8;
}

.person-photo {
  width: 144px;
  height: 144px;
  border-radius: 50%;
  transform: scale(.98);
  transition: transform .2s linear;
}

.person-link:hover .person-photo {
  transform: scale(1);
}

.teachers-subtitle {
  margin-top: 20px;
}

.teacher-position {
  margin-top: auto;
}

.teacher-experience {
  margin-bottom: 10px;
}

.teacher-btn {
  z-index: 1;
}

.all-teachers-btn {
  display: block;
  width: fit-content;
  margin: 15px auto 0;
}

/* Teachers Swiper */

.swiper-container__teachers {
  overflow: initial;
  margin: 40px auto 0;
}

.swiper-wrapper__teachers .swiper-slide {
  opacity: 0;
  visibility: hidden;
  transition: all .2s linear;
}

.swiper-wrapper__teachers .swiper-slide-active,
.swiper-wrapper__teachers .swiper-slide-next,
.swiper-wrapper__teachers .swiper-slide-next+.swiper-slide,
.swiper-wrapper__teachers .swiper-slide-next+.swiper-slide+.swiper-slide {
  opacity: 1;
  visibility: visible;
}

.swiper-button-teachers__prev,
.swiper-button-teachers__next {
  position: static;
}

.swiper-button-teachers__prev {
  margin-right: 15px;
}

/* Testimonials Section */

.testimonials-container {
  position: relative;
}

.testimonials-list {
  margin-bottom: 35px;
}

.testimonials-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 55px;
  background-color: #f4f5f7;
  user-select: none;
}

.testimonials-card::after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0px 10px 25px #d1d1d1;
  opacity: 0.5;
  transition: opacity .2s linear;
  z-index: -1;
}

.testimonials-card:hover::after {
  opacity: 1;
}

.testimonials-link {
  flex-shrink: 0;
  width: 166px;
  height: 166px;
  margin-right: 15px;
}

.testimonials-text {
  max-width: 80%;
}

.testimonials-date {
  color: var(--icon-color);
}

.testimonials-buttons {
  display: flex;
  justify-content: center;
}

.all-testimonial__btn {
  margin-right: 20px;
}

/* Testimonials Counters */

.counter {
  position: absolute;
  top: -100px;
  right: 0;
  height: 320px;
  width: fit-content;
  background: url('../img/testimonials.png') no-repeat;
  background-position: right 45px center;
}

.counter-inner {
  position: relative;
}

.counter-inner::before {
  position: absolute;
  content: '';
  top: 100%;
  left: 50%;
  width: 12px;
  height: 12px;
  background-color: var(--red-color);
  transform: translate(0, -50%) rotate(45deg);
}

.counter-wrapper {
  position: relative;
  display: flex;
  width: fit-content;
  padding: 5px 25px;
  border-radius: 5px;
  background-color: var(--red-color);
  color: #fff;
  user-select: none;
}

.counter-wrapper::before {
  content: "";
  position: absolute;
  top: 0%;
  left: calc(100% - 20px);
  width: 0px;
  height: 0px;
  border-bottom: 20px solid var(--main-color);
  border-right: 20px solid transparent;
  box-shadow: -5px 4px 5px rgba(0, 0, 0, 0.3);
}

.counter-wrapper::after {
  content: "";
  position: absolute;
  top: 0%;
  left: calc(100% - 20px);
  width: 0px;
  height: 0px;
  border-top: 20px solid #fff;
  border-left: 20px solid transparent;
}

.counter-item {
  padding-left: 30px;
  opacity: 0;
}

.counter-item:not(:last-child) {
  margin-right: 10px;
}

.counter-item__message {
  background: url('../img/svg/testimonials_counters/message.svg') no-repeat left center;
  background-size: 25px auto;
}

.counter-item__heart {
  background: url('../img/svg/testimonials_counters/heart.svg') no-repeat left center;
  background-size: 25px auto;
}

.counter-item__user {
  background: url('../img/svg/testimonials_counters/user.svg') no-repeat left center;
  background-size: 25px auto;
}

/* Testimonials Slider */

.swiper-container__testimonials {
  overflow: initial;
  margin: 40px auto 0;
}

.swiper-wrapper__testimonials .swiper-slide {
  margin: auto 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s linear;
}

.swiper-wrapper__testimonials .swiper-slide-active {
  opacity: 1;
  visibility: visible;
}

/* Advantages Article */

.advantages-image {
  float: right;
  margin-left: 25px;
}

.about-post__text {
  margin-bottom: 20px;
}

.advantages-list {
  counter-reset: myCounter;
}

.advantages-item {
  list-style: none;
}

.advantages-item::before {
  counter-increment: myCounter;
  content: counter(myCounter);
  color: #fff;
  background-color: var(--icon-color);
  display: inline-block;
  text-align: center;
  margin: 5px 10px;
  line-height: 30px;
  width: 30px;
  height: 30px;
}

/* Our Team Section */

.our-team__image {
  float: left;
  margin: 0 25px 15px 0;
}

.our-team__text:not(:last-child) {
  margin-bottom: 15px;
}

.our-team__text {
  text-indent: 35px;
}

/* Footer */

.footer {
  margin-top: 85px;
  background-color: #f4f5f7;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  padding: 50px 0;
  border-bottom: 1px solid #dedfe0;
}

.footer-column__one {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: fit-content;
}

.footer-logo {
  margin-bottom: 20px;
}

.main-title--footer {
  margin-bottom: 35px;
}

.social-list__footer {
  display: flex;
  flex-wrap: wrap;
  font-size: 20px;
}

.social-link__footer:hover {
  box-shadow: 0 0 10px var(--main-color);
  opacity: 1;
}

.social-item__footer:not(:last-child) {
  margin-right: 8px;
}

.social-link__footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  margin-bottom: 10px;
  border: 1px solid transparent;
  border-radius: 50%;
  background-color: var(--main-color);
  text-align: center;
  color: #fff;
  opacity: .7;
  transition: opacity .2s linear, box-shadow .2s linear;
}

.footer-nav__list--hidden {
  display: none;
}

.footer-courses {
  display: flex;
}

.footer-column__two {
  padding-right: 15px;
}

.footer-title {
  margin-bottom: 15px;
}

.footer-title,
.footer-nav__list {
  font-family: 'open-sans-condensed', sans-serif;
  font-size: 24px;
  font-weight: 300;
}

.lesson__link:hover,
.footer-nav__link:hover {
  text-decoration: underline;
}

.branch-item {
  border-bottom: 1px solid #dedfe0;
}

.branch-link:hover,
.footer-link:hover {
  text-decoration: underline;
}

.footer-lessons__additional {
  display: none;
}

.copyright {
  position: relative;
  height: 50px;
}

.copyright-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-block;
  text-align: center;
}

.copy-link {
  color: #f38181;
}

.copy-link:hover {
  text-decoration: underline;
}

/* Pop-Up Window */

.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: rgba(0, 0, 0, 0.8);
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all .4s ease 0s;
  z-index: 1000;
}

.popup.open {
  opacity: 1;
  visibility: visible;
}

.popup.open .popup-content {
  opacity: 1;
  transform: perspective(600px) translate(0px, 0%) rotateX(0deg);
}

.popup-body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.popup-content {
  position: relative;
  padding: 30px;
  max-width: 450px;
  background-color: #f4f5f7;
  opacity: 0;
  transform: perspective(600px) translate(0px, -100%) rotateX(45deg);
  transition: all .4s ease 0s;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 26px;
  height: 26px;
  background-color: #fff;
  border-radius: 50%;
  padding: 15px;
  font-size: 0;
  color: transparent;
  transition: background-color .2s linear, box-shadow .2s linear;
}

.popup-close:hover {
  background-color: var(--main-color);
  box-shadow: 0 0 7px #c1c1c1;
}

.popup-close::before,
.popup-close::after {
  content: '';
  width: 20px;
  height: 2px;
  background-color: var(--main-color);
  position: absolute;
  transition: background-color .2s linear,
    transform .2s linear;
}

.popup-close:hover::before,
.popup-close:hover::after {
  background-color: var(--red-color);
}

.popup-close::before {
  top: 14px;
  right: 5px;
  transform-origin: center;
  transform: rotate(45deg);
}

.popup-close::after {
  bottom: 14px;
  right: 5px;
  transform-origin: center;
  transform: rotate(-45deg);
}

.popup-close:hover::before {
  transform: rotate(-45deg);
}

.popup-close:hover::after {
  transform: rotate(45deg);
}

.popup-title {
  margin-bottom: 10px;
  text-align: center;
}

.popup-text--center {
  max-width: 330px;
  margin: 0 auto 20px;
  text-align: center;
}

.popup-content__image,
.popup-content__video {
  padding: 0;
  max-width: 100%;
}

.popup-image img {
  vertical-align: top;
}

/* Popup-Video */

.video-container {
  position: relative;
  width: 60vw;
  height: calc(60vw/1.78);
  background-color: #000;
  border: none;
}

.video-container iframe {
  border: none;
  width: 60vw;
  height: calc(60vw/1.78);
}

.video-link {
  position: absolute;
  display: flex;
  content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-image {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.video--enabled {
  cursor: pointer;
}

.video-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 48px;
  border: none;
  background-color: transparent;
  transform: translate(-50%, -50%);
  outline: none;
  display: none;
  cursor: pointer;
}

.video--enabled .video-button {
  display: block;
}

.video__button-shape {
  fill: #212121;
  fill-opacity: .8;
}

.popup-video:hover .video__button-shape,
.video-button:focus .video__button-shape {
  fill: #f00;
  fill-opacity: 1;
}

.video__button-icon {
  fill: #fff;
}

/* Request Form */

.request {
  width: 95%;
  margin: 0 auto;
}

.request input[type=text],
.request input[type=tel] {
  margin-bottom: 10px;
}

.request input[type=text],
.request input[type=tel],
.request select {
  width: 95%;
  height: 60px;
  padding: 15px 20px;
  border: 1px solid #dedfe0;
  border-radius: 30px;
}

.request input[type=text]:focus,
.request input[type=tel]:focus,
.request select:focus {
  outline: none;
  border-color: var(--main-color);
}

.request input,
.request select {
  transition: border-color .2s linear, background-color .2s linear;
}

.request input:hover,
.request select:hover {
  background-color: #f9f9f9;
  border-color: var(--main-color);
}

.request input::placeholder,
.request select::placeholder {
  transition: color .2s linear;
}

.request input:hover::placeholder,
.request select:hover::placeholder {
  color: #111;
}

.custom-placeholder {
  position: relative;
}

.custom-placeholder>input {
  position: relative;
  z-index: 2;
}

.custom-placeholder>span {
  position: absolute;
  left: 5px;
  z-index: 1;
  transition: all .1s linear;
  z-index: 10;
}

.custom-placeholder>input:invalid+span {
  color: #8a8a8a;
  top: 15px;
  left: 20px;
}

.custom-placeholder>input:valid+span,
.custom-placeholder>input:focus+span {
  font-size: 12px;
  top: -2px;
  left: 20px;
  z-index: 10;
}

.custom-placeholder>input:hover+span,
.custom-placeholder>input:focus+span,
.custom-placeholder>input:valid+span {
  color: #111;
}

.form-branch__list {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-branch__list {
  background: #fff url('../img/svg/arrow_top.svg') no-repeat right 10px center;
  background-size: 22px;
}

.form-branch__list:focus {
  background: #fff url('../img/svg/arrow_down.svg') no-repeat right 10px center;
  background-size: 22px;
}

.request-send {
  margin: 10px auto 0;
}

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

.custom-checkbox {
  max-width: 250px;
  margin-bottom: 10px;
}

.consent-label {
  font-size: 14px;
}

.consent-link {
  color: var(--icon-color);
}

.consent-link:hover {
  text-decoration: underline;
}

.request-btn:not(:last-child) {
  margin-bottom: 15px;
}

.request-btn[disabled] {
  opacity: .6;
  cursor: not-allowed;
}

.request-btn[disabled]:hover {
  background-color: var(--red-color);
  box-shadow: none;
}

/* To Top Button */

#to-top__btn {
  display: inline-block;
  background: #fff url('../img/svg/to-top__btn.svg') no-repeat center;
  background-size: 20px auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  position: fixed;
  bottom: 30px;
  right: 30px;
  opacity: 0;
  visibility: hidden;
  transition: all .2s linear;
  z-index: 1;
}

#to-top__btn.active {
  opacity: 1;
  visibility: visible;
}

#to-top__btn:hover {
  background-color: #f1f1f1;
  background-size: 25px auto;
}

#to-top__btn:active {
  background-color: #c1c1c1;
}

/* Media Queries */

@media (max-width: 1600px) {
  .body {
    background: none;
  }

  .statistics {
    background-image: none;
  }
}

@media (max-width: 1366px) {

  .swiper-container__hero,
  .swiper-container__courses,
  .swiper-container__about,
  .swiper-container__teachers {
    overflow: hidden;
  }

  .swiper-wrapper__courses .swiper-slide {
    opacity: 1;
  }

  .courses-item::after,
  .teachers-card::after,
  .testimonials-card::after {
    box-shadow: none;
  }

  .courses-item,
  .teachers-card,
  .testimonials-card {
    background: rgba(244, 245, 247, .7);
  }

  .swiper-container__about::before {
    background: none;
  }

  article,
  section {
    margin-top: 50px;
  }

  .section-title {
    font-size: 42px;
  }

  .section-text {
    font-size: 16px;
  }

  .body {
    font-size: 14px;
  }

  .header.fixed .header-btn {
    max-width: 200px;
    white-space: pre-line;
    text-align: center;
  }

  .header-tel {
    background: none;
    padding-left: 0;
  }

  .hero-container__left {
    flex: 0 3 665px;
  }

  .hero-title {
    font-size: 50px;
  }

  .hero-container__right {
    flex: 0 4 680px
  }

  .hero-image {
    background-size: 85%;
  }

  .features-text {
    width: 45%;
  }

  .features-text::before {
    background-size: 90%;
    background-position: left center;
  }

  .features-text::after {
    background-size: 85%;
    background-position: left center;
  }

  .features-items {
    width: 50%;
  }

  .features-item {
    width: 50%;
    padding-left: 50px;
    padding-right: 50px;
  }

  .services {
    margin-top: 50px;
  }

  .services-col {
    padding: 0 5px;
  }

  .services-item__title {
    font-size: 20px;
  }

  .course-features {
    line-height: 22px;
  }

  .course-buttons {
    flex-direction: column-reverse;
  }

  .course-buttons .section-link {
    margin-bottom: 10px;
  }

  .try-text::before {
    background-size: 90%;
  }

  .try-text::after {
    background-size: 90%;
  }

  .try-description {
    line-height: 30px;
  }

  .btn-try {
    display: flex;
    width: fit-content;
    margin: 0 auto;
  }

  .testimonials {
    margin-top: 85px;
  }

  .footer-column__one,
  .footer-column__two,
  .footer-column__three,
  .footer-column__five,
  .footer-column__five {
    padding: 0 15px;
  }

  .footer-courses {
    flex-direction: column;
    max-width: 255px;
  }

  .footer-column__two {
    margin-bottom: 15px;
  }

  .footer-title {
    margin-bottom: 5px;
  }
}

@media (max-width: 1024px) {
  .body {
    line-height: 24px;
  }

  .container {
    padding: 0 25px;
  }

  .swiper-container__hero {
    overflow: hidden;
  }

  .hero-swiper-wrapper .swiper-slide {
    padding-bottom: 0;
  }

  .swiper-container-horizontal>.swiper-pagination-bullets,
  .swiper-pagination-custom,
  .swiper-pagination-fraction {
    bottom: 0;
    left: 0;
  }

  .swiper-pagination {
    text-align: center;
  }

  .section-title {
    margin-bottom: 20px;
    font-size: 34px;
  }

  .header.fixed .social-list__header {
    display: none;
  }

  .header-top {
    height: 65px;
  }

  .header-btn {
    padding: 7px 30px;
  }

  .hero-container {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: inherit;
  }

  .hero-container__left {
    flex-shrink: 1;
    flex-basis: auto;
  }

  .hero-container__left .btn {
    margin-bottom: 10px;
  }

  .hero-container__right {
    flex: 0 1 475px;
    padding-top: 0;
  }

  .hero-image {
    background-size: contain;
  }

  .hero-title {
    font-size: 44px;
  }

  .hero-text {
    margin-bottom: 20px;
  }

  .features-text::before {
    background-size: 82%;
  }

  .features-text::after {
    background-size: 77%;
  }

  .features-item {
    width: 100%;
    padding: 20px 15px 20px 75px;
    text-align: left;
    background-position: left center;
  }

  .features-item:not(:last-child) {
    margin-bottom: 10px;
  }

  .features-item::before {
    background: none;
  }

  .services-col {
    width: 33%;
    padding: 0 15px;
  }

  .services-col:last-child {
    display: flex;
    justify-content: space-around;
    width: 100%;
  }

  .services-item:hover .services-item__inner {
    transform: none;
  }

  .services-item__title {
    font-size: 24px;
  }

  .statistics-container {
    padding: 50px 10px;
  }

  .teachers-title,
  .courses-title {
    margin-bottom: 0;
  }

  .counter {
    top: -70px;
  }

  .testimonials {
    margin-top: 85px;
  }

  .swiper-container__testimonials {
    max-width: 90%;
  }

  .footer-nav__list {
    display: none;
  }

  .main-title--footer,
  .social-list__footer {
    margin-bottom: 15px;
  }

  .footer-nav__list--hidden {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer-nav__item {
    padding: 5px 10px;
    margin-bottom: 5px;
  }

  .footer-column__one {
    align-items: center;
  }

  .footer-column__one,
  .footer-courses,
  .footer-column__five {
    width: 33%;
  }

  .video-container {
    width: 80vw;
    height: calc(80vw/1.78);
  }

  .video-container iframe {
    width: 80vw;
    height: calc(80vw/1.78);
  }

  .custom-placeholder>input:invalid+span {
    top: 18px;
  }

  .custom-placeholder>input:valid+span,
  .custom-placeholder>input:focus+span {
    top: 2px;
  }
}

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

  .header-top {
    justify-content: space-between;
  }

  .header-logo {
    margin-right: 15px;
  }

  .addresses {
    display: none;
  }

  .header-tel {
    margin-left: 0;
  }

  .header.fixed .header-tel {
    margin-left: 15px;
  }

  .header.fixed .tel__link {
    font-size: 20px;
  }

  .header.fixed .header-btn {
    padding: 10px 15px;
    max-width: 180px;
  }

  .nav-list {
    justify-content: space-between;
  }

  .nav-item:not(:last-child) {
    margin-right: 0;
  }

  .hero-container__right {
    flex: 0 1 400px;
  }

  .hero-title {
    font-size: 40px;
  }

  .features-inner {
    flex-direction: column;
  }

  .features-text {
    width: 100%;
    padding: 0 75px 0 100px;
    margin-bottom: 50px;
  }

  .features-text::before {
    background-size: 80%;
    background-position: center center;
  }

  .features-text::after {
    background-size: 80%;
    background-position: center center;
  }

  .features-items {
    width: 100%;
    margin-left: 80px;
  }

  .services-col {
    width: 49%;
    padding: 0 40px;
  }

  .services-col:last-child {
    flex-direction: column;
    justify-content: space-between;
    width: 49%;
  }

  .services-item__title {
    font-size: 20px;
  }

  .courses-item {
    padding: 25px;
  }

  .try-text {
    padding-left: 10px;
  }

  .try-description {
    margin-top: 15px;
    margin-bottom: 15px;
    line-height: 20px;
  }

  .try-description__block .section-subtitle {
    font-size: 24px;
  }

  .btn-try::before {
    display: none;
  }

  .about-inner {
    flex-direction: column;
  }

  .about-text {
    width: 100%;
  }

  .about-description {
    margin-bottom: 15px;
  }

  .statistics-container {
    padding: 35px 10px;
  }

  .statistic-count {
    font-size: 30px;
  }

  .statistic-text {
    font-size: 16px;
  }

  .teachers-description {
    margin-top: 15px;
  }

  .swiper-container__teachers {
    margin-top: 20px;
  }

  .testimonials-card {
    flex-direction: column;
    padding: 15px 20px;
  }

  .testimonials-link {
    margin-right: auto;
    margin-bottom: 15px;
  }

  .testimonials-text {
    max-width: 95%;
  }

  .advantages-image {
    margin-left: 10px;
    max-width: 250px;
    height: auto;
  }

  .advantages-container .section-title {
    font-size: 26px;
  }

  .our-team {
    margin-top: 25px;
  }

  .our-team__image {
    max-width: 100%;
    height: auto;
  }

  .footer {
    margin-top: 35px;
  }

  .footer-column__one,
  .footer-column__five {
    width: 50%;
  }

  .footer-courses {
    display: none;
  }

  .footer-column__five {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .footer-lessons__additional {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .footer-lessons__additional--item:first-child {
    margin-bottom: 5px;
  }

  .footer-lessons__additional--link:hover {
    text-decoration: underline;
  }
}

@media (max-width: 576px) {

  article,
  section {
    margin-top: 15px;
  }

  .header-top {
    height: 65px;
  }

  .header-tel {
    display: none;
  }

  .header-tel__icon {
    display: flex;
    margin-left: auto;
    margin-right: 10px;
  }

  .tel-link__icon img {
    height: 45px;
    width: auto;
    transform: scale(.9);
    transition: transform .2s linear;
  }

  .tel-link__icon:hover img {
    transform: scale(1);
  }

  .navbar-tel {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-bottom: 25px;
  }

  .header.fixed .header-tel {
    margin-left: 0;
  }

  .header.fixed .header-btn {
    display: none;
  }

  .header-logo {
    margin-right: 10px;
  }

  .main-title {
    display: block;
    margin-right: auto;
    font-size: 14px;
  }

  .nav-toggle {
    display: block;
    width: 40px;
    height: 40px;
  }

  .nav-toggle.active .nav-toggle__item::before,
  .nav-toggle.active .nav-toggle__item::after {
    left: -4px;
  }

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

  .navbar,
  .header.fixed .navbar {
    visibility: hidden;
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease-in-out;
  }

  .navbar.active,
  .header.fixed .navbar.active {
    visibility: visible;
    opacity: 1;
    display: flex;
    width: 270px;
    min-height: 85vh;
    background-color: #fff;
    transform: scaleX(1);
    overflow-y: scroll;
  }

  .header-btn {
    display: none;
  }

  .nav-list {
    flex-direction: column;
    margin-top: 15px;
    margin-bottom: 25px;
  }

  .nav-item a:focus {
    color: var(--main-color);
  }

  .social-list__navbar {
    display: flex;
    justify-content: center;
    margin-left: 0;
    margin-bottom: 25px;
  }

  .social-item__header:not(:last-child) {
    margin-right: 15px;
  }

  .nav {
    height: auto;
    margin-bottom: 35px;
  }

  .nav-item {
    position: relative;
  }

  .nav-item:not(:last-child) {
    margin-bottom: 15px;
  }

  .nav-item::before {
    position: absolute;
    content: '';
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
  }

  .nav-item__main::before {
    background: url('../img/svg/navbar_mobile/home-lg-alt.svg') no-repeat bottom -2px center;
    background-size: contain;
  }

  .nav-item__courses::before {
    background: url('../img/svg/navbar_mobile/user-graduate.svg') no-repeat bottom -2px center;
    background-size: contain;
  }

  .nav-item__about::before {
    background: url('../img/svg/navbar_mobile/school.svg') no-repeat bottom -2px center;
    background-size: contain;
  }

  .nav-item__prices::before {
    background: url('../img/svg/navbar_mobile/usd-square.svg') no-repeat bottom -2px center;
    background-size: contain;
  }

  .nav-item__news::before {
    background: url('../img/svg/navbar_mobile/newspaper.svg') no-repeat bottom -2px center;
    background-size: contain;
  }

  .nav-item__contacts::before {
    background: url('../img/svg/navbar_mobile/address-book.svg') no-repeat bottom -2px center;
    background-size: contain;
  }

  .nav-link {
    margin-left: 30px;
    height: 35px;
  }

  .nav-link::before {
    background-color: var(--main-color);
  }

  .nav-item:hover,
  .nav-link.active {
    color: var(--main-color);
  }

  .header-btn__navbar {
    display: block;
    margin: 0 auto 25px;
    width: 230px;
    white-space: inherit;
    text-align: center;
  }

  .hero-container__right {
    flex: 0 1 275px;
  }

  .hero-image {
    margin: 0;
  }

  .hero-container__left .btn {
    white-space: inherit;
    text-align: center;
  }

  .features-text {
    padding: 0;
  }

  .features-items {
    margin-left: 0;
  }

  .services-col {
    padding: 0 5px;
  }

  .services-item {
    margin-bottom: 20px;
  }

  .services-item__title {
    font-size: 18px;
  }

  .try-inner {
    flex-direction: column;
  }

  .try-text {
    width: 100%;
    padding-bottom: 0;
  }

  .try-text::before {
    background-position: bottom center;
  }

  .try-text::after {
    background-position: bottom center;
  }

  .try-description__block {
    width: 100%;
    margin-top: 180px;
  }

  .try-description {
    padding-left: 25px;
  }

  .video-preview {
    max-width: 300px;
  }

  .swiper-container__about {
    width: 300px;
  }

  .statistics {
    margin-top: 25px;
  }

  .statistic-item:nth-child(-n + 6) {
    margin-bottom: 20px;
  }

  .statistic-item {
    width: 49%;
  }

  .statistic-count {
    margin-bottom: 10px;
  }

  .teachers {
    margin-top: 35px;
  }

  .all-teachers-btn {
    white-space: inherit;
    text-align: center;
    line-height: 1.2;
    max-width: 250px;
  }

  .testimonials-title {
    max-width: 65%;
  }

  .testimonials-buttons {
    flex-direction: column;
    align-items: center;
  }

  .all-testimonial__btn {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .advantages {
    margin-top: 25px;
  }

  .advantages-image {
    display: none;
  }

  .advantages-item {
    line-height: 20px;
  }

  .our-team__image {
    float: none;
  }

  .our-team__text {
    line-height: 1.2;
  }

  .main-title--footer {
    margin: 0 auto 15px;
    text-align: center;
  }

  .footer-column__one,
  .footer-column__two,
  .footer-column__three,
  .footer-column__five,
  .footer-column__five {
    padding: 0 5px;
  }

  .footer-title,
  .footer-nav__list {
    font-size: 20px;
  }

  .social-item__footer:not(:last-child) {
    margin-right: 3px;
  }

  .popup-content {
    padding: 15px;
  }

  .popup-content__video {
    padding: 0;
  }

  .popup-content__image {
    padding: 0;
  }

  .request input[type=text],
  .request input[type=tel],
  .request select {
    width: 100%;
  }
}

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

  .section-title {
    margin-bottom: 15px;
    font-size: 30px;
  }

  .section-text {
    font-size: 14px;
  }

  .main-title {
    font-size: 12px;
    max-width: 160px;
  }

  .header-tel__icon {
    margin-right: 5px;
  }

  .hero-container__right {
    flex: 0 1 225px;
  }

  .hero-container__left {
    padding: 0;
    padding-bottom: 25px;
  }

  .hero-title {
    font-size: 36px;
  }

  .features-text::before,
  .features-text::after {
    background-size: 70%;
  }

  .features-text {
    margin-bottom: 30px;
  }

  .services {
    margin-top: 25px;
  }

  .services-col,
  .services-col:last-child {
    width: 80%;
    margin: 0 auto;
  }

  .services-item__title {
    font-size: 18px;
    bottom: 0;
  }

  .swiper-button-courses__prev {
    margin-right: 10px;
  }

  .statistics-container {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .main-title--footer,
  .social-list__footer {
    margin-bottom: 10px;
  }

  .social-list__footer {
    justify-content: space-between;
    max-width: 85px;
  }

  .social-item__footer:not(:last-child) {
    margin-right: 0;
  }

  .footer-nav__list--hidden {
    justify-content: start;
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .footer-nav__item {
    margin-bottom: 0;
  }
}