.image-container {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: 1rem;
  align-items: stretch;
  max-width: 100%;
  margin: auto;
  height: auto;
}

.left,
.right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.right {
  height: 100%;
}

.right-content {
  position: relative;
  flex-grow: 1;
  display: flex;
  justify-content: flex-end;
  flex-direction: column;
}

.right-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.text-overlay {
  position: absolute;
  color: #fff9f5;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  padding: 6rem 3rem;
}

.text-overlay h1 {
  font-family: "Miller Banner";
  font-size: clamp(2.625rem, 7vw, 5.625rem);
  font-style: normal;
  font-weight: 600;
  line-height: 110%;
  padding-bottom: 1rem;
}

.text-overlay p {
  font-family: "Montserrat";
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  white-space: pre-line;
  padding-bottom: 2rem;
}

.um-container {
  position: absolute;
  width: 100%;
  height: auto;
}

.image-wrapper {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
}

.image-wrapper img {
  width: 100%;
  height: auto;
}

.img-sup {
  position: absolute;
  top: 0;
  left: 100%;
  color: #fff9f5;
}

@media (max-width: 1025px) {
  .text-overlay {
    padding: 3rem;
  }

  .image-wrapper img {
    float: right;
  }
}

@media (max-width: 913px) {
  .text-overlay {
    padding: 2rem;
  }

  .image-wrapper img {
    width: 55%;
  }
}

@media (max-width: 700px) {
  .image-container {
    grid-template-columns: 1fr;
  }

  .left {
    display: none;
  }

  .image-wrapper {
    bottom: 1rem;
    right: 1rem;
  }
}

@media (max-width: 480px) {
  .text-overlay {
    padding: 1rem;
  }

  .text-overlay h1 {
    padding: 0;
  }

  .text-overlay p {
    max-width: 272px;
    white-space: unset;
    padding-bottom: 1rem;
  }
}

@media (max-width: 361px) {
  .text-overlay p {
    padding-bottom: 0.5rem;
  }
}

/* .wellness-um-logo {
  position: relative;
  bottom: 10%;
}

.wellness-um-logo img {
  position: absolute;
  left: 83%;
} */

/* @media (max-width: 1025px) {
    .wellness-hero {
        height: 41vh;
    }

    .wellness-hero__image {
        height: 70%;
    }

    .wellness-hero__content {
        height: 70%;
        width: 125%;
    }

    .wellness-hero__content-wrapper {
        padding: 7rem 3rem;
    }

    .wellness-hero__title {
        font-size: 70px;
        max-width: 85%;
    }

    .wellness-hero__description {
        font-size: 18px;
        max-width: 65%;
    }

    .wellness-um-logo {
        display: none;
    }
}

@media (min-width: 900px) and (max-width: 1025px) and (max-height: 700px) {
    .wellness-hero {
        height: 80vh;
    }

    .wellness-hero__content {
        width: 130%;
    }

    .wellness-hero__content-wrapper {
        padding: 5rem 3rem;
    }
  }

@media (min-width: 1026px) and (max-width: 1300px) and (max-height: 850px) {
    .wellness-hero {
        height: 70vh;
    }

    .wellness-hero__image {
        height: 75%;
    }

    .wellness-hero__content {
        height: 75%;
        width: 140%;
    }

    .wellness-hero__content-wrapper {
        padding: 4.5rem;
    }

    .wellness-hero__title {
        max-width: 80%;
    }

    .wellness-hero__description {
        max-width: 60%;
    }
  }

@media (max-width: 912px) {
    .wellness-hero {
        height: 42vh
    }

    .wellness-hero__content {
        width: 130%;
    }

    .wellness-hero__content-wrapper {
        padding: 3rem 2rem;
    }

    .wellness-hero__title {
        max-width: 100%;
    }

    .wellness-hero__description {
        max-width: 85%;
    }
}

@media (max-width: 820px) {
    .wellness-hero__image {
        height: 60%;
    }
    

    .wellness-hero__content {
        height: 60%;
        width: 150%;
    }

    .wellness-hero__content-wrapper {
        padding: 4rem 1.5rem;
    }

    .wellness-hero__title {
        max-width: 100%;
    }

    .wellness-hero__description {
        max-width: 75%;
    }
}

@media (max-width: 769px) {
    .wellness-hero__content {
        height: 60%;
        width: 160%;
    }
}

@media (max-width: 541px) {
    .wellness-hero {
        display: flex;
    }

    .wellness-hero__image {
        display: none;
    }

    .wellness-hero__content {
        height: auto;
        width: 100%;
    }

    .wellness-hero__content-wrapper {
        padding: 3rem;
    }
    
    .wellness-hero__title {
        font-size: 42px;
        max-width: 83%;
    }

    .wellness-hero__description {
        font-size: 16px;
        max-width: 86%;
    }

}

@media (max-width: 431px) {
    .wellness-hero__content {
        background-position: 80% center;
    }

    .wellness-hero__content-wrapper {
        padding: 4rem 3rem;
    }

    .wellness-hero__title {
        font-size: 42px;
        max-width: 100%;
    }

    .wellness-hero__description {
        font-size: 16px;
        max-width: 100%;
    }
}

@media (max-width: 376px) {
    .wellness-hero {
        height: 50vh;
    }

    .wellness-hero__content-wrapper {
        padding: 3rem 2rem;
    }

    .wellness-hero__title {
        max-width: 100%;
    }

    .wellness-hero__description {
        max-width: 100%;
    }
}

@media (max-width: 345px) {
    .wellness-hero {
        height: 40vh;
    }

    .wellness-hero__content-wrapper {
        padding: 2rem;
    }
} */

/* Responsive Styles for Tablet */
/* @media (max-width: 768px) {
    .wellness-hero {
        display: grid;
        grid-template-columns: 0.3fr 0.7fr;
        align-items: center;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .wellness-hero__content-wrapper {
        background-image: url(../assets/images/bk-um-mobile.svg);
        background-repeat: no-repeat;
        padding: 0rem 0rem;
        padding-left: 2rem;
        padding-right: 1rem;
        padding-top: 0rem;
    }


    .wellness-hero__image {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .wellness-hero__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
        display: block;
        margin-left: 2rem;
    }

    .wellness-hero__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0rem;
        padding-bottom: 0rem;
        margin-bottom: 0rem;
    }

    .wellness-hero__title {

        font-size: 4rem;
        padding-top: 6rem;
    }

    .wellness-hero__description {
        font-size: 1rem;
        margin-bottom: 0rem;
        width: 100%;
    }

    .wellness-hero__content .btn-light {
        margin-left: 0px;
    }
} */

/* === 📌 Large Mobile (543px - 768px) Fixes === */
/* @media (max-width: 768px) {
    .wellness-hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .wellness-hero__image {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .wellness-hero__image img {
        width: 100%;
        max-width: 350px;
    }

    .wellness-hero__content-wrapper {
        padding: 4rem 1.5rem;
        background-size: cover;
        background-position: center;
    }

    .wellness-hero__title {
        font-size: 3rem;
    }

    .wellness-hero__description {
        font-size: 1rem;
    }

    .wellness-hero__cta-button {
        width: auto;
        padding: 1rem 2rem;
    }
} */

/* === 📌 Small Mobile (≤ 543px) Fixes === */
/* @media (max-width: 543px) {
    .wellness-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 1rem;
    }

    .wellness-hero__image {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .wellness-hero__image img {
        width: 100%;
        max-width: 300px;
    }

    .wellness-hero__content-wrapper {
        padding: 3rem 1rem;
        min-height: auto;
        background-size: contain;
                padding-left: 2rem;
    }

    .wellness-hero__title {
        font-size: 2.2rem;
        padding-top: 0;
    }

    .wellness-hero__description {
        font-size: 1rem;
        width: 99%;
        margin: auto;
        padding-top: 6px;
    }

    .wellness-hero__cta-button {
        width: 100%;
        max-width: 250px;
    }
} */
