/* ===== SECTION SPACING ===== */

/* Основные отступы между секциями */
section:not(:first-child) {
  margin-top: 80px;
  margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
  section:not(:first-child) {
    margin-top: 50px;
    margin-bottom: 50px;
  }
}

@media screen and (min-width: 1200px) {
  section:not(:first-child) {
    margin-top: 100px;
    margin-bottom: 100px;
  }
}

section.full-screen {
  margin-top: 0;
  margin-bottom: 0;
}

/* ===== PROMO SECTION ===== */
.promo-image {
  max-width: 100%;
  width: 85%;
  -webkit-mask-image: linear-gradient(to bottom,
    rgba(0,0,0,1) 55%,
    rgba(0,0,0,0) 100%
  );
  mask-image: linear-gradient(to bottom,
                rgba(0,0,0,1) 55%,
                rgba(0,0,0,0) 100%
              );
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.promo-title {
  font-family: 'RimmaSans', sans-serif;
  font-size: 50px;
  letter-spacing: 1px;
  font-weight: 900;
  line-height: 47px;
  margin-top: 50px;
  padding: 0;
  text-align: center;
  word-break: break-word;
  background: linear-gradient(45deg,
    #d72213,
    #FF4757,
    #FF6348,
    #FFA502,
    #fee19e
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0px 0px 0 rgba(255, 255, 255, 0.2);
}

.promo-tutor {
  font-size: 15px;
  text-align: center;
  color: var(--purple-text-mute);
}

.promo-quote {
  text-align: center;
  width: 85%;
  font-size: 18px;
  padding: 2px 10px;
  border-left: 8px solid transparent;
  position: relative;
}

.promo-quote::before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(to top, #FF6B6B, #FFD166);
  z-index: -1;
}

/* ===== PAGE HEADERS AND BUTTONS ===== */

.main-page-topic-header {
  font-size: 25px;
  font-family: 'Unbounded', sans-serif;
  color: var(--main-theme-color);
  padding: 0 20px;
}

.main-page-topic-header::before, .main-page-topic-header::after {
  display: none;
}

.index-button {
  font-size: 15px;
  outline: 0;
  padding: 12px 25px;
  border: 1.5px solid white;
  border-radius: 12px;
  background-color: transparent;
  color: #ffffff;
}

/* ===== ACHIEVEMENTS LIST ===== */
.achievement-list {
  padding-left: 0;
}

.achievement-list li {
  background: url('/static/svg/mortarboard-fill.svg') no-repeat left top;
  padding: 0px 0px 0px 35px;
  list-style: none;
  margin: 0;
  vertical-align: middle;
}

.achievement-list-header {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.achievement-list-text {
  font-size: 14px;
  color: var(--purple-text-mute);
}

/* ===== ADVANTAGES LIST ===== */

.pluses-list {
  padding: 0 5px;
  font-size: 19px;
}

.pluses-list li {
  background: url('/static/svg/check2-circle.svg') no-repeat left top;
  padding: 0px 0px 7px 35px;
  list-style: none;
  vertical-align: middle;
}

/* ===== REVIEWS ===== */

.reviewers-name {
  font-size: 22px;
  font-weight: 900;
}

.review-col {
  display: flex;
}

.review-container {
  border: 1px solid #dac8f2;
  border-radius: 20px;
  padding: 20px;
  height: 100%;
}

/* ===== TELEGRAM SECTION ===== */

.telegram-pic-logo {
  width: 50%;
}

.tgc-text {
  text-align: justify;
  font-size: 17px;
  margin: 12px 0;
}

.tgc-img {
  border-radius: 20px;
}

/* ===== MEDIA QUERIES ===== */

/* MOBILE DEVICES (≥576px) */
@media screen and (min-width: 576px) {

  .promo-title {
    margin-top: 60px;
    font-size: 60px;
    letter-spacing: 3px;
    line-height: 57px;
  }

  .main-page-topic-header {
    font-size: 30px;
  }

  .reviews-container {
    width: 75%;
  }

  .telegram-pic-logo {
    width: 30%;
  }

  .tgc-img {
    width: 40%;
    margin-top: 15px;
    margin-bottom: 40px;
  }
}

/* TABLETS (≥768px) */
@media screen and (min-width: 768px) {

  .promo-image {
    width: 50%;
  }

  .promo-title {
    font-size: 70px;
    letter-spacing: 3px;
    line-height: 63px;
    text-align: left;
    margin-top: 60px;
    margin-left: 50px;
    width: 60%;
  }

  .promo-tutor {
    font-size: 17px;
    margin-left: 50px;
    text-align: left;
  }

  .main-page-topic-header {
    font-size: 35px;
  }

  .main-page-topic-header::before, .main-page-topic-header::after {
    display: inline-block;
    content: "";
    border-top: 1.5px solid #dac8f2;
    margin: 0 1rem;
    transform: translateY(-0.7rem);
    width: 40px;
  }

  .achievement-list-header {
    font-size: 17px;
  }

  .reviews-container {
    width: 75%;
  }

  .help-chat-img {
    width: 45%;
  }

  .rates-img {
    width: 60%;
  }

  .telegram-pic-logo {
    width: 30%;
  }

  .tgc-img {
    width: 50%;
    margin-top: 15px;
    margin-bottom: 40px;
  }
}

/* DESKTOP (≥992px) */
@media screen and (min-width: 992px) {
  .promo-title {
    font-size: 87px;
    letter-spacing: 5px;
    line-height: 90px;
    margin-top: 60px;
    margin-left: 50px;
    width: 100%;
  }

  .promo-tutor {
    font-size: 19px;
  }

  .promo-quote {
    font-size: 20px;
    padding: 2px 10px;
    border-left: 8px solid transparent;
  }

  .promo-image {
    width: 85%;
  }

  #info {
    margin-top: 105px;
  }

  .main-page-topic-header {
    font-size: 45px;
    margin-bottom: 20px;
  }

  .main-page-topic-header::before, .main-page-topic-header::after {
    width: 70px;
  }

  .achievement-list-header {
    font-size: 20px;
    font-weight: 800;
  }

  .achievement-list-text {
    font-size: 16px;
  }

  .help-chat-img {
    width: 85%;
  }

  .rates-img {
    width: 100%;
  }

  .reviews-container {
    width: 100%;
  }

  .telegram-pic-logo {
    width: 70%;
  }

  .tgc-img {
    width: 80%;
  }
}