.cta-bubbles {
  overflow: hidden;
  position: relative;
}

.cta-bubbles .container {
  align-items: center;
  justify-content: center;
  gap: 38px;
}

.cta-bubble {
  align-items: center;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
  padding: 60px 30px;
  position: relative;
  width: 100%;
}

.bubbles-2 .cta-bubble {
  aspect-ratio: 1/1;
}

.cta-bubble .inner {
  max-width: 331px;
  position: relative;
  z-index: 10;
}

.cta-bubble .bg-img {
  position: absolute;
  top: 50%;
  left: 50%;
  min-height: 100%;
  min-width: 100%;
  transform: translate(-50%,-50%);
  z-index: 1;
}

.cta-bubble .bg-img.front {
  transition: opacity 0.35s ease-in-out;
}

.cta-bubble .bg-img.hover {
  z-index: 0;
}

.cta-bubbles .inner p,
.cta-bubbles .inner p * {  color: white;
  font-size: 20px;
}

.cta-bubbles .inner .text h2 {
  color: white;
  margin-bottom: 24px;
}

.cta-bubble:hover .front {
  opacity: 0;
}

.cta-bubble .btn {
  margin-top: 48px;
}

.cta-bubble:hover .btn {
  background-color: white;
}


@media (max-width: 991px) {
  .cta-bubbles {
    flex-direction: column;
  }
  .bubbles-2 .cta-bubble {
    aspect-ratio: unset;
  }
}

.cta-bubbles.bubbles-1 .inner {
  margin: 0 auto 0 15%;
}

.cta-bubbles .full-bg-img {
    position: absolute;
    width: 100%;
    bottom: 0;
}
}