html {
    box-sizing: border-box;
    scroll-behavior: smooth; /* Плавная прокрутка при якорных ссылках */
    scroll-padding-top: 80px;
  }
  
  *, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
  }

  @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
  
  body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    background-color: #ffffff;
    color: #222222;
    min-height: 100vh;
  }

  /* 8. Контейнер для ограничения ширины контента */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
  }

  /* ------------------------------header ----------------------------*/

  .site-header {
    padding: 15px;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: -10px;
  }
  
  .header-content {
    font-size: clamp(1rem, 2vw, 2rem);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav {
    display: flex;
    gap: 20px;
  }

  .nav a {
    margin-left: 20px;
    text-decoration: none;
    color: #333;
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 500;
  }

  .nav a:hover {
    color: #2c54c2;
  }

  .burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
  }
  
  .burger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
  }

  /* ------------------------------hero-section ----------------------------*/

  .hero-section {
    padding: clamp(60px, 8vw, 80px) 0 clamp(30px, 5vw, 40px); /* Только вертикальные отступы */
    background-color: #f4f4f4;
  }

  .hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem; /* или clamp, если хочешь гибкость */
  }

  h1 {
    line-height: 1.2;
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
  }

  .line1 {
    margin-bottom: 0;
  }
  
  .line2 {
    margin-bottom: 16px;
  }
  
  .hero-content p {
    color: #555555;
    font-size: 1.125rem;
    margin-bottom: 30px;
  }
  
  .hero-content button {
    font-size: 1rem;
    padding: 15px 30px;
    background-color: #2c54c2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .hero-content button:hover {
    background-color: #1e3fa0;
  }
  
  .hero-image img {
    max-width: 500px;
    width: 100%;
    height: auto;
  }

  /* ------------------------------Why Choose Us ----------------------------*/

  .features {
    padding: clamp(30px, 5vw, 40px) 0 clamp(50px, 8vw, 60px);
    text-align: center;
    background-color: #f4f4f4;
  }
  
  .features__title {
    font-size: 2rem;
    margin-bottom: 40px;
  }
  
  .features__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .feature {
    flex: 1 1 200px;
    max-width: 250px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
  }
  
  .feature:hover {
    transform: translateY(-5px);
  }
  
  .feature__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
  }
  
  .feature__title {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  
  .feature__text {
    font-size: 0.95rem;
    color: #555;
  }

  /* ------------------------------Courses-Section ----------------------------*/

  .courses-section {
    background-color: #f4f4f4; /* пока тот же фон */
    padding: clamp(30px, 5vw, 40px) 0 clamp(50px, 8vw, 60px);
  }
  
  .courses-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 40px;
  }
  
  .courses-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }
  
  .course-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px 20px;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: left;
  }
  
  .course-card:hover {
    transform: translateY(-5px);
  }
  
  .course-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
  }
  
  .course-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
  }
  
  .course-button {
    font-size: 0.95rem;
    padding: 12px 24px;
    background-color: #2c54c2;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .course-button:hover {
    background-color: #1e3fa0;
  }

  /* ------------------------------Call to Action ----------------------------*/

  .cta {
    background-color: #4f46e5; /* яркий фиолетовый */
    color: #fff;
    padding: clamp(30px, 5vw, 40px) 0 clamp(50px, 8vw, 60px);
    text-align: center;
  }
  
  .cta__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 20px;
  }
  
  .cta__button {
    display: inline-block;
    background-color: #fff;
    color: #4f46e5;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  
  .cta__button:hover {
    background-color: #e0e0ff;
    color: #3b36c0;
  }
  
  .cta__container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* ------------------------------Footer ----------------------------*/

  .footer {
    background-color: #1e293b; /* тёмный фон */
    color: #fff;
    padding: clamp(30px, 5vw, 50px) 0;
    font-size: 0.9rem;
  }
  
  .footer__container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }
  
  .footer__brand {
    font-size: 1.4rem;
    font-weight: 700;
  }
  
  .footer__nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .footer__nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .footer__nav a:hover {
    color: #94a3b8; /* светло-серый при наведении */
  }
  
  .footer__copyright {
    opacity: 0.7;
  }

  @media (max-width: 768px) {
    .burger {
      display: flex;
    }
  
    .nav {
      display: none;
    }
  
      .nav.open {
      display: flex;
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      z-index: 1000;
      background-color: #fff;
      flex-direction: column;
      align-items: center;
      padding: 20px 0;
      box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }

    .nav a {
      padding: 15px 0;
      width: 100%;
      text-align: center;
      border-top: 1px solid #eee;
    }
  
    .hero-section {
      flex-direction: column;
      text-align: center;
    }
    .hero-image {
      margin-top: 40px;
    }
  }

  

  @media (min-width: 769px) {
    .nav {
      display: flex;
      position: static;
      flex-direction: row;
      gap: 20px;
    }
  
    .burger {
      display: none;
    }
  }

  /*a {
    text-decoration: none;
    color: inherit;
  }
  
  ul, ol {
    list-style: none;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
  }
  
  input, textarea, select {
    font-family: inherit;
    font-size: inherit;
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }*/