@media (min-width: 1200px) {
  .main-menu li {
    padding: 0 10px;
  }
}


@media screen and (max-width: 1024px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-wrapper {
    max-width: 100%;
  }
  .footer-cta-text {
    width: 80%;
  }

  .rates-section {
    padding: 1rem 0;
  }
  .rates-table,
  .rates-table thead,
  .rates-table tbody,
  .rates-table th,
  .rates-table td,
  .rates-table tr {
    display: block;
  }

  .rates-table thead {
    display: none;
  }

  .rates-table tr {
    background: #fff;
    border-radius: 14px;
    margin-bottom: 1.5rem;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  }

  .rates-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border: none;
    font-size: 0.95rem;
  }

  .rates-table td:first-child:before {
    content: "";
    padding: 0;
  }
  .rates-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #64748b;
    padding-right: 1rem;
    white-space: nowrap;
  }

  .rates-row img {
    max-width: 100%;
    margin-bottom: 1rem;
  }
}
@media screen and (max-width: 991px) {
  .main-nav-container svg {
    width: 100px;
  }
  .home-hero-container {
    height: 70vh;
    min-height: 70vh;
  }
  .home-hero,
  .hero-content {
    max-width: 100%;
  }
  .hero-content {
    margin: 4vh auto 0;
  }
  .footer-cta-text,
  .program-description {
    width: 100%;
  }
  .program-description {
    margin: 5rem auto;
    font-size: 1.3rem;
  }
  .home-hero h1 {
    font-size: 1.8rem;
  }
  .page-subtitle {
    font-size: 1.5rem;
  }
  .page-intro-inner {
    width: 100%;
  }
  .cards-wrapper {
    margin-top: 1rem;
    max-width: 100%;
  }
  .why-machspeed-home-grid,
  .about-home-container,
  .programs-grid,
  .program-learning-inner {
    grid-template-columns: 1fr;
  }
  .flight-sections .section {
    padding: 2rem 0;
  }
  .flight-navbar {
    overflow: scroll;
    flex-wrap: nowrap;
    top: 100px;
  }
  .flight-sections .section h2 {
    font-size: 1.3rem;
  }
  .flight-navbar a {
    min-width: max-content;
  }
  .hero-container {
    min-height: 50vh;
    overflow: hidden;
  }
  .hero-container h1 {
    font-size: 1.8rem;
  }

  .hero-container p {
    font-size: 1rem;
  }
  .hero-plane-svg {
    width: 1100px;
    height: 1100px;
  }

  .about-home-container {
    gap: 30px;
  }

  .team-member {
    max-width: 100%;
  }

  .contact-us {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-cta {
    border-radius: 0;
    margin-bottom: 0;
  }
  .footer-cta h2 {
    font-size: 2rem;
  }
  
  .program-description-image{
      max-height: none;
  }
}
