/* Код для подключения шрифта в /css/stylename.css */
/* @font-face {
  font-family: "Barkentina";
  src: url("../fonts/BarkentinaRegular.eot");
  src: url("../fonts/BarkentinaRegular.eot?#iefix") format("embedded-opentype"),
    url("../fonts/BarkentinaRegular.woff") format("woff"),
    url("../fonts/BarkentinaRegular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
} */

/*=============== BASE ===============*/
*,
*::before,
*::after {
  box-sizing: border-box;
}
* {
  padding: 0;
  margin: 0;
}

html,
body {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "BB L School", sans-serif;
  color: #444;
  min-height: 100%;
  background-color: #fff;
  overflow-x: hidden;
  padding-top: var(--header-height, 70px);
}
body.menu-open {
  overflow: hidden;
  touch-action: none;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
.bb-btn,
.readmore .btn,
.course,
.course:before,
.course h4 {
  transition: all 400ms;
  -webkit-transition: all 400ms;
}

a:hover {
  color: #0072be;
}

h1,
h2,
h3,
h4 {
  font-weight: 500;
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  margin-bottom: 0;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input {
  border: none;
  outline: none;
  font-family: inherit;
}

button {
  cursor: pointer;
}
p {
  margin-top: 0;
  margin-bottom: 1rem;
}
.position-relative {
  position: relative;
}
.zindex-1 {
  z-index: 1;
}

section[id] {
  scroll-margin-top: calc(var(--header-height, 70px) + 20px);
}
.modal.modal-menu {
  z-index: 2000;
}

.modal-backdrop {
  z-index: 1990;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  padding: 10px 0;
  background: #fff;
  box-shadow: rgb(245, 245, 245) 0px 1px 7px;
}
.header-top {
  display: flex;
  align-items: center;
}
.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.header__menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navigation-mobile {
  display: none;
}
.header__menu ul li a,
.header__menu--mobile ul li a {
  position: relative;
}
.header__menu ul li a::after,
.header__menu--mobile ul li a::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.header__menu ul li a.active::after,
.header__menu--mobile ul li a.active::after {
  transform: scaleX(1);
}
.header__menu ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__menu ul li a {
  padding-left: 10px;
  padding-right: 10px;
  font-size: 1.1rem;
  color: rgb(0, 62, 99);
  text-decoration: none;
}
.header__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.header__phone a {
  font-size: 1.4rem;
  color: #136594;
}

.header__socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.socials a {
  font-size: 1.4rem;
  color: #136594;
}

.social-vk::before {
  content: "";
  font-family: FontAwesome;
}
.social-ok::before {
  content: "";
  font-family: FontAwesome;
}

.bg-page {
  height: 366px;
  background:
    radial-gradient(
      circle at 100px 100px,
      rgb(0, 114, 190) 0px,
      rgb(0, 114, 190) 60px,
      rgba(0, 62, 99, 0.1) 60px,
      rgba(0, 62, 99, 0) 100px
    ),
    radial-gradient(
      circle at 1200px center,
      rgba(0, 62, 99, 0.2) 0px,
      rgba(0, 62, 99, 0.2) 140px,
      rgba(0, 62, 99, 0) 140px
    ),
    radial-gradient(
      circle at 1200px center,
      rgba(0, 114, 190, 0.6) 0px,
      rgba(0, 114, 190, 0.6) 245px,
      rgba(0, 114, 190, 0) 245px
    ),
    linear-gradient(190deg, rgb(0, 114, 190) 20%, rgba(0, 114, 190, 0) 90%),
    radial-gradient(
      circle at 1200px center,
      rgba(0, 114, 190, 0.1) 0px,
      rgba(0, 114, 190, 0.1) 315px,
      rgba(0, 62, 99, 0) 315px
    ),
    radial-gradient(
      circle at 100px center,
      rgba(0, 114, 190, 0.1) 0px,
      rgba(0, 114, 190, 0.1) 215px,
      rgba(0, 62, 99, 0) 215px
    ),
    rgb(0, 62, 99);
}

/* SLIDER */
.slider-top {
  height: 100%;
}
.home-slider {
  height: 100%;
}
.swiper-home {
  height: 100%;
}
.swiper-wrapper {
  height: 100%;
}
.swiper-slide {
  height: 100%;
}
.swiper-slide img {
  height: 100%;
}
.swiper-button {
  width: auto;
  height: auto;
  margin: 15px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
  text-align: center;
  line-height: 35px;
  opacity: 0;
}
.swiper-button svg {
  height: 20px;
  width: 24px;
}
.home-slider .swiper-home .swiper-button {
  transition: opacity 0.4s ease-in-out;
}
.home-slider:hover .swiper-home .swiper-button {
  opacity: 1;
}

/* ABOUT */
.about {
  padding: 50px 0 80px;
}
.about h1 {
  text-align: center;
  font-size: 2.5rem;
}
.slogan {
  font-size: 1.3rem;
  text-align: center;
}
.about__wrapper {
  padding: 40px 0 60px;
}
.about__img {
  height: 400px;
}
.about__img img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.about__description {
  padding-left: 20px;
}
.about__title {
  margin-bottom: 20px;
}

/* CONTACT */
.contacts {
  padding: 20px 0 180px;
}
.contacts__title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 48px;
  position: relative;
  z-index: 3;
}
.offices-wrapper {
  position: relative;
  z-index: 10;
  background-color: #fff;
  width: 100%;
  padding: 10px;
  margin: 0;
  border-radius: 30px;
  box-shadow: 1px -1px 15px 1px rgba(0, 0, 0, 0.1);
  padding-top: 40px;
}

.bg-circle-right.offices-inner::before {
  content: "";
  display: block;
  width: 750px;
  height: 750px;
  border-radius: 50%;
  background-color: #f8f8f8;
  background-image: radial-gradient(
    circle at center,
    #fff 0,
    #fff 200px,
    #f8f8f8 201px
  );
  background-repeat: no-repeat;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -375px;
  margin-top: -375px;
}

.bg-circle-right {
  position: relative;
}
.offices-group-title {
  color: #094081;
  text-align: center;
  font-size: 1.4rem !important;
}
.offices-group-title--wide {
  max-width: 80%;
}
.office-card {
  color: #fff;
  background-color: #1665bf;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  padding: 20px;
  padding-left: 80px;
  height: 100%;
  height: 130px;
  transition: all 0.4s ease-in-out;
}
.office-card:hover {
  background-color: rgb(84, 141, 216);
}
.office-card h4 {
  position: relative;
}
.office-card h4::before {
  content: "";
  display: block;
  width: 23px;
  height: 30px;
  background: url(../images/icon-map-red-outline.png) no-repeat center top;
  position: absolute;
  top: 0;
  left: -9%;
  right: 0;
}
.office-card a {
  color: #fff;
  text-decoration: none;
}
.office-card p {
  margin-bottom: 5px;
}
.offices-list {
  width: 100%;
  margin: 0;
}
.offices-group--border {
  position: relative;
}
.offices-group--border::after {
  content: "";
  display: block;
  width: 3px;
  height: 100%;
  background-color: #cde2f7;
  position: absolute;
  right: -13px;
  top: 0;
}

.offices-inner {
  background-color: #fff;
  padding: 0;
}
.offices-wrapper.offices-wrapper-closed {
  background: transparent;
  color: #000 !important;
  padding: 0;
  padding-top: 20px;
  justify-content: center;
  display: flex;
  text-align: center;
  margin: 0 auto;
}
.office-image {
  height: 600px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 1px -1px 15px 1px rgba(0, 0, 0, 0.1);
  position: relative;
}
.office-image::after {
  content: "";
  display: block;
  background-color: #0a75cf;
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 30px;
}

.office-image img {
  height: 100%;
  display: flex;
  flex-direction: column;
  object-fit: cover;
  width: 100%;
}

/* FOOTER */
.footer {
  background: #003e63;
  padding: 20px 0;
}
.footer__copy {
  text-align: center;
  color: #fff;
  margin-bottom: 0;
}

/* RESPONSIVE */

@media (max-width: 1400px) {
  .swiper-slide img {
    height: 100%;
    object-fit: contain;
  }
}
@media (max-width: 1200px) {
  .bg-page {
    height: 280px;
  }
  .bg-circle-right.offices-inner::before {
    height: 700px;
    width: 700px;
    margin-left: -417px;
  }
}
@media (max-width: 991px) {
  .header .container {
    max-width: 90%;
  }
  .header__nav {
    gap: 0;
  }
  .header__menu ul {
    padding-left: 0;
  }
  .header__contact {
    gap: 0px;
  }
  .header__phone a {
    font-size: 1.2rem;
  }
  .bg-page {
    height: 260px;
  }
  .container.slider-top {
    max-width: 90%;
  }
  .contacts {
    padding: 20px 0 80px;
  }
  .bg-circle-right:before {
    top: -100px;
    margin-top: 0;
  }
  .bg-circle-right.offices-inner::before {
    width: 650px;
    height: 650px;
  }
  .office-image {
    display: none;
  }
  .about {
    padding: 40px 0 0px;
  }
  .about h1 {
    font-size: 2rem;
  }
  .slogan {
    font-size: 1.2rem;
  }
  .about__description {
    padding-left: 0;
    margin-top: 40px;
  }
}
@media (max-width: 876px) {
  .header .container {
    max-width: 98%;
  }

  .bg-page {
    height: 240px;
  }
  .contacts__title {
    font-size: 2rem;
  }
}
@media (max-width: 767px) {
  .header .container {
    position: relative;
    overflow: visible;
  }

  .header {
    height: 70px;
  }

  .header-top {
    position: relative;
    z-index: 1000;
  }

  .header__menu {
    display: none;
  }

  .navigation-mobile {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #ee001c;
    z-index: 1001;
  }

  .navigation-mobile .navbar {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .navigation-mobile .btn-navbar {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .navigation-mobile .btn-navbar .icon-bar {
    width: 22px;
    height: 2px;
    background: #fff;
    display: block;
    transition: all 0.3s ease;
  }

  .navigation-mobile .btn-navbar .icon-bar:nth-child(2) {
    margin: 6px 0;
  }

  .navigation-mobile.active .icon-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .navigation-mobile.active .icon-bar:nth-child(2) {
    opacity: 0;
  }

  .navigation-mobile.active .icon-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header__contact {
    margin-right: 50px;
  }

  .modal-menu .modal-dialog {
    margin: 20px;
    max-width: calc(100% - 40px);
    height: auto;
  }

  .modal-menu .modal-content {
    border: none;
    border-radius: 0;
    min-height: 100vh;
  }

  .modal-menu .modal-body {
    padding: 30px 20px;
  }

  .modal-menu .header__menu--mobile ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .modal-menu .header__menu--mobile li {
    margin-bottom: 20px;
    background: #f5f5f5;
    padding-left: 40px;
  }

  .modal-menu .header__menu--mobile a {
    font-size: 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
  }

  .modal-menu .header__menu--mobile a:hover {
    color: #e30613;
  }

  .modal.modal-menu {
    opacity: 0;
    transition: opacity 0.25s ease;
  }

  .modal.modal-menu.show {
    opacity: 1;
  }

  .modal-menu .modal-dialog {
    transform: translateY(-20px) scale(0.96);
    transition: all 0.25s ease;
  }

  .modal-menu.show .modal-dialog {
    transform: translateY(0) scale(1);
  }
  .modal-backdrop.show {
    opacity: 0.4;
  }
  .header__menu--mobile {
    border-bottom: 1px solid rgb(233, 233, 233);
  }
  .header__phone--mobbile {
    display: block;
    padding-left: 40px;
  }
  .header__phone--mobbile a {
    font-size: 1.3rem;
  }
  .header__socials--mobile {
    justify-content: flex-start;
    padding-left: 40px;
    margin-top: 30px;
  }

  .container.slider-top {
    max-width: 100%;
  }
  .bg-page {
    position: relative;
    z-index: -1;
  }
  .about h1 {
    font-size: 1.8rem;
  }
  .contacts__title {
    font-size: 30px;
  }
  .slogan {
    font-size: 18px;
    margin-top: 15px;
  }
  .offices-wrapper {
    margin: 0 20px;
  }
  .bg-circle-right.offices-inner::before {
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 576px) {
  .header__logo-column {
    width: 180px;
  }
  .header__mobile-column {
    width: 60%;
  }
  .header__contact {
    margin-right: 20px;
  }
  .modal-menu .modal-dialog {
    margin: 12px;
    max-width: calc(100% - 24px);
  }
}

@media (max-width: 567px) {
  .bg-page {
    height: 180px;
  }
  .about h1 {
    font-size: 1.6rem;
  }
  .contacts__title {
    font-size: 1.4rem;
  }
  .office-card {
    padding-left: 38px;
  }
}

@media (max-width: 480px) {
  .header__socials--desktop {
    display: none;
  }
  .header__mobile-column {
    width: 48%;
  }
  .header__contact-desctop .header__phone a {
    font-size: 16px;
  }
  .bg-page {
    height: 150px;
  }
}

@media (max-width: 380px) {
  .header__contact-desctop {
    display: none;
  }
}

@media (max-width: 350px) {
  .bg-page {
    height: 100px;
  }
  .about h1 {
    font-size: 1.5rem;
  }
  .slogan {
    font-size: 16px;
  }
  .contacts__title {
    font-size: 1.2rem;
  }
  .office-card {
    height: 100%;
  }
  .office-card h4 {
    position: relative;
    font-size: 18px;
    padding-left: 10px;
  }
  .office-card p {
    padding-left: 10px;
  }
}
