.header {
  margin-bottom: 10rem;
}
.header__boxBcg {
  height: 110vh;
  width: 80%;
  background: linear-gradient(248.74deg, #3B3B4B 0%, #2A2A34 100.71%);
  box-shadow: 4px 0px 16px rgba(0, 0, 0, 0.15);
  position: absolute;
  z-index: -1;
  overflow: hidden; }

.header__boxBcg2 {
  height: 200vh;
  width: 100%;
  background-color: #2A2A34;
  position: absolute;
  z-index: -2;
  overflow: hidden; }

.header__nav {
  padding: 2rem 6rem;
  display: flex;
  justify-content: space-between;
  margin-bottom: 8rem;
  z-index: 2;
}

.header__nav__flexItem {
  display: flex;
  gap: 2.8rem;
}
  .header__nav__item__ico {
    position: relative;
    display: inline-block;
    top: 0.4rem;
    width: 1.7rem;
    margin-right: 0.5rem; }
  .header__nav__item__link {
    color: #fff;
    font-size: 2rem;
    text-decoration: underline;
    transition: all .4s; }
    .header__nav__item__link:hover {
      opacity: 0.8; }

.header__heading {
  padding-right: 20rem; 
}

.header__heading__item {
    background-image: linear-gradient(0deg, rgba(212, 197, 176, 0.7), rgba(212, 197, 176, 0.7)), url("../img/bcgs/head_bcg1.png");
    background-position: top;
    background-size: cover;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
    padding: 3rem 4rem 3rem 6rem;
    width: 120rem;
    color: #404040;
}
    
.header__heading__item__heading {
      font-size: 3rem;
      letter-spacing: -1px;
      margin-bottom: 0.4rem;
      transition: all .4s;
      animation-name: moveInLeft;
      animation-duration: 2s; 
}
.header__heading__item__heading__title {
  font-size: 6rem;
}
.header__heading__item__text {
  font-size: 1.6rem;
  width: 60rem;
  line-height: 2.4rem;
  margin-top: 3rem;
}

.header__heading__item__descr {
      font-size: 1.2rem;
}

.header__heading__text {
    width: 70rem;
    padding: 3rem 4rem 2rem 4rem;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 1.4;
}

.header__heading__photo {
  position: absolute;
  width: 60rem;
  margin: 8rem 8rem 0 0;
  right: 0;
}

.header__info {
  padding: 2rem 0;
}

.header__info__adv {
    padding: 2rem 0 2rem 0;
    align-self: baseline;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    animation-name: moveInBottom;
    animation-duration: 2s;
}
    
.header__info__adv__free {
      font-size: 4rem;
      text-align: center;
      font-weight: 700;
      text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
      padding-bottom: 5rem;
}

.header__info__adv__tel {
      font-size: 4rem;
      text-align: center;
      font-weight: 700;
      text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); }
      .header__info__adv__tel__link {
        color: #fff; }
    .header__info__adv__nav {
      font-size: 2.2rem;
      display: flex;
      justify-content: center;
      gap: 2rem;
      animation-name: moveInBottom;
      animation-duration: 2s; }
      .header__info__adv__nav__link {
        color: #D4C5B0;
        text-decoration: none;
        border-left: solid #D4C5B0 2px;
        border-right: solid #D4C5B0 2px;
        border-top: solid transparent 2px;
        border-bottom: solid transparent 2px;
        padding: 0.6rem 2rem;
        transition: all .4s;
        font-weight: 700; }
        .header__info__adv__nav__link:hover {
          border: solid #D4C5B0 2px; }

.header__info__servs {
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.header__info__servs__row {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.header__info__servs__list__item__link {
  color: #fff;
  font-size: 1.8rem;
}

.header__info__services {
  animation-name: moveInRight;
  animation-duration: 2s;
  display: flex;
  align-items: flex-end;
}

.header__info__services__list {
  padding: 0 7rem;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.7;
  color: #fff;
}
.header__info__services__list__item__link {
      transition-duration: 0.8s;
      color: #fff;
}

.header__info__services__list__item__link:hover {
  opacity: 0.8;
}

.header__info__desclimer {
  text-align: right;
  padding-right: 2.5rem;
  font-size: 1rem;
}

.about {
  padding: 6rem 7rem;
  background: linear-gradient(269.84deg, #303041 0.14%, #252532 99.86%); }
  .about__heading {
    font-size: 2.6rem;
    margin-bottom: 4rem; }
  .about__infoBox {
    margin-bottom: 4rem; }
    .about__infoBox__info {
      background-image: linear-gradient(0deg, rgba(212, 197, 176, 0.829), rgba(212, 197, 176, 0.815)), url("../img/bcgs/about_bcg.png");
      background-position: top;
      background-size: cover;
      border-radius: 3px;
      box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.25);
      padding: 4rem 5rem;
      width: 80rem;
      font-size: 1.6rem;
      line-height: 1.5;
      color: #404040; }
      .about__infoBox__info__text {
        margin-bottom: 1rem; }
      .about__infoBox__info__link {
        color: #404040;
        transition: all 0.4s;
        font-weight: 700; }
        .about__infoBox__info__link:hover {
          opacity: 0.8; }
  .about__diploms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: auto; }
    .about__diploms__item__pic1 {
      width: 30rem;
      border-radius: 3px;
      filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
      transition: all .4s; }
      .about__diploms__item__pic1:hover {
        transform: scale(1.3);
        box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.25); }
    .about__diploms__item__pic2 {
      display: block;
      width: 30rem;
      margin-bottom: 1rem;
      border-radius: 3px;
      filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
      transition: all .4s; }
      .about__diploms__item__pic2:last-child {
        margin-bottom: 0; }
      .about__diploms__item__pic2:hover {
        transform: scale(1.3);
        box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.25); }

.callme {
  padding: 2rem 7rem;
  background-color: #97784C;
  display: flex;
  justify-content: space-between; }
  .callme__text {
    font-size: 2rem;
    width: 35%; }
  .callme__form {
    width: 50%;
    display: flex;
    justify-content: space-between;
    gap: 1rem; }
    .callme__form__input {
      border: none;
      background: #FFFFFF;
      border-radius: 5px;
      padding: 1rem 2rem;
      font-size: 1.6rem;
      box-sizing: inherit;
      width: 40%; }
      .callme__form__input:focus {
        outline: none; }
    .callme__form__btn {
      border: none;
      background: #D4C5B0;
      box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.15);
      border-radius: 5px;
      color: #404040;
      padding: 1rem 2rem;
      font-weight: 700;
      font-size: 1.6rem;
      cursor: pointer;
      transition: all .4s;
      box-sizing: inherit; }
      .callme__form__btn:hover {
        box-shadow: inset 0px 2px 5px rgba(53, 53, 53, 0.3); }

.principles {
  background-color: #2A2A34;
  padding: 4rem 7rem; }
  .principles__heading {
    font-size: 2.6rem;
    margin-bottom: 4rem; }
  .principles__box {
    display: flex;
    justify-content: center;
    gap: 4rem;
    width: 80%;
    margin: auto; }
    .principles__box__item {
      display: flex;
      justify-content: space-between;
      gap: 1rem;
      background-color: #97784C;
      padding: 2rem 3rem;
      width: 35%;
      box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15);
      border-radius: 3px; }
      .principles__box__item__fig {
        font-size: 20rem;
        line-height: 18rem; }
      .principles__box__item__text {
        padding-top: 1rem;
        line-height: 1.4;
        font-size: 1.8rem; }

.services {
  background-image: linear-gradient(0deg, rgba(64, 64, 64, 0.46), rgba(64, 64, 64, 0.46)), url("../img/bcgs/about_bcg.png");
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  padding: 6rem 0; }
  .services__infoBox {
    background-image: linear-gradient(95.47deg, #2A2A34 0.68%, rgba(42, 42, 52, 0.58) 98.32%);
    box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.25);
    padding: 4rem 7rem; }
    .services__infoBox__heading {
      font-size: 2.6rem;
      margin-bottom: 4rem; }
    .services__infoBox__services {
      display: flex;
      justify-content: center;
      gap: 3rem; }
      .services__infoBox__services__item {
        background-color: #D4C5B0;
        color: #404040;
        box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        border-radius: 5px;
        padding: 4rem 5rem;
        width: 20%;
        height: 34rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        transition: all .4s; }
        .services__infoBox__services__item__ico {
          float: right;
          width: 8rem; }
        .services__infoBox__services__item__heading {
          font-size: 2.4rem;
          margin-top: 8rem; }
        .services__infoBox__services__item__text {
          font-size: 1.4rem;
          line-height: 1.4;
        }
        .services__infoBox__services__item__link {
          color: #404040;
          font-size: 1.4rem;
          font-weight: 700;
          transition: all .4s; }
          .services__infoBox__services__item__link:hover {
            opacity: 0.8; }
        .services__infoBox__services__item:hover {
          transform: scale(1.1);
          box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.25); }

.testimonails {
  padding: 6rem 7rem;
  background: linear-gradient(269.84deg, #303041 0.14%, #252532 99.86%); }
  .testimonails__heading {
    font-size: 2.6rem;
    margin-bottom: 4rem; }
  .testimonails__layout {
    width: 80%;
    overflow-x: auto;
    margin: auto; }
  .testimonails__box {
    display: flex;
    gap: 2rem;
    width: 240rem;
    padding: 1rem 0; }
    .testimonails__box__item {
      width: 80rem;
      max-height: 34rem;
      overflow-y: auto;
      background-color: #97784C;
      box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.15);
      border-radius: 3px;
      padding: 3rem; }
      .testimonails__box__item__header {
        font-size: 2rem;
        margin-bottom: 2rem; }
      .testimonails__box__item__text {
        font-size: 1.4rem;
        margin-bottom: 1.4rem; }

.contacts {
  background-image: linear-gradient(90.26deg, #2A2A34 0.23%, rgba(42, 42, 52, 0.25) 99.79%), url("../img/bcgs/contacts_bcg.png");
  background-position: top;
  background-size: cover;
  background-attachment: fixed;
  padding: 4rem 7rem 8rem; }
  .contacts__heading {
    font-size: 2.6rem;
    margin-bottom: 4rem; }
  .contacts__box {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    padding: 0 10rem; }
    .contacts__box__info {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      font-size: 1.8rem;
      width: 40%; }
      .contacts__box__info__link {
        color: #fff; }
      .contacts__box__info__map {
        width: 80%;
        height: 283px;
        border-radius: 5px;
        filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.25)); }
    .contacts__box__formBox {
      font-size: 1.8rem;
      width: 40%; }
      .contacts__box__formBox__form {
        display: flex;
        flex-direction: column;
        gap: 2rem; }
        .contacts__box__formBox__form__inp {
          border: none;
          background: #FFFFFF;
          border-radius: 5px;
          padding: 1rem 2rem;
          font-size: 1.6rem;
          box-sizing: inherit; }
          .contacts__box__formBox__form__inp:focus {
            outline: none; }
        .contacts__box__formBox__form__txtarea {
          border: none;
          background: #FFFFFF;
          border-radius: 5px;
          padding: 1rem 2rem;
          font-size: 1.6rem;
          box-sizing: inherit; }
          .contacts__box__formBox__form__txtarea:focus {
            outline: none; }
        .contacts__box__formBox__form__btn {
          border: none;
          background: #D4C5B0;
          box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.15);
          border-radius: 5px;
          color: #404040;
          padding: 1rem 2rem;
          font-weight: 700;
          font-size: 1.6rem;
          cursor: pointer;
          transition: all .4s;
          box-sizing: inherit;
          width: 20rem;
          align-self: center;
          background-color: #97784C;
          color: #fff; }
          .contacts__box__formBox__form__btn:hover {
            box-shadow: inset 0px 2px 5px rgba(53, 53, 53, 0.3); }
      .contacts__box__formBox__desc {
        font-size: 1.2rem;
        text-align: center; }
        .contacts__box__formBox__desc__link {
          color: #fff; }

.footer {
  background-color: #2A2A34;
  padding: 2rem 7rem;
  display: flex;
  justify-content: space-between; }
  .footer__info {
    display: flex;
    flex-direction: column;
    gap: 1rem; }
    .footer__info__link {
      color: #fff;
      font-size: 1.4rem;
      transition: all .4s; }
      .footer__info__link:hover {
        opacity: 0.8; }
  .footer__nav {
    display: flex;
    justify-content: flex-end;
    gap: 3rem;
    align-items: center; }
    .footer__nav__link {
      font-size: 2rem;
      color: #fff;
      transition: all .4s; }
      .footer__nav__link:hover {
        opacity: 0.8; }

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  font-size: 10px }

body {
  font-family: 'Roboto', sans-serif;
  font-weight: 100;
  /*font-size: 16px;*/
  color: #fff; }

::-webkit-scrollbar {
  width: 8px;
  opacity: 0.5; }

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  -webkit-border-radius: 10px;
  border-radius: 10px; }

/* Handle */
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: #D4C5B0;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5); }

::-webkit-scrollbar-thumb:window-inactive {
  background: #D4C5B0; }

@keyframes moveInLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0; }
  80% {
    transform: translateX(10px); }
  100% {
    opacity: 1;
    transform: translateX(0); } }

@keyframes moveInRight {
  0% {
    transform: translateX(100px);
    opacity: 0; }
  80% {
    transform: translateX(-10px); }
  100% {
    opacity: 1;
    transform: translateX(0); } }

@keyframes moveInBottom {
  0% {
    transform: translateY(100px);
    opacity: 0; }
  80% {
    transform: translateY(-10px); }
  100% {
    opacity: 1;
    transform: translateY(0); } }

.margin-bottom-small {
  margin-bottom: 1.4rem; }

.margin-bottom-medium {
  margin-bottom: 2.2rem; }

@media (max-width: 1500px) {
  .services__infoBox__services__item {
    width: 30%; }
  .principles__box {
    width: 100%; }
  .header__boxBcg {
    height: 130vh;
  }
  .header__heading__photo {
    margin-right: 3rem;
    width: 45rem;
  }
}

@media (max-width: 1200px) {
  html {
    font-size: 50%; }
  .header__heading {
    padding-right: 10rem; }
  .principles__box__item__fig {
    font-size: 16rem;
    line-height: 16rem; }
  .contacts__box {
    padding: 0;
    gap: 3rem; }
  .contacts__box__formBox {
    width: 50%; }
  .contacts__box__info {
    width: 50%; }
  .contacts__box__info__map {
    width: 100%; } }

@media (max-width: 1000px) {
  .header__heading__item {
    width: 80rem; }
  .callme__form {
    width: auto; }
  .callme__text {
    font-size: 1.4rem; }
  .principles__box__item {
    padding: 1.6rem; }
  .testimonails__layout {
    width: 100%; } 
}

@media (max-width: 900px) {
  .header__heading__item__text {
    width: 45rem;
  }
  .header__info__services__list {
    width: 50rem;
    font-size: 1.4rem;
  }
}

@media (max-width: 800px) {
  .header__info__servs {
    margin-bottom: 4rem;
  } 
  .header__info__adv {
    padding: 0;
    margin-bottom: 3rem; }
  .header__heading__photo {
    width: 34rem; 
  }
  .header__info__services__list {
    padding: 0 0 0 3rem;
    width: 40rem;
  }
  .header__heading {
    padding-right: 4rem; }
  .header__heading__text,
  .header__heading__item,
  .callme {
    padding: 2rem 4rem; }
  .header__heading__item__heading {
    font-size: 2.4rem; }
  
    .header__info {
    padding: 2rem 0 2rem 0;
    flex-direction: column;
  }
  .header__info__services {
    align-self: flex-end;
    font-size: 2rem; }
  .header__info__adv__free {
    margin-bottom: 3rem; }
  .header__heading__item {
    width: auto; }
  .about {
    padding: 6rem 4rem; }
  .about__diploms__item__pic1,
  .about__diploms__item__pic2 {
    width: 22rem; }
  .about__infoBox__info {
    width: 95%; }
  .services__infoBox {
    padding: 4rem; }
  .services__infoBox__services__item {
    width: 50%; }
  .principles,
  .footer,
  .testimonails {
    padding: 4rem; }
  .principles__box__item__text {
    font-size: 1.4rem; }
  .principles__box__item__fig {
    font-size: 12rem;
    line-height: 12rem; }
  .principles__box {
    gap: 2rem; }
  .contacts {
    padding: 4rem; } }

@media (max-width: 600px) {
  .header__nav {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    gap: 1.4rem; }
  .header__info__services {
    width: auto;
    flex-direction: column-reverse;
    align-items: center;
  }
  .header__info__services__list {
    width: 100%;
    padding-left: 4rem;
    font-size: 1.8rem;
  }
  .header__info__adv__free {
    margin-bottom: 0;
    padding-bottom: 2rem;
  }
  .header__heading__text {
    width: auto; }
  .about__diploms {
    flex-direction: column;
    align-items: center; }
  .about__diploms__item__pic1,
  .about__diploms__item__pic2 {
    width: 30rem; }
  .header__heading__item__heading {
    font-size: 1.6rem; }
  .header__heading__photo {
    width: 24rem;
  }
  .header__heading {
    padding-right: 2rem; }
  .callme {
    flex-direction: column;
    align-items: center; }
  .callme__text {
    width: auto;
    font-size: 2rem;
    margin-bottom: 2rem; }
  .services__infoBox__services__item {
    padding: 3rem; }
  .principles__box {
    flex-direction: column;
    align-items: center; }
  .principles__box__item {
    width: 30rem; }
  .contacts__box {
    flex-direction: column;
    align-items: center; }
  .contacts__box__info,
  .contacts__box__formBox {
    width: 100%; } }

@media (max-width: 500px) {
  .header__heading__item__text {
    width: 34rem;
  }
  .services__infoBox__services {
    flex-direction: column;
    align-items: center; }
  .services__infoBox__services__item {
    width: 80%;
    padding: 4rem; }
    .header__info__servs__row {
      flex-direction: column;
      align-items: center;
      gap: 1.4rem;
      text-align: center;
    } 
  }

@media (max-width: 400px) {
  .header__boxBcg {
    display: none; }
  .header__info,
  .header__heading__item {
    padding: 2rem; }
  .header__info__adv__nav {
    gap: 1rem; }
  .header__info__adv__nav__link {
    padding: 0.6rem 1rem; }
  .header__heading__text {
    line-height: 1.4;
    padding: 2rem;
  }
  .about {
    padding: 4rem 2rem; }
  .about__infoBox__info {
    width: 100%;
    padding: 3rem;
    font-size: 2rem; }
  .about__infoBox__info__text {
    margin-bottom: 2rem; }
  .callme__form {
    flex-direction: column;
    align-items: center; }
  .callme__form__input {
    width: 100%; }
  .services__infoBox,
  .principles,
  .contacts,
  .footer,
  .testimonails {
    padding: 4rem 2rem; }
  .footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem; }
  .footer__info__link {
    font-size: 2rem; }
  .footer__nav__link {
    font-size: 3rem; } }
