@media only screen and (max-width: 768px),
  only screen and (max-width: 768px) and (orientation: landscape),
  only screen and (max-width: 767px) {
  container {
    font-size: 16px;
    padding: 0;
    margin: 0;
  }

  nav {
    position: fixed;
  }
  .nav-container {
    display: none;
  }

  .page-button {
    padding: 0.7rem 1rem;
  }
  .logo-nav-section {
    background-color: rgba(0, 113, 121, 0.8);
    color: #fff;
    width: 100vw;
    display: flex;

    gap: 55vw;
    padding-top: 0.5rem;
    position: fixed;
    z-index: 500;
  }

  .logo-container {
    margin-left: 1rem;
  }
  .logo {
    height: 6vh;
    width: auto;
  }

  .hamburger-div {
    display: flex;
    height: 6vh;
  }
  .hamburger-icon {
    display: flex;
    height: 6vh;
  }

  .mobile-menu-div {
    margin-top: 4.1rem;
  }

  .nav-responsive-section {
    background-color: rgba(0, 113, 121, 0.8);
    width: 100vw;
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 500;
  }

  .main-navbar-div {
    height: 3rem;
  }

  .nav-responsive-item {
    color: #fff;
    display: flex;
    font-weight: bold;
    font-size: 1.2rem;
    font-size: clamp(1rem, 1.2rem, 1.3rem);
    padding: 1rem 1rem;
    cursor: pointer;
  }

  .hero-section {
    padding-top: 10rem;
    height: 55vh;
  }

  .hero-section-content-container {
    gap: 2.5rem;
  }

  .hero-title-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 85vw;
  }

  .hero-title {
    align-self: center;
    font-size: 4.5rem;
    line-height: 6rem;
  }

  .hero-subtext-container {
    max-width: 65vw;
  }
  .hero-subtext {
    font-size: 1.5rem;
    line-height: 3rem;
  }

  .services-container {
    flex-direction: column;
    gap: 4rem;
  }

  .service {
    padding-top: 5rem;
    width: 65vw;
    max-width: 65vw;
  }

  .prices-striked {
    font-size: 0.9rem;
  }

  .fitness-journey-section {
    background-color: #f1f1ef;
    display: flex;
    flex-direction: column;
    gap: 3rem;

    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0.55)
      ),
      url("../img/mobility-background-mb1.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 10rem;
    padding-bottom: 15rem;
    justify-content: center;
    color: #eeeeee;
    flex-wrap: wrap;
  }

  .fitness-journey-subheader-container {
    width: 85vw;
  }
  .fitness-journey-subheader {
    font-size: 1.12rem;
    line-height: 1.7rem;
  }

  .fitness-journey-steps-container {
    display: flex;
    flex-direction: column;
    width: 85vw;
  }

  .fitness-journey-steps {
    width: 70vw;
    max-width: 70vw;
    margin: 0;
    padding: 2rem;
  }

  .about-me-section-content-container {
    gap: 3rem;
    width: 85vw;
    max-width: 85vw;
  }

  .about-me-section {
    padding-bottom: 5rem;
  }

  .about-me-container {
    flex-direction: column;
  }

  .about-me-img-container {
    display: flex;
    align-self: center;
  }

  .about-me-img {
    margin-top: 1rem;
    width: 60vw;
    border-radius: 2rem;
  }

  .about-me-description-container {
    width: 85vw;
  }

  .testimonial-section-content-container {
    max-width: 85vw;
    width: 85vw;
  }

  .testimonial-container {
    flex-direction: column;
  }

  .testimonial-item {
    display: none;
    width: 20rem;
    height: max-content;
    gap: 0;
  }

  .testimonial-active {
    display: flex;
  }

  .testimonial-progress {
    display: block;
    width: 25vw;
    margin-left: auto;
    margin-right: auto;
    background-color: #ddd;
  }

  .testimonial-bar {
    display: block;
    width: 5%;
    height: 5px;
    background-color: #007179;
    text-align: center;
    line-height: 5px;
    color: #007179;
  }

  .sub-3 {
    flex-direction: column;
    gap: 0;
  }

  .contact-left {
    width: 100%;
  }

  .contact-right {
    width: 100%;
  }

  #contact {
    width: 85%;
  }
  select {
    width: 95%;
  }

  .offer-footer-text {
    font-size: 0.9rem;
  }
  .offer-footer-link span {
    font-size: 0.9rem;
  }

  .form-note {
    line-height: 1.8rem;
  }

  .footer-section-content-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer_sitelink_logo_container {
    margin-left: auto;
    margin-right: auto;
  }

  .footer_sitelink_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    justify-items: center;
  }

  .footer_sitelink_container span a {
    width: 100%;
    text-align: center;
  }

  .footer_sitelink_container span:last-child:nth-child(odd) {
    grid-column: 1 / -1; /* span full width */
    justify-self: center;
  }

  .footer_logo_container {
    align-self: center;
  }

  .address-contact-information {
    margin-top: 1rem;
  }

  .address-contact-details {
    width: 85vw;
  }

  .footer-socials {
    margin-top: 1rem;
  }
}

@media only screen and (max-width: 450px),
  only screen and (max-width: 450px) and (orientation: landscape) {
  container {
    font-size: 14px;
    padding: 0;
    margin: 0;
  }

  .page-button {
    padding: 0.5rem 0.7rem;
  }

  .hero-cta-button {
    font-size: 1.3rem;
    padding: 0.9rem 2rem;
  }

  .mobile-menu-div {
    margin-top: 4.1rem;
  }

  .main-navbar-div {
    height: 3rem;
  }

  .nav-responsive-item {
    color: #fff;
    display: flex;
    font-weight: bold;
    font-size: 1rem;
    font-size: clamp(0.9rem, 1rem, 1.1rem);
    padding: 1rem 1rem;
    cursor: pointer;
  }

  .hero-section {
    padding-top: 10rem;
    height: 55vh;
  }

  .hero-section-content-container {
    gap: 1.5rem;
  }

  .hero-title-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 85vw;
  }

  .hero-title {
    align-self: center;
    font-size: 3.5rem;
    line-height: 5rem;
  }

  .hero-subtext-container {
    max-width: 75vw;
  }
  .hero-subtext {
    font-size: 1.2rem;
    line-height: 3rem;
  }

  .services-container {
    flex-direction: column;
    gap: 4rem;
  }

  .section-titles {
    margin-left: auto;
    margin-right: auto;
    font-size: 1.7rem;
    line-height: 2rem;
  }

  .service {
    padding: 0;
    margin: 0;
    padding-top: 3rem;
    padding-bottom: 3rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 75vw;
    max-width: 75vw;
  }

  .service-header {
    align-self: center;
    margin-left: auto;
    margin-right: auto;
  }
  .service-header-text {
    font-size: 1.3rem;
  }

  .membership-header {
    font-size: 1.3rem;
  }

  .membership-info-text {
    font-size: 1.1rem;
  }

  span p {
    font-size: 1.1rem;
  }

  .about-me-description p {
    font-size: 1.1rem;
  }

  .testimonial-section-content-container {
    max-width: 95vw;
    width: 95vw;
  }

  .testimonial-container {
    flex-direction: column;
  }

  .testimonial-item {
    padding: 0;
    margin: 0;
    padding-top: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 75vw;
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .testimonial-description-container {
    height: max-content;
  }

  .testimonial-description {
    font-size: 1.1rem;
    line-height: 1.65rem;
  }

  .book-container {
    margin: 0;
    padding: 0;

    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sub-3 {
    flex-direction: column;
    gap: 0;
  }

  .contact-left {
    width: 100%;
  }

  .contact-right {
    width: 100%;
  }

  #contact {
    width: 85%;
  }
  select {
    width: 95%;
  }

  .offer-footer-text {
    font-size: 0.9rem;
  }
  .offer-footer-link span {
    font-size: 0.9rem;
  }

  .form-note {
    line-height: 1.8rem;
  }

  .footer-section-content-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer_sitelink_logo_container {
    margin: 0;
    margin-left: 0.5rem;
  }

  .footer_sitelink_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    justify-items: center;
  }

  .footer_sitelink_container span a {
    font-size: 0.9rem;
    width: 100%;
    text-align: center;
  }
  .footer_logo_container {
    align-self: center;
  }

  .address-contact-information {
    margin-top: 1rem;
  }

  .address-contact-details {
    width: 85vw;
  }

  .footer-socials {
    margin-top: 1rem;
  }

  .footer-socials-container {
    gap: 0;
  }

  copyright span {
    margin-top: 0.7rem;
    padding-top: 0.4rem;
    font-size: 0.6rem;
  }
}

@media only screen and (min-width: 769px) and (max-width: 1080px) {
  container {
    font-size: 16px;
    padding: 0;
    margin: 0;
  }

  nav {
    position: fixed;
  }
  .nav-container {
    display: flex;
  }

  .page-button {
    padding: 0.4rem 0.7rem;
  }

  .nav-item-book {
    padding: 0.5rem;
  }
  .logo-nav-section {
    background-color: rgba(0, 113, 121, 0.8);
    color: #fff;
    width: 100vw;
    display: flex;

    gap: 10vw;
    padding-top: 0.5rem;
    position: fixed;
    z-index: 500;
  }

  .logo-container {
    margin-left: 1rem;
  }
  .logo {
    height: 5vh;
    width: auto;
  }

  .hamburger-div {
    display: none;
    height: 6vh;
  }
  .hamburger-icon {
    display: none;
    height: 6vh;
  }

  .mobile-menu-div {
    display: none;
  }

  .main-navbar-div {
    height: 3rem;
  }

  .hero-section {
    padding-top: 10rem;
    padding-bottom: 7rem;
    height: max-content;
  }

  .hero-section-content-container {
    gap: 2rem;
  }

  .hero-title-container {
    margin-left: auto;
    margin-right: auto;
    max-width: 95vw;
  }

  .hero-title {
    align-self: center;
    font-size: 3.5rem;
    line-height: 5rem;
  }

  .hero-subtext-container {
    max-width: 65vw;
  }
  .hero-subtext {
    font-size: 1.5rem;
    line-height: 3rem;
  }

  .services-container {
    flex-direction: column;
    gap: 4rem;
  }

  .service {
    padding-top: 5rem;
    width: 65vw;
    max-width: 65vw;
  }

  .about-me-section-content-container {
    gap: 3rem;
    width: 85vw;
    max-width: 85vw;
  }

  .about-me-section {
    padding-bottom: 5rem;
  }

  .about-me-container {
    flex-direction: column;
  }

  .about-me-img-container {
    display: flex;
    align-self: center;
  }

  .about-me-img {
    margin-top: 1rem;
    width: 60vw;
    border-radius: 2rem;
  }

  .about-me-description-container {
    width: 85vw;
  }

  .testimonial-section-content-container {
    max-width: 85vw;
    width: 85vw;
  }

  .testimonial-container {
    flex-direction: column;
  }

  .testimonial-item {
    display: none;
    width: 40rem;
    height: max-content;
    gap: 0.5rem;
  }

  .testimonial-active {
    display: flex;
  }

  .testimonial-progress {
    display: block;
    width: 25vw;
    margin-left: auto;
    margin-right: auto;
    background-color: #ddd;
  }

  .testimonial-description-container {
    height: max-content;
  }

  .testimonial-bar {
    display: block;
    width: 5%;
    height: 5px;
    background-color: #007179;
    text-align: center;
    line-height: 5px;
    color: #007179;
  }

  .sub-3 {
    flex-direction: column;
    gap: 0;
  }

  .contact-left {
    width: 100%;
  }

  .contact-right {
    width: 100%;
  }

  #contact {
    width: 85%;
  }
  select {
    width: 95%;
  }

  .offer-footer-text {
    font-size: 0.9rem;
  }
  .offer-footer-link span {
    font-size: 0.9rem;
  }

  .form-note {
    line-height: 1.8rem;
  }

  .footer-section-content-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer_sitelink_logo_container {
    margin-left: auto;
    margin-right: auto;
  }

  .footer_sitelink_container {
    flex-direction: row;
    gap: 1rem;
  }

  .footer_logo_container {
    align-self: center;
  }

  .address-contact-information {
    margin-top: 1rem;
  }

  .address-contact-details {
    width: 85vw;
  }

  .footer-socials {
    margin-top: 1rem;
  }
}
