/* Mobile optimisation (added Dec 2026). Applies only below desktop widths; desktop layout is unchanged. */

@media (max-width: 991.98px) {
  /* AOS slide-in animations can push content sideways and cause horizontal scrolling on phones */
  html, body { overflow-x: hidden; }

  /* When image + text columns stack, keep a gap so headings don't touch the image/video above */
  .ser-img, .ceo-img { margin-bottom: 1.25rem; }
  .col:has(> .ser-text) + .col { margin-top: 1.25rem; }
  .ser-img iframe { display: block; }

  /* Decorative golf ball between program cards only adds empty space when stacked */
  .program-sec .golf-ball { display: none; }
  .program-sec .program-box { margin-bottom: 1rem !important; }

  /* Embedded videos keep a proper 16:9 shape instead of a fixed height */
  .ser-img iframe, .ser-item iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
}

@media (max-width: 767.98px) {
  /* Bootstrap my-5 / py-5 (48px each side) leave very large gaps on a phone */
  section.my-5 { margin-top: 2rem !important; margin-bottom: 2rem !important; }
  section.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
  .ser-item.mb-5 { margin-bottom: 2rem !important; }
  .ser-item.pb-5 { padding-bottom: 1rem !important; }

  .heading h2 { font-size: 1.75rem; }
  .heading p.fs-4 { font-size: 1.3rem !important; }
}
