main {
  background-image: url("/assets/heartcrowd.png");
  background-repeat: repeat-x;
  background-position: center bottom -1px;
  padding-bottom: 400px;
}

span.title {
  margin-top: 25px;
}

img.dogAway {
  bottom: 0px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 20%;
}

img.parapup {
  max-width: 75%;
}

.buttons {
  display: block;
  /*gap: 1rem;*/
  margin-top: 1.5rem;
}

.cloud-foreground {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 2rem auto;
  z-index: 10; /* above the background clouds */
  top: -160px;
}

.cloud-fg {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 200px;
  height: 60px;
  background: #fff;
  border-radius: 100px;
  z-index: 2; /* in front of the image */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cloud-fg::before {
  content: "";
  position: absolute;
  width: 90px;
  height: 90px;
  top: -45px;
  left: 30px;
  background: #fff;
  border-radius: 50%;
}

.cloud-fg::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  top: -60px;
  right: 25px;
  background: #fff;
  border-radius: 50%;
}

/* y-wing */
.cloud1 > .cloud {
  top: 200px;
}

.cloud2 {
  top: 28%;
}

/* cloud right of y-wing */
.cloud3 {
  height: 124px;
  left: 21%;
  top: 15%;
  width: 210px;
}
.cloud3 span {
  left: 20px;
  top: 30px;
}

.cloud4 {
  left: 25%;
  top: -110%;
  position: relative;
  z-index: 2;
}

.cloud-text span {
  position: relative;
  z-index: 1;
  color: #344054;
  /*font: 600 16px/1.2 sans-serif;*/
  text-align: center;
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Left image pinned to top */
.col-left {
  justify-content: flex-start;
}

/* Center: text + buttons vertically centered */
.col-center {
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
}

/* Right image pinned to bottom */
.col-right {
  justify-content: flex-end;
}

.col img {
  width: 135%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 8px;
}

.cssHCenter {
  left: 50%;
  position: absolute;
  transform: translate(-50%);
}
.cssVCenter {
  top: 50%;
  position: absolute;
  transform: translate(0, -50%);
}

.floatText {
  position: relative;
  top: -85%;
  left: -90%;
}

.peeking-img {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1; /* behind the cloud */
  position: relative;
  top: 115px;
}

.three-col {
  display: flex;
  align-items: stretch;
  min-height: 500px; /* adjust to your needs */
}

.three-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.three-col > .col {
  width: 33%;
}

.ywing-left {
  position: relative;
  left: -10px;
  top: -95px;
  width: 75%;
}

/*.testimonial-wrap {
  position: relative;
  height: 1.5em; /* holds the slot in flow * /
}

.testimonial:hover {
  max-height: 400px; /* generous upper bound * /
  white-space: normal; /* allow wrapping so it actually grows * /
  text-overflow: clip;
}
.testimonial {
  max-height: 1.5em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: max-height 0.4s ease;
  cursor: pointer;
}

.testimonial-wrap:hover .testimonial {
  position: absolute; /* out of flow → no reflow of siblings * /
  top: 0;
  left: 0;
  width: 320px; /* or fit-content, or 100% of parent * /
  max-height: 400px;
  white-space: normal;
  text-overflow: clip;
  z-index: 10;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  padding: 8px;
  border-radius: 4px;
}*/

@media (max-width: 767px) {
  .buttons {
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    right: -95%;
    top: -50px;
    width: 100%;
  }

  .buttons button {
    width: 100%;
  }

  .cloud-fg {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 200px;
    height: 60px;
    background: #fff;
    border-radius: 100px;
    z-index: 2; /* in front of the image */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .cloud-fg::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: -60px;
    right: 25px;
    background: #fff;
    border-radius: 50%;
  }

  .cloud-fg::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    top: -45px;
    left: 30px;
    background: #fff;
    border-radius: 50%;
  }

  /* y-wing */
  .cloud1 {
    left: 25%;
  }

  /* y-wing */
  .cloud1 > .cloud {
    top: 200px;
  }

  /* y-wing */
  .cloud2 {
    left: 80%;
    top: 0%;
  }

  .cloud3 {
    left: 50%;
    top: 18%;
    height: 100px;
    width: 205px;
  }
  .cloud3 .span {
    left: 9%;
    top: 16%;
  }

  .cloud4 {
    left: 25%;
    position: relative;
    top: -111%;
    z-index: 2;
  }

  .cloud-foreground {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 2rem auto;
    z-index: 10; /* above the background clouds */
    top: -160px;
  }

  .cloud-foreground {
    top: 0px;
  }

  .col-center {
    padding: 1rem;
  }

  /* Remove the vertical pinning -- it's meaningless when stacked */
  .col-left,
  .col-right {
    justify-content: center;
  }

  .col {
    flex: none;
    width: 100%;
  }

  .floatText {
    position: relative;
    transform: translate(-50%);
    left: -45%;
    top: -65%;
  }

  .peeking-img {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1; /* behind the cloud */
    position: relative;
    top: 115px;
  }

  .three-col {
    flex-direction: column;
    min-height: auto;
    gap: 1.5rem;
    margin-bottom: 125px;
  }

  .ywing-left {
    position: relative;
    left: -10px;
    top: -95px;
    width: 75%;
  }

  img.dogAway {
    bottom: 55px;
    width: 50%;
  }
}
