/* Base */
html {
  box-sizing: border-box;
  height: 100%;
}

*,
*::after,
*::before {
  box-sizing: inherit;
}

body {
  min-height: 100%;
}

ul,
ol {
  padding: 0;
}

body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
figure,
figcaption,
blockquote,
dl,
dd {
  margin: 0;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  border: none;
  outline: transparent;
}

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

button {
  padding: 0;
  background: none;
  cursor: pointer;
  outline: transparent;
}

address,
cite {
  font-style: normal;
}

legend {
  display: table;
  float: left;
  margin: 0;
  padding: 0;
  width: 100%;
}
legend + * {
  clear: both;
}

fieldset {
  border: 0;
  padding: 0.01em 0 0 0;
  margin: 0;
  min-width: 0;
}

body:not(:-moz-handler-blocked) fieldset {
  display: table-cell;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type='number'] {
  -moz-appearance: textfield;
}

a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

@font-face {
  font-family: 'Manrope';
  font-display: swap;
  src: url('../fonts/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  font-display: swap;
  src: url('../fonts/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Manrope';
  font-display: swap;
  src: url('../fonts/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
}
:root {
  --font-main: 'Manrope', sans-serif;
  --page-bg: var(--dark-color);
  --text-color: var(--light-color);
  --font-size: 16px;
  --line-height: 130%;
  --dark-color: #1b1c32;
  --dark-color-5: rgba(27, 28, 50, 0.05);
  --icon-bg: rgba(27, 28, 50, 0.1);
  --dark-second-color: #2a2c44;
  --dark-third-color: #2b2b2b;
  --dark-third-color-50: rgba(43, 43, 43, 0.5);
  --light-color: #fff;
  --light-color-80: rgba(255, 255, 255, 0.8);
  --light-color-60: rgba(255, 255, 255, 0.6);
  --light-color-50: rgba(255, 255, 255, 0.5);
  --light-color-40: rgba(255, 255, 255, 0.4);
  --light-color-20: rgba(255, 255, 255, 0.2);
  --light-color-10: rgba(255, 255, 255, 0.1);
  --accent-color: #44ff44;
  --container: 371px;
  --container-padding: 35px;
  --radius-sm: 10px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --border: 1px;
  --transition: 0.2s ease-in-out;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

.no-scroll {
  overflow-y: hidden !important;
}

.d-none {
  display: none !important;
}

.container {
  margin-inline: auto;
  padding-inline: var(--container-padding);
  max-width: var(--container);
  width: 100%;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  background-color: var(--page-bg);
  color: var(--text-color);
  font-size: var(--font-size);
  line-height: var(--line-height);
  font-weight: 600;
  letter-spacing: -0.05em;
  overflow-x: hidden;
}

.main {
  flex-grow: 1;
}

.icon-arrow {
  stroke: var(--dark-third-color);
  opacity: 0.7;
  transition: transform var(--transition);
}

.icon-dots {
  fill: var(--dark-third-color);
  opacity: 0.5;
}

.hidden-block {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}
.hidden-block.is-active {
  opacity: 1;
  max-height: 450px;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}

.swiper {
  width: 301px;
  border-radius: var(--radius-lg);
}

.swiper-wrapper {
  border-radius: var(--radius-lg);
}

.swiper-slide {
  border-radius: var(--radius-lg);
}

.hero__video{
  display: none;
}

/* Components */
.btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--dark-color);
  border-radius: var(--radius-md);
  height: 62px;
  background-color: var(--light-color);
  padding: 10px 10px 10px 25px;
  letter-spacing: -0.04em;
}
.btn--accent {
  height: 75px;
  background-color: var(--accent-color);
  font-size: 18px;
  letter-spacing: -0.04em;
  transition: background-color var(--transition);
}
@media (any-hover: hover) {
  .btn--instagram:hover .icon-arrow {
    transform: translateX(3px);
  }
}
.btn__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 57px;
  height: 57px;
  background-color: transparent;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.btn__icon::before {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  transition: background-color var(--transition);
}
.btn__icon.is-active::before {
  background-color: var(--icon-bg);
}

/* Blocks */
.hero {
  margin-bottom: 40px;
}
.hero__img {
  position: relative;
  max-width: 768px;
  margin-inline: auto;
  transform: translateX(-85px);
}
@media (max-width: 575.98px) {
  .hero__img {
    transform: translateX(0);
  }
  .hero__img img {
    width: 100%;
  }

  .hero__video{
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
  }
}
.hero__img:before {
  content: '';
  display: block;
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: -140px;
  z-index: 1;
  height: 100%;
  background: linear-gradient(180deg, rgba(27, 28, 50, 0) 13%, rgb(27, 28, 50) 75%);
}
.hero__img-inner {
  position: relative;
}
.hero__img-inner:before,
.hero__img-inner:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
@media (max-width: 575.98px) {
  .hero__img-inner:before,
  .hero__img-inner:after {
    display: none;
  }
}
.hero__img-inner:before {
  left: -1px;
  background: linear-gradient(-90deg, rgba(27, 28, 50, 0) 65%, rgb(27, 28, 50) 100%);
}
.hero__img-inner:after {
  right: -1px;
  background: linear-gradient(90deg, rgba(27, 28, 50, 0) 65%, rgb(27, 28, 50) 100%);
}
.hero__content {
  transform: translateY(-130px);
  margin-bottom: -130px;
}
.hero__title {
  font-size: 39px;
  font-weight: 700;
  line-height: 110%;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.08em;
}
.hero__description {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 18px;
  line-height: 130%;
}

.offer {
  margin-bottom: 60px;
}
.offer__list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.offer__btn.is-active .btn__icon::before {
  background-color: var(--icon-bg);
}
@media (any-hover: hover) {
  .offer__btn:hover .btn__icon::before {
    background-color: var(--icon-bg);
  }
}

.sub-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(89, 90, 121, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px 40px 44px 40px;
  margin-top: 15px;
  text-align: center;
}
.sub-menu__title {
  font-weight: 500;
  font-size: 22px;
  line-height: 110%;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}
.sub-menu__descr {
  color: var(--light-color-60);
  margin-bottom: 30px;
  letter-spacing: -0.04em;
}
.sub-menu__descr--training {
  margin-bottom: 30px;
}
.sub-menu__links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sub-menu__links--training {
  width: max-content;
}
.sub-menu__btn {
  width: 100%;
  justify-content: center;
  gap: 0;
  padding: 10px;
}
.sub-menu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  margin-bottom: 30px;
  border-radius: 100px;
  border: 1px solid var(--light-color-20);
}
@media (any-hover: hover) {
  .sub-menu__link:hover .sub-menu__link-text::after {
    background-color: transparent;
  }
}
.sub-menu__link-text {
  position: relative;
}
.sub-menu__link-text::after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  left: 0;
  bottom: 2px;
  background-color: currentColor;
  transition: background-color var(--transition);
}

.education {
  margin-bottom: 60px;
}
.education__inner {
  padding-bottom: 83px;
  border-bottom: 1px solid var(--light-color-20);
}
@media (max-width: 575.98px) {
  .education__inner {
    padding-bottom: 60px;
  }
}
.education__title {
  font-weight: 500;
  font-size: 34px;
  margin-bottom: 42px;
  line-height: 110%;
  letter-spacing: -0.06em;
}
.education__block {
  margin-bottom: 28px;
}
.education__hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}
.education__hidden.is-open {
  opacity: 1;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}
.education__hidden .education__subtitle {
  margin-bottom: 20px;
}
.education__hidden-inner {
  margin-top: 52px;
  padding-bottom: 10px;
}
.education__item,
.education__text {
  font-size: 18px;
  color: var(--light-color-60);
}
.education__item {
  padding-block: 15px;
  border-top: 1px solid var(--light-color-10);
  border-bottom: 1px solid var(--light-color-10);
  line-height: 130%;
}
.education__item:first-child {
  padding-top: 0;
  border-top: 0;
}
.education__item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.education__subtitle {
  font-size: 20px;
  line-height: 120%;
  margin-bottom: 12px;
}
.education__text {
  font-size: 18px;
  color: var(--light-color-60);
  line-height: 130%;
}
.education__list--diplom {
  margin-bottom: 52px;
}
.education__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: var(--accent-color);
  text-decoration: underline;
  transition: color var(--transition);
  letter-spacing: -0.05em;
  text-decoration-skip-ink: none;
}
.education__btn.is-active .education__btn-icon {
  transform: rotate(180deg);
}
.education__btn-icon {
  stroke: currentColor;
  transition: transform var(--transition);
}

.benefits {
  position: relative;
  overflow: hidden;
}
.benefits .swiper-pagination {
  bottom: 57px;
}
@media (max-width: 575.98px) {
  .benefits .swiper-pagination {
    bottom: 47px;
  }
}
.benefits .swiper-pagination-bullet {
  background: var(--dark-second-color) !important;
  opacity: 1 !important;
  width: 6px !important;
  height: 6px !important;
}
.benefits .swiper-pagination-bullet-active {
  background: var(--accent-color) !important;
  width: 8px !important;
  height: 8px !important;
}
.benefits__slider .swiper {
  padding-bottom: 96px !important;
}
@media (max-width: 575.98px) {
  .benefits__slider .swiper {
    padding-bottom: 86px !important;
  }
}

.benefits-card {
  background-color: var(--dark-second-color);
  padding: 40px 36px 44px 36px;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.benefits-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 66px;
  height: 66px;
  border-radius: 100px;
  border: 1px solid var(--accent-color);
  margin-bottom: 30px;
}
.benefits-card__title {
  font-weight: 500;
  font-size: 22px;
  line-height: 110%;
  letter-spacing: -0.06em;
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 20px;
}
.benefits-card__descr {
  color: var(--light-color-60);
}

.footer {
  background-color: var(--dark-second-color);
}
.footer__top {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-top: 80px;
  padding-bottom: 60px;
  text-align: center;
}
@media (max-width: 575.98px) {
  .footer__top {
    padding-top: 60px;
    padding-bottom: 50px;
  }
}
.footer__logo {
  font-weight: 500;
  font-size: 34px;
  line-height: 110%;
  letter-spacing: -0.06em;
  text-align: center;
}
.footer__address {
  display: flex;
  flex-direction: column;
  gap: 20px;
  color: var(--light-color-60);
  line-height: 110%;
  letter-spacing: -0.04em;
}
.footer__copyright {
  padding-block: 60px;
  border-top: 1px solid var(--light-color-10);
  font-size: 14px;
  line-height: 143%;
  letter-spacing: -0.05em;
  text-align: center;
  color: var(--light-color-40);
}
@media (max-width: 575.98px) {
  .footer__copyright {
    padding-top: 40px;
  }
}

.phone {
  display: block;
  transition: color var(--transition);
}
@media (any-hover: hover) {
  .phone:hover {
    color: var(--light-color-80);
  }
}

.maps__btn {
  height: 57px;
}
.maps__btn.is-active .btn__icon::before {
  background-color: var(--dark-color-5);
}
.maps__btn .btn__icon {
  width: 37px;
  height: 37px;
}
@media (any-hover: hover) {
  .maps__btn:hover .btn__icon::before {
    background-color: var(--dark-color-5);
  }
}
.maps__hidden {
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}
.maps__hidden.is-open {
  opacity: 1;
  max-height: 190px;
  transition: max-height 0.4s ease, opacity 0.6s ease;
}
.maps__list {
  margin-top: 15px;
  padding-inline: 24px;
  background-color: var(--light-color-10);
  border-radius: var(--radius-md);
}
.maps__item:not(:last-child) {
  border-bottom: 1px solid var(--light-color-10);
}
.maps__link {
  display: inline-block;
  width: 100%;
  padding-block: 17px;
}
