/* Дополнительный заголовок в хедер, чтобы не сбивать стили */
/* Стили для заголовка страницы */
.page-header {
  background: linear-gradient(135deg, #4682B4 0%, #1E3B70 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 Q50,80 0,100 Z"></path></svg>');
  background-size: 100% 100%;
  opacity: 0.5;
}

.page-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  position: relative;
}

.page-title {
  font-size: 2.8rem;
  font-weight: 700;
  margin: 0 0 20px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-title span {
  display: block;
}

.title-part-1 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.header-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px auto;
  max-width: 500px;
}

.decoration-line {
  flex-grow: 1;
  height: 2px;
  background: rgba(255,255,255,0.3);
}

.decoration-icon {
  margin: 0 20px;
  font-size: 2rem;
  color: #FFD700;
  animation: pulse 2s infinite;
}

.page-subtitle {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 0;
  padding: 10px 20px;
  opacity: 0.9;
  font-weight: 500;
  background-color: white;
  color: #222d35;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: inline-block;
  position: relative;
  z-index: 1;
}

.page-subtitle {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.page-subtitle:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Анимация для иконки */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
  .page-header {
    padding: 40px 0;
  }
  
  .page-title {
    font-size: 2rem;
  }
  
  .title-part-1 {
    font-size: 1.4rem;
  }
  
  .title-part-3 {
    font-size: 1.6rem;
  }
  
  .page-subtitle {
    font-size: 1rem;
  }
}

/* Дополнительные стили для нового контента */
    .qualification-steps {
      margin-bottom: 30px;
      width: 80%;
      padding: 40px 20px;
      margin: 0 auto;
      padding-left: 124px;
      padding-right: 124px;
    }
    
    .qualification-steps__title {
      font-size: 36px;
      font-weight: 700;
      color: #555c63;
      text-align: center;
      margin-bottom: 50px;
      position: relative;
    }
    
    .qualification-steps__title:after {
      content: '';
      display: block;
      width: 100px;
      height: 3px;
      background: #4682B4;
      margin: 15px auto 0;
    }
    
    .steps-list {
      counter-reset: step-counter;
    }
    
    .step-item {
      background: #f8f8f8;
      border-radius: 10px;
      padding: 30px;
      margin-bottom: 30px;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease;
      box-shadow: 0 5px 15px rgba(0,0,0,0.05);
      opacity: 0;
      transform: translateY(20px);
    }
    
    .step-item.animated {
      opacity: 1;
      transform: translateY(0);
    }
    
    .step-item:before {
      counter-increment: step-counter;
      content: counter(step-counter);
      position: absolute;
      top: 20px;
      left: 20px;
      font-size: 24px;
      font-weight: 700;
      color: #4682B4;
    }
    
    .step-item__content {
      padding-left: 40px;
    }
    
    .step-item__title {
      font-size: 20px;
      font-weight: 600;
      color: #555c63;
      margin-bottom: 15px;
    }
    
    .step-item__text {
      font-size: 16px;
      line-height: 1.6;
      color: #555c63;
    }
    
    .step-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    /* Стили для изображения в стиле текстовых блоков */
.image-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto 60px;
  margin: 60px auto;
  padding: 0 0;
  box-sizing: border-box;
}

.styled-image-block {
  background: #f8f8f8;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.styled-image-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.content-image {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin-bottom: 15px;
}

.image-caption {
  font-size: 16px;
  color: #555c63;
  text-align: center;
  font-style: italic;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .image-container {
    margin: 40px auto;
    padding: 0 15px;
  }
  
  .styled-image-block {
    padding: 15px;
  }
  
  .image-caption {
    font-size: 14px;
  }
}
