/* Teachers section */
.teachers-section {
  background: linear-gradient(
    180deg,
    white 1%,
    #fffae6 9%,
    #fffde2 15%,
    #f5f5f5 26%,
    #eaf8ff 38%,
    #ebf7fe 63%,
    #f2f2fa 75%,
    #fbebf4 91%
  );
  border-bottom-right-radius: 100px;
  border-bottom-left-radius: 100px;
  padding: 150px 0 30px;
  position: relative;
}

/* Карточка преподавателя - десктоп версия */
.teacher-card {
  background: white;
  border-radius: 20px;
  padding: 36px 40px;
  margin-bottom: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  transition: all 0.3s ease;
}

/* Десктопное фото - видно на десктопе */
.desktop-photo {
  display: block;
}

/* Мобильное фото - скрыто на десктопе */
.mobile-photo {
  display: none;
}

.teacher-photo {
  position: relative;
  width: 220px;
  flex-shrink: 0;
}

.teacher-info-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.teacher-info {
  margin-bottom: 25px;
}

.photo-circle {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    #ff7d00 19%,
    #fea501 63%,
    #ffd100 93%
  );
  position: relative;
}

.photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.teacher-awards {
  text-align: center;
  margin-top: 15px;
  font-size: 16px;
  font-weight: 500;
  color: #2e5065;
  line-height: 1.5;
}

.award-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  align-items: center;
}

.teacher-name {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  margin-bottom: 10px;
}

.teacher-name.orange {
  color: #ff8e00;
}

.teacher-name.blue {
  color: #0090d2;
}

.teacher-name.pink {
  color: #e60087;
}

.teacher-degree {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 500;
  color: #2e5065;
  margin-bottom: 0;
}

/* Список особенностей преподавателя */
.teacher-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.teacher-features li {
  background-repeat: no-repeat;
  background-position: left 5px;
  padding-left: 35px;
  line-height: 1.4;
  margin-bottom: 0;
  font-size: clamp(16px, 2vw, 22px);
  color: #2e5065;
}

/* Оранжевый список */
.orange-list li {
  background-image: url(../img/yellow1.png);
}

.orange-list li:nth-child(2) {
  background-image: url(../img/yellow2.png);
}

.orange-list li:nth-child(3) {
  background-image: url(../img/yellow3.png);
}

.orange-list li:nth-child(4) {
  background-image: url(../img/yellow4.png);
}

.orange-list li:nth-child(5) {
  background-image: url(../img/yellow1.png);
}

.orange-list li:nth-child(6) {
  background-image: url(../img/yellow2.png);
}

/* Синий список */
.blue-list li {
  background-image: url(../img/blue1.png);
}

.blue-list li:nth-child(2) {
  background-image: url(../img/blue2.png);
}

.blue-list li:nth-child(3) {
  background-image: url(../img/blue3.png);
}

.blue-list li:nth-child(4) {
  background-image: url(../img/blue4.png);
}

.blue-list li:nth-child(5) {
  background-image: url(../img/blue1.png);
}

.blue-list li:nth-child(6) {
  background-image: url(../img/blue2.png);
}

/* Розовый/фиолетовый список */
.pink-list li {
  background-image: url(../img/purpule1.png);
}

.pink-list li:nth-child(2) {
  background-image: url(../img/purpule2.png);
}

.pink-list li:nth-child(3) {
  background-image: url(../img/purpule3.png);
}

.pink-list li:nth-child(4) {
  background-image: url(../img/purpule4.png);
}

/* Скрытые карточки */
.teacher-card.hidden {
  display: none;
}

/* Кнопка показать всех */
.show-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: -60px;
}

.show-more-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.arrow-down {
  width: 61px;
  height: 61px;
  background: linear-gradient(90deg, #2e5065 0%, #486d83 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.arrow-down svg {
  width: 30px;
  height: 30px;
  fill: white;
}

.show-more-btn:hover .arrow-down {
  transform: translateY(5px);
}

/* Адаптивность для планшетов */
@media (max-width: 1024px) {
  .teacher-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
  }

  .teacher-info-wrapper {
    text-align: center;
    width: 100%;
  }

  .teacher-features {
    text-align: left;
    width: 100%;
  }
}

/* Мобильная версия */
@media (max-width: 768px) {
  .teachers-section {
    padding: 40px 0 10px;
    border-bottom-right-radius: 50px;
    border-bottom-left-radius: 50px;
  }

  .teacher-card {
    padding: 20px;
  }

  /* Скрываем десктопное фото */
  .desktop-photo {
    display: none;
  }

  /* Показываем мобильное фото */
  .mobile-photo {
    display: block;
    width: 100%;
    margin: 20px auto;
  }

  .teacher-info-wrapper {
    width: 100%;
  }

  .teacher-name {
    text-align: center;
    margin-bottom: 10px;
  }

  .teacher-degree {
    text-align: center;
    margin-bottom: 0;
  }

  .photo-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }

  .teacher-awards {
    text-align: center;
    margin-top: 15px;
  }

  .award-icons {
    justify-content: center;
    margin-bottom: 0;
  }

  .teacher-features {
    text-align: left;
    margin-top: 10px;
  }

  .teacher-features li {
    line-height: normal;
    margin-bottom: 20px;
    background-position: left top;
    padding-left: 35px;
    text-align: left;
  }
}

@media (max-width: 480px) {
  .photo-circle {
    width: 150px;
    height: 150px;
  }

  .mobile-photo {
    width: 100%;
  }

  .teacher-name {
    font-size: 22px;
  }

  .teacher-degree {
    font-size: 16px;
  }

  .teacher-features li {
    font-size: 14px;
    padding-left: 30px;
    background-size: 20px;
  }
}