.first-illustration-image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.crm-sell-smart-wrapper {
  padding: 0 3rem;
}

.crm-sell-smart {
  max-width: var(--max-screen-width);
  margin-block: 10rem;
  position: relative;
  margin-inline: auto;
  background-image: url('/assets/crm-cards-background.svg');
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  background-size: contain;
  padding-bottom: 2.25rem;
}

.crm-cell-smart-row {
  display: flex;
  justify-content: space-between;
}

.crm-first-card {
  width: 31.75%;
  max-width: 26.1875rem;
  height: 35.3125rem;
  margin: 4rem;
}

.crm-second-card {
  width: 31.75%;
  max-width: 26.1875rem;
  height: 35.3125rem;
  margin: 2rem 4rem;
}

.sell-smart-left {
  max-width: 56%;
  padding-top: 4rem;
}

.sell-smart-left > .sell-smart-title,
.sell-smart-right > .sell-smart-title {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xxxl);
  line-height: 3.125rem;
  color: var(--blue);
}

.sell-smart-left > .sell-smart-heading,
.sell-smart-right > .sell-smart-heading {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-xxxxl);
  line-height: 4.0625rem;
  color: var(--main-text-color);
  margin-block: 1.5rem 2.5rem;
}

.sell-smart-left > .sell-smart-paragraph,
.sell-smart-right > .sell-smart-paragraph {
  width: 75%;
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-xxl);
  line-height: 2.625rem;
  color: var(--placeholder-color);
  margin-block: 0;
}

.sell-smart-right > .sell-smart-paragraph {
  margin-left: auto;
  width: 80%;
}

.sell-smart-right {
  max-width: 56%;
  text-align: right;
  padding-top: 7rem;
}

/* Responsive */
@media only screen and (max-width: 1366px) {
  .sell-smart-left {
    padding-top: 3rem;
  }
  .sell-smart-right {
    padding-top: 5rem;
  }

  .crm-first-card {
    margin: 4.5%;
    height: 100%;
  }

  .crm-second-card {
    margin: 2rem 4.5%;
  }

  .sell-smart-heading {
    margin-bottom: 2rem;
  }
}

@media only screen and (max-width: 1200px) {
  .crm-sell-smart {
    margin-block: 8rem 7rem;
  }

  .crm-sell-smart-wrapper {
    padding: 0 1.5rem;
  }

  .sell-smart-left > .sell-smart-paragraph, .sell-smart-right > .sell-smart-paragraph {
    width: 100%;
  }

  .sell-smart-left {
    padding-top: 0;
  }

  .sell-smart-right {
    padding-top: 2rem;
  }
}

@media only screen and (max-width: 1080px) {
  .crm-sell-smart {
    background: none;
  }
  .crm-cell-smart-row {
    gap: 3.75rem;
  }


  .crm-second-card, .crm-first-card {
    margin: 0;
    max-width: 100%;
    width: 100%;
    height: 100%;
  }

  .crm-top-section-wrapper {
    padding: 0 1.5rem;
  }

  .sell-smart-left {
    max-width: 50%;
  }

  .sell-smart-right{
    max-width: 50%;
  }

  .crm-cell-smart-row:last-of-type{
    margin-top: 5rem;
  }

}

@media only screen and (max-width: 960px) {
  .crm-sell-smart {
    gap: 6rem;
  }

  .crm-cell-smart-row:last-of-type{
    margin-top: 0;
  }

  .crm-second-card {
    margin: 2rem 1rem;
  }

  .sell-smart-right {
    padding-top: 0;
  }

  .crm-cell-smart-row:first-of-type {
    flex-direction: column-reverse;
    gap: 2rem;
  }

  .crm-cell-smart-row:last-of-type {
    flex-direction: column;
    gap: 2rem;
  }

  .sell-smart-left,
  .sell-smart-right {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .crm-first-card,
  .crm-second-card {
    margin: 0 auto;
    max-width: unset;
    height: 100%;
    width: 26.2rem;
  }
}

@media only screen and (max-width: 767px) {
  .crm-sell-smart {
    gap: 5rem;
    padding-bottom: 0;
    margin-block:5rem 6rem;
  }

  .crm-first-card,
  .crm-second-card {
    margin: 0 auto;
    max-width: unset;
    height: 100%;
    width: 21rem;
  }

  .sell-smart-right, .sell-smart-left {
    padding-top: 1rem;
  }

  .sell-smart-left > .sell-smart-heading,
  .sell-smart-right > .sell-smart-heading {
    font-size: var(--font-size-40);
    line-height: 3rem;
  }

  .sell-smart-left > .sell-smart-paragraph,
  .sell-smart-right > .sell-smart-paragraph {
    width: 100%;

  }
}

@media only screen and (max-width: 480px) {
  .crm-sell-smart {
    gap: 4rem;
    margin-block: 4rem;
  }

  .crm-cell-smart-row {
    gap: 1rem;
  }

  .crm-first-card,
  .crm-second-card {
    margin: 0 auto;
    max-width: unset;
    width: 100%;
  }

  .crm-sell-smart-wrapper {
    padding: 0 1rem;
  }
}
