/* ================================
   Homepage – Section 2 (Explore + oval image)
   ================================ */

.explore-and-grow {
  padding-block: var(--sec-pad);
}

.explore-and-grow__inner {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 1fr);
  gap: var(--grid-gap);
  align-items: center;
}


@media (max-width: 1023px) {
  .explore-and-grow__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Content box */
.explore-and-grow__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
  max-width: 920px;
  margin: 0 auto;
  box-shadow: none;
  transition: none; /* kill hover animation */
}
.explore-and-grow__content:hover {
  transform: none;
  box-shadow: none;
}
@media (max-width: 1023px) {
  .explore-and-grow__content {
    text-align: center;
  }
}

.explore-and-grow__desc {
  font-size: var(--font-body);
  line-height: 1.6;
  color: var(--black);
  max-width: 520px;
}

.explore-and-grow__cta {
  margin-top: 20px;
  text-align: center;
}
.explore-and-grow__cta .btn {
  display: inline-flex;
}

/* Visual side */
.explore-and-grow__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Oval image */
.explore-and-grow__oval {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 4 / 2.25;
  border-radius: 80% / 80%;
  overflow: hidden;
  transform: rotate(-12deg);
  z-index: 2; /* above background icons */
}
.explore-and-grow__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Decorative icons */
.explore-and-grow__icon {
  position: absolute;
  height: auto;
  z-index: 3;
}

/* House (top-left) */
.explore-and-grow__icon--left {
  width: clamp(60px, 20%, 120px);
  top: 0;
  left: 0;
  transform: translate(35%, -40%); /* lock above left edge */
  z-index: 1; /* behind oval */
}

/* Cloud (top-right) */
.explore-and-grow__icon--right-bg {
  width: clamp(100px, 38%, 200px);
  top: 0;
  right: 0;
  transform: translate(20%, -70%); /* nudge up/right */
  z-index: 2;
}

/* Butterfly (top-right, foreground) */
.explore-and-grow__icon--right-fg {
  width: clamp(40px, 12%, 80px);
  top: 0;
  right: 0;
  transform: translate(30%, -40%); /* sits near cloud */
  z-index: 3;
}

/* Shapes (bottom-right) */
.explore-and-grow__icon--bottom {
  width: clamp(70px, 22%, 135px);
  bottom: 0;
  right: 0;
  transform: translate(-15%, 40%); /* lock below right edge */
}


/* Tweak scaling on smaller screens */
@media (max-width: 1023px) {
  .explore-and-grow__icon {
    max-width: 25%;
  }
}
@media (max-width: 599px) {
  .explore-and-grow__icon {
    max-width: 22%;
  }
}

@media (max-width: 1023px) {
  .explore-and-grow__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
  }

  .explore-and-grow__visual {
    margin-top: 40px; /* give breathing space under text */
    max-width: 400px;
    margin-inline: auto;
  }
}

/* Tablet/mobile adjustments for icons */
@media (max-width: 1023px) {

  /* Cloud */
  .explore-and-grow__icon--right-bg {
    width: clamp(80px, 32%, 140px);
    top: 0;
    right: 0;
    transform: translate(10%, -40%);
  }

  /* Butterfly */
  .explore-and-grow__icon--right-fg {
    width: clamp(35px, 12%, 60px);
    top: 0;
    right: 0;
    transform: translate(25%, -15%);
  }

}

@media (max-width: 1023px) {
  .explore-and-grow__inner {
    display: flex;
    flex-direction: column; /* stack children */
  }

  /* Put visual first, content second */
  .explore-and-grow__visual {
    order: -1; 
    margin-bottom: 32px; /* spacing under image */
  }

  .explore-and-grow__content {
    order: 0;
  }
}

@media (max-width: 1023px) {
  /* Make the section breathe more */
  .explore-and-grow {
    padding-block: 60px; /* increase vertical spacing */
  }

  /* Scale up the oval + icons */
  .explore-and-grow__visual {
    max-width: 80vw;      /* use most of the viewport */
    margin-inline: auto;
  }

  .explore-and-grow__oval {
    max-width: 100%;      /* let oval expand */
  }

  /* Scale content card to match */
  .explore-and-grow__content {
    max-width: 90vw;
    padding: 32px 24px;   /* bigger padding inside */
    margin-top: 50px;
  }

  /* Adjust icon sizing so they don’t overwhelm */
  .explore-and-grow__icon--left {
    width: clamp(80px, 24%, 140px);
  }
  .explore-and-grow__icon--right-bg {
    width: clamp(120px, 40%, 220px);
  }
  .explore-and-grow__icon--right-fg {
    width: clamp(50px, 15%, 90px);
  }
  .explore-and-grow__icon--bottom {
    width: clamp(90px, 28%, 150px);
  }
}

.explore-and-grow__inner {
  padding-inline: clamp(16px, 5vw, 60px); /* ← NEW */
}

@media (max-width: 1023px) {
  .explore-and-grow__desc {
    text-align: center;
    margin-inline: auto; /* keep it centered in the card */
  }
}
