@media (max-width: 1200px) {
    .about-content {
        gap: 18px;
      }
      .card {
        width: 300px;
      }
}

@media (max-width: 1055px) {
    .navbar-toggler {
        display: flex;
    }

    .navbar-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--main);
        position: absolute;
        left: 0;
        top: 70px;
        box-shadow: 0 2px 8px rgba(35,39,47,0.08);
        margin: 1rem 0;
    }

    .navbar-nav.show {
        display: flex;
    }

    .navbar-nav li {
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }

    .trainers-goals {
      gap: 18px;
    }
    .goal-card {
      width: 90vw;
      max-width: 340px;
      height: 360px;
    }

    /* .goal-front img, .goal-back img {
      width: 110px;
      height: 110px;
    } */

    .pricing-grid {
      gap: 18px;
    }

    .pricing-card {
      width: 90vw;
      max-width: 340px;
    }
}

@media (max-width: 900px) {
    .about-content {
      flex-direction: column;
      align-items: center;
    }

    .card {
      width: 90vw;
      max-width: 370px;
      margin-bottom: 24px;
    }

    .schedule-table th, .schedule-table td {
      padding: 10px 4px;
      font-size: 0.95rem;
    }

    .schedule-table-container {
      max-width: 98vw;
      font-size: 0.95rem;
    }

    .contact-grid {
      flex-direction: column;
      align-items: center;
      gap: 18px;
    }

    .contact-form, .contact-info {
      width: 98vw;
      max-width: 370px;
    }

    .footer-container {
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 0 1rem;
    }

    .footer-logo {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      width: 100%;
      text-align: center;
    }

    .footer-brand, .footer-links, .footer-social {
      align-items: center;
      text-align: center;
      min-width: 0;
      width: 100%;
      margin: 0 auto;
      padding: 0 auto;
    }

    .footer-desc {
      margin-left: auto;
      margin-right: auto;
    }
  
    .social-icons {
      justify-content: center;
      display: flex;
      width: 100%;
      margin: 0 auto;
    }
}

@media (max-width: 700px) {
  .trainers-goals {
    flex-direction: column;
    align-items: center;
  }

  .goal-card {
    width: 95vw;
    max-width: 340px;
    margin-bottom: 24px;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    width: 98vw;
    max-width: 370px;
    margin-bottom: 18px;
  }
}

@media (max-width: 600px) {
  .schedule-table th, .schedule-table td {
    padding: 7px 2px;
    font-size: 0.85rem;
  }
  .schedule-table-container {
    max-width: 100vw;
    border-radius: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gallery-modal-content {
    max-width: 98vw;
    max-height: 60vh;
  }
  .gallery-modal-close {
    top: 8px;
    right: 14px;
    font-size: 2rem;
  }
}

