.main-content-square {
  padding-left: 25px;
  padding-right: 25px;
  max-width: 1170px;
  margin: 0 auto;
}

.square-section {
  display: flex;
  padding: 0 25px;
  margin: 100px 0;
  justify-content: space-between;
}

.first-partner-section {
  margin-top: 0px;
  position: relative;
}

.square-image-wrp {
  min-width: 40%;
}

.square-image {
  border-radius: 52px;
  width: 400px;
  height: 400px;
  object-fit: cover;
}

.square-text {
  font-size: 18px;
  max-width: 45%;
}

.square-waitly-wrp {
  position: absolute;
  max-width: 350px;
  bottom: 35px;
  left: 25px;
}

.try-it-btn , .learn-more-btn {
    display: block;
    text-align: center;
    margin: 5px auto;
    background-color: #5472d3;
    color: #fff;
    border-radius: 20px;
    width: fit-content;
    font-weight: 700;
    padding: 10px 30px;
    cursor: pointer;
    text-decoration: none;
}

.try-it-btn:hover, .learn-more-btn:hover {
  cursor: pointer;
  opacity: 1;
  color: #fff !important;
}

.learn-more-btn {
  margin: 15px 0 30px 0;
}

.hero-carousel .carousel-inner .square-heading {
  position: absolute;
  top: 140px;
  max-width: 400px;
  float: left;
}

@media (max-width: 1024px) {
  .square-image {
    width: 300px;
    height: 300px;
  }
  .square-waitly-wrp {
    max-width: 300px;
    bottom: -15px;
    left: 25px;
  }
}

@media (max-width: 767px) {
  .square-section {
    display: flex;
    padding: 0;
    margin: 70px 0;
    justify-content: space-between;
    flex-direction: column;
  }
  .square-text {
    max-width: 100%;
    padding-bottom: 70px;
  }

  .solution-section {
    flex-direction: column-reverse;
  }

  .engage-section {
    flex-direction: column-reverse;
  }

  .square-image-wrp {
    text-align: center;
  }

  .square-image {
    width: 80vw;
    height: 80vw;
  }

  .first-partner-section > .square-text {
    padding-bottom: 30px;
  }

  .square-waitly-wrp {
    position: inherit;
    padding-bottom: 60px;
  }

  .hero-carousel .carousel-inner .square-heading {
    font-size: 18px;
    top: 50px;
    max-width: 300px;
  }

   .try-it-btn {
    margin-top: 140px;
    margin-bottom: 70px;
  }
}