/* index-two.html - one-page anchors + mobile burger */

html {
  scroll-behavior: smooth;
}

/* offset for sticky header */
#home,
#program,
#plans,
#join,
#contact {
  scroll-margin-top: 110px;
}

/* header right controls */
.header-style-one-wrapper .button-area-start {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-style-one-wrapper .button-area-start .rts-btn.btn-sm {
  padding: 10px 16px;
  border-radius: 999px;
  line-height: 1;
}

/* burger (uses main.js: click .menu-btn-toggle -> open #side-bar) */
.menu-btn-toggle {
  display: none;
}

@media (max-width: 991px) {
  .menu-btn-toggle {
    display: block;
  }
}

/* Mobile hero background override (index-two only) */
@media (max-width: 767px) {
  #home .rts-hero-banner.bg {
    background-image: url("../images/gym/gym1.png") !important;
  }

  #program {
    background-image: url("../images/gym/gym2.png") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
    padding: 600px 0 80px;
  }
  #program p {
    line-height: normal !important;
    font-size: 16px !important;
  }

  /* Features section (6 cards) background like screenshot */
  .section-3 {
    background-image: url("../images/gym/gym3.png") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
  }

  .section-3::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    pointer-events: none;
  }

  .section-3 > * {
    position: relative;
    z-index: 1;
  }

  /* Right-align specific cards in mobile */
  .section-3 .service-wrapper.align-right-mobile {
    text-align: right;
  }

  .section-3 .service-wrapper.align-right-mobile .icon {
    margin-left: auto;
  }

  .steps {
    margin-top: 320px;
  }
}
