/* Основные стили для страницы "О нас" */
.about-header {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('/static/imgs/bg/header_bg.webp') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    margin-top: 65px; /* Учитываем высоту навбара */
  }
  
  .about-header h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white;
  }
  
  .about-header .subtitle {
    font-size: 1.4rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
  }
  
  /* Секции */
  .about-section, 
  .mission-section, 
  .problem-solution-section, 
  .achievements-section, 
  .team-section {
    padding: 80px 0;
  }
  
  /* Сетка "О компании" */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
  }
  
  .about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--primary-color);
  }
  
  .about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
  }
  
  /* Миссия и ценности */
  .mission-section {
    background-color: #f2f6ff;
    text-align: center;
  }
  
  .mission-statement {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
  }
  
  .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .value-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }
  
  .value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .value-icon {
    font-size: 2.5rem;
    color: #0057fd;
    margin-bottom: 20px;
  }
  
  /* Проблема и решение */
  .problem-solution-section {
    background-color: var(--background-color);
  }
  
  .ps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .problem-box, .solution-box {
    padding: 40px;
    border-radius: 10px;
  }
  
  .problem-box {
    background-color: #fff5f5;
    border-left: 5px solid #ff6b6b;
  }
  
  .solution-box {
    background-color: #f0fff4;
    border-left: 5px solid #48bb78;
  }
  
  .problem-item, .solution-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
  }
  
  .problem-icon, .solution-icon {
    margin-right: 15px;
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .problem-icon {
    color: #ff6b6b;
  }
  
  .solution-icon {
    color: #48bb78;
  }
  
  /* Наши достижения */
  .achievements-section {
    background-color: #f2f6ff;
    text-align: center;
  }
  
  .achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 50px auto 0;
  }
  
  .achievement-card {
    background: white;
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  }
  
  .achievement-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
  }
  
  /* Команда */
  .team-section {
    background-color: var(--background-color);
    text-align: center;
  }
  
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .team-member {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  .member-icon {
    font-size: 3rem;
    color: #0057fd;
    margin-bottom: 20px;
  }
  .member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 5px solid #f0f0f0;
  }
  
  .member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #333;
  }
  
  .position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
  }

  /* Стили для блока партнерства */
  .partnership-cta {
    background-color: #f2f6ff;
    padding: 60px 0;
  }
  
  .team-cta {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  }
  
  .team-cta h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
  }
  
  .team-cta p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
  }
  
  .team-cta .cta-button {
    display: inline-block;
    padding: 12px 35px;
    background: #0057fd;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #0057fd;
  }
  
  .team-cta .cta-button:hover {
    background: transparent;
    color: var(--primary-color);
  }
  
  /* CTA секция */
  .cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), #3a7bd5);
    color: white;
  }
  
  .cta-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 50px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }
  
  .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Адаптивность */
  @media (max-width: 992px) {
    .about-grid, .ps-grid {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .about-image {
      max-width: 600px;
      margin: 0 auto;
    }
  }
  
  @media (max-width: 768px) {
    .about-header {
      padding: 120px 0 80px;
      margin-top: 50px;
    }
    
    .about-header h1 {
      font-size: 2.2rem;
    }
    
    .mission-statement {
      font-size: 1.3rem;
    }
    
    .cta-box {
      padding: 30px 20px;
    }
    
    .value-card, .achievement-card, .team-member {
      padding: 25px 15px;
    }
  }
  
  @media (max-width: 576px) {
    .about-header {
      padding: 100px 0 60px;
      margin-top: 50px;
    }
    
    .about-header h1 {
      font-size: 1.8rem;
    }
    
    .cta-button {
      padding: 12px 30px;
      font-size: 1rem;
    }
    
    .values-grid {
      grid-template-columns: 1fr;
    }
  }

  .amoform {
    display: flex;
    background-color: #f2f6ff;
    justify-content: center;
    }