body {
  font-weight: 400;
  font-size: 18px;
  background-color: #f4ece1;
}

.none {
  display: none !important;
}

.visually-hidden {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  width: 0;
  height: 0;
  display: block;
  margin-left: -10000px;
  background: transparent;
  font-size: 0;
}

.container {
  max-width: 1740px;
  padding-left: 30px;
  padding-right: 30px;
  margin-left: auto;
  margin-right: auto;
}

@media (width <= 1739px) {
  .container {
    width: 100%;
  }
}

@media (width <= 991px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}


/* Hero section */

.hero-section {
  position: relative;
  min-height: 722px;
  padding-top: 330px;
  padding-bottom: 66px;
}

.hero-section .container{
  max-width: 1756px;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: 5.47vw;
  margin-right: 3.07vw;

}


.bf-guru-logo{
  margin-bottom: 45.22px;
  margin-left: 8px;
}

.hero-content {
  display: flex;
  justify-content: space-between;
}

.hero-heading {
  color: #fff;
  font-size: 60px;
  line-height: 76px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-text {
  color: #fff;
  font-size: 24px;
  line-height: 30px;
  text-align: right;
  margin-top: 136px;
}

.main-bg-wrapper {
  position: relative;
  z-index: 0;
}

.main-bg-wrapper::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../img/hero-main-bg-bf-guru.jpg") center/cover no-repeat;
  background-color: #a58763;
  z-index: -1;
}

@media (max-width: 1740px) {
  .hero-section .container{
  margin-left: auto;
  margin-right: auto;

}
}

@media (max-width: 1330px) {
.hero-heading {
  font-size: 45px;
}

}

@media (max-width: 991px) {
  .hero-section {
    min-height: 200px;
    padding-top: 300px;
    padding-bottom: 80px;
    
  }

  .bf-guru-logo{
    width: 40%;
}

  .hero-content {
  flex-direction: column;
}

  .hero-heading {
    font-size: 40px;
  }

  .hero-text {
    font-size: 15px;
    line-height: 30px;
    margin-top: 50px;
    text-align: left;
  }
  
  .main-bg-wrapper::before{
    background-position: 65%
  }

}

@media (max-width: 540px) {
  .hero-heading {
    font-size: 25px;
    line-height: 30px;
  }
}

/* bf guru about section */

.bf-guru-about{
  content: "";
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bf_guru_about.jpg") center/cover no-repeat;
  background-color: #D4D4D9;
  z-index: -1;
  padding-top: 91px;
  padding-bottom: 110px;
}

.bf-guru-about .container{
  max-width: 1452px;
}

.bf-guru-about-title {
  font-size: 32px;
  line-height: 40px;
  letter-spacing: 0.02em;
  color: #525765;
  margin-bottom: 68px;
}


.bf-guru-about-content {
  display:flex;
}

.bf-guru-about-img {
  width: 100%;
  max-width: 618px;
  max-height: 454px;
  margin: auto 0;
}

.bf-guru-about-text {
  font-size: 22px;
  line-height: 25px;
  color: #6D6D78;
  margin-top: 31px;
  margin-left: 88px;
}

@media (width <= 1200px) {
  .bf-guru-about-content {
  flex-direction: column;
}

.bf-guru-about-text {
  display: flex;
  margin-left: 0;
  gap:15px;
}

.bf-guru-about-text p + p{
  margin-top: 0;
}

.bf-guru-about-img {
  margin: 0 auto;
}
}

@media (width <= 740px) {
  .bf-guru-about-text {
    flex-direction: column;
}
}

/* bf guru func */

.bf-guru-functional {
  content: "";
  display: block;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bf_guru_func_bg.jpg") center/cover no-repeat;
  background-color: #D4D4D9;
  z-index: -1;
  padding-top: 85px;
  padding-bottom: 104px;
}

.bf-guru-functional-title {
  font-size: 60px;
  line-height: 60px;
  letter-spacing: 0.05em;
  color: #D8CAAF;
  text-transform: uppercase;

}

.bf-guru-functiona-content {
  margin-top: 121px;
  display: grid;
  grid-template-columns: repeat(auto-fit, 337px);
  column-gap: 89px;
  row-gap: 85px;
 
}

.bf-guru-card {
  max-width: 337px;
  width: 100%;

}

.bf-guru-card:nth-child(4) {
  margin-right: 0;
}

.bf-guru-card:nth-child(5),
.bf-guru-card:nth-child(6),
.bf-guru-card:nth-child(7){
  margin-bottom: 0;
}

.bf-guru-card:nth-child(8) {
  margin-right: 0;
  margin-bottom: 0;
}


.bf-guru-card img{
  margin-bottom: 28.54px;
}

.bf-guru-card-text {
  font-size: 18px;
  line-height: 20px;
  color: #FFFBF7;
}


@media (max-width: 1400px) {
.bf-guru-functiona-content {
  justify-content: center;
  
}
}


@media (max-width: 991px) {
.bf-guru-functiona-content {
  column-gap: 20px;
  
}

.bf-guru-card {
  margin-right: 0;
}

}

@media (max-width: 450px) {
  .bf-guru-functional-title {
  font-size: 40px;
}
}

/* .bf guru info section */
.bf-guru-more-info {
  padding-top: 91px;
  padding-bottom: 99.29px;
}

.bf-guru-more-info .container {
  max-width: 1676px;
  padding-left: 0;
  padding-right: 0;
  background: url("../img/bf_guru_info.png") no-repeat center/cover;
  min-height: 400px; /* Минимальная высота для видимости фона */
}

.bf-guru-more-info-content {
  padding: 66px 117px;
}

.more-info-sub-title {
  font-size: 18px;
  letter-spacing: 0.1em;
  color:#A58763;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.more-info-title {
  font-size: 45px;
  line-height: 50px;
  letter-spacing: 0.05em;
  color: #FFF;
  text-transform: uppercase;
  margin-bottom: 41px;
}

.bf-guru-more-info-content .btn {
  padding-left: 33px;
  padding-right: 29px;
  background-color: #465BF8;
  letter-spacing: 0.05em;
  text-transform: uppercase;

}

@media (max-width: 680px) {
  .bf-guru-more-info-content {
  padding: 66px 10px;
}

.bf-guru-more-info .container{
  background-position: 75%;

}

.more-info-sub-title {
  font-size: 14px;
}

.more-info-title {
  font-size: 28px;
  line-height: 30px;

}
}
