/* Phase 3 — Mansour Academy */
@media (max-width: 1024px) {
  #contact-page-header .academy-header {
    display: block;
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    font-size: clamp(22px, 6vw, 32px);
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    color: #013169 !important;
    text-shadow: none;
    padding: 18px 16px 0;
    margin: 0;
  }

  #contact-page-header .mob-img {
    max-height: 42vh;
    object-fit: cover;
  }

  #about-us-mobile img,
  .go-green-common img,
  .image-wrapper img {
    max-width: 100%;
    height: auto;
  }

  .section-scroll,
  .go-green-common,
  #about-us-mobile {
    padding-left: 16px;
    padding-right: 16px;
  }

  .go-green-common .header-line {
    font-size: clamp(18px, 5vw, 28px);
    line-height: 1.25;
    letter-spacing: 0.4px;
    white-space: normal;
    max-width: 100%;
  }

  .go-green-common p,
  .features,
  .features li,
  .features span {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .image-wrapper.img-container {
    width: 100%;
    min-height: 0;
    margin-bottom: 16px;
  }

  #contact-us .form-row > [class*="col-"] {
    max-width: 100%;
    flex: 0 0 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-height: 500px) and (max-width: 1024px) {
  #contact-page-header .mob-img {
    max-height: 34vh;
  }
}
