@media (max-width: 1024px) {
  .header__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
  }

  .header__menu {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }

  .about__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .about__img {
    width: 100%;
    max-width: 500px;
  }


  .cards__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
  }

  .card__box {
    display: flex;
    justify-content: center;
  }

  .card__img {
    width: 100%;
    max-width: 250px;
  }

  .contacts__content {
    text-align: center;
  }


  .footer__menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}


@media (max-width: 768px) {

  .header__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }

  .header__form {
    display: flex;
    width: 100%;
    gap: 8px;
  }

  .header__input {
    width: 100%;
  }


  .banner__title {
    font-size: 32px;
    text-align: center;
  }

  .banner__desc {
    font-size: 18px;
    text-align: center;
  }


  .cards__content {
    display: flex;
    flex-direction: column;
  }

  .card__img {
    max-width: 200px;
  }


  .contacts__box {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  .contacts__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  



  .footer__menu {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer__box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  .banner__title {
    font-size: 24px;
  }

  .banner__desc {
    font-size: 16px;
  }

  .banner__link {
    padding: 8px 16px;
    font-size: 14px;
  }

  .about__img {
    max-width: 100%;
  }

  .card__img {
    max-width: 150px;
  }

  .contacts__title {
    font-size: 20px;
  }

  .contacts__desc {
    font-size: 14px;
  }
}