.crm-main-section {
  padding-left: 70px;
  padding-right: 70px;
  margin-top: 50px !important;
}

.crm-hero-section {
  max-width: 800px;
  text-align: center;
  margin: auto;
}

.crm-hero-section h1 {
  font-size: 56px;
  line-height: 62px;
}

.crm-hero-section p {
  font-size: 17px;
  line-height: 24px;
  color: #003333 !important;
  max-width: 700px;
  margin: 0 auto;
}

/* MOBILE CRM-HERO-SECTION */
@media (max-width: 576px) {
  .crm-main-section {
    margin-top: 50px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .crm-hero-section h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .crm-hero-section p {
    font-size: 17px;
    line-height: 24px;
    color: #003333 !important;
  }
}

.crm-image-section {
  padding-top: 20px;
  padding-left: 200px;
  padding-right: 200px;
}

.crm-image-box {
  margin-top: 10px;
  /* margin-bottom: 50px; */
  background-image: url(../images/Bonsai_hero_background.webp);
  background-size: cover;
  background-position: center;
  border-radius: 10px 10px 0 0;
  /* min-height: 650px; */
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 90px 90px 0px 90px;
  overflow: hidden;
}

.crm-image-box img {
  width: 100%;
  max-width: 100%;
  border-radius: 5px 5px 0 0;
  height: auto;
  display: block;
}

.div-box {
  border-radius: 0px 0px 5px 5px;
  background-color: #003333;
}

/* MOBILE IMAGE SECTION */
@media (max-width: 576px) {
  .crm-image-section {
    padding-right: 30px;
    padding-left: 30px;
  }

  .crm-image-box {
    min-height: auto;
    padding: 30px 20px 0px 20px;
    border-radius: 0px !important;
  }

  .crm-image-box img {
    border-radius: 5px 5px 0 0px;
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .div-box {
    gap: 20px;
  }
}

.what-you-can-do {
  margin-top: 180px !important;
  padding-left: 70px;
  padding-right: 70px;
}

.what-you-can-do h1,
.what-you-can-do h2 {
  text-align: center;
  font-size: 50px;
  line-height: 58px;
}

@media (max-width: 992px) {
  .crm-image-section,
  .Client-overview-section {
    padding-left: 70px;
    padding-right: 70px;
  }
}

@media (max-width: 576px) {
  .what-you-can-do {
    margin-top: 150px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .what-you-can-do h1,
  .what-you-can-do h2 {
    font-size: 28px !important;
    line-height: 34px;
  }
}

.Client-overview-section {
  margin-top: 100px;
  /* padding-inline: 100px;    */
  padding-left: 200px;
  padding-right: 200px;
  padding-bottom: 100px;
}

.Client-overview-section h1,
.Client-overview-section h2 {
  max-width: 1000px;
  margin: auto;
  font-size: 50px;
  line-height: 58px;
}

@media (max-width: 576px) {
  .Client-overview-section {
    padding-left: 30px;
    padding-right: 30px;
    margin-top: 150px;
  }

  .Client-overview-section h1,
  .Client-overview-section h2 {
    font-size: 28px;
    line-height: 34px;
  }
}

.crm-testimonial-section {
  margin-top: 200px;
  padding-left: 70px;
  padding-right: 70px;
  margin-bottom: 100px;
  padding-bottom: 50px;
}

.crm-testimonial-row {
  margin-left: 0;
  margin-right: 0;
}

.testimonial-wrapper {
  height: 100%;
}

.testimonial-img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.text-group {
  margin-bottom: 40px;
}

.text-group .card-text {
  font-size: 50px;
  line-height: 58px;
  margin: 0;
}

.crm-stats-row {
  width: 100%;
}

.crm-icon-wrapper {
  background: linear-gradient(90deg, #003333, #006666 50%, #003333) !important;
  height: 150px;
  width: 130px !important;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crm-icon-wrapper img {
  max-width: 100%;
  max-height: 100px;
}

.crm-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #e6f5e6;
  box-sizing: border-box;
  /* min-width: 0; */
  flex: 1 1 auto;
  border-radius: 10px;
  padding: 20px 24px;
  max-width: 500px;
}

.crm-text-wrapper h1,
.crm-text-wrapper .stat {
  font-size: 56px;
  line-height: 62px;
  margin-bottom: 5px;
}

@media (max-width: 576px) {
  .crm-testimonial-section {
    margin-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .text-group {
    margin-bottom: 35px;
  }

  .text-group .card-text {
    font-size: 33px;
    line-height: 37px;
  }

  .crm-stats-row {
    gap: 10px;
  }

  .crm-icon-wrapper {
    flex: 0 0 105px;
    height: 110px;
  }

  .crm-icon-wrapper img {
    max-height: 70px;
  }

  .crm-text-wrapper {
    padding: 14px 16px;
    max-width: none;
  }

  .crm-text-wrapper h1,
  .crm-text-wrapper .stat {
    font-size: 34px;
    line-height: 38px;
  }

  .crm-text-wrapper p {
    font-size: 14px;
    line-height: 18px;
  }

  .testimonial-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .testimonial-img {
    height: auto;
  }
}

.ledgrr-template {
  background-color: #e6f5e6;
  padding-top: 100px;
  /* padding-bottom: 20px; */
  padding-left: 70px;
  padding-right: 70px;
}

.ledgrr-template h1,
.ledgrr-template h2 {
  font-size: 50px;
  line-height: 58px;

  max-width: 700px;
  margin: auto;
}

@media (max-width: 576px) {
  .ledgrr-template {
    padding-top: 70px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .ledgrr-template h1,
  .ledgrr-template h2 {
    font-size: 33px;
    line-height: 37px;
  }
}

.crm-ledgrr-link {
  font-size: 14px !important;
  line-height: 20px;
  padding: 10px 20px 10px 20px !important;
  background-color: white !important;
}

.crm-features {
  margin-top: 150px;
}

.crm-features div h1,
.crm-features div h2 {
  font-size: 50px;
  line-height: 58px;
  max-width: 700px;
  text-align: center;
  margin: auto;
  color: #003333;
}

@media (max-width: 576px) {
  .crm-features {
    margin-top: 100px;
  }

  .crm-features div h1,
  .crm-features div h2 {
    font-size: 33px;
    line-height: 37px;
    text-align: center;
    max-width: 300px;
  }
}

.feature-card .card-text {
  font-size: 17px;
  line-height: 24px;
}

/* Dark mode overrides for the CRM page */
[data-theme="dark"] .crm-hero-section h1,
[data-theme="dark"] .what-you-can-do h2,
[data-theme="dark"] .Client-overview-section h2,
[data-theme="dark"] .text-group .card-text,
[data-theme="dark"] .crm-text-wrapper .stat,
[data-theme="dark"] .ledgrr-template h2,
[data-theme="dark"] .crm-features div h2 {
  color: var(--text-primary) !important;
}

[data-theme="dark"] .crm-hero-section p,
[data-theme="dark"] .crm-text-wrapper p,
[data-theme="dark"] .Client-overview-section .card-text,
[data-theme="dark"] .cos-wrapper .card-text,
[data-theme="dark"] .what-you-can-do p,
[data-theme="dark"] .feature-card .card-text {
  color: var(--text-muted) !important;
}

[data-theme="dark"] .Client-overview-section .card,
[data-theme="dark"] .crm-cards .card,
[data-theme="dark"] .ledgrr-template .card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .crm-text-wrapper,
[data-theme="dark"] .text-group .card {
  background-color: var(--card-bg) !important;
}

[data-theme="dark"] .ledgrr-template,
[data-theme="dark"] .colored-section {
  background-color: var(--bg-secondary) !important;
}

[data-theme="dark"] .cos-card,
[data-theme="dark"] .img-wrapper,
[data-theme="dark"] .feature-card .image-wrapper {
  background-color: var(--bg-tertiary) !important;
}

[data-theme="dark"] .div-box {
  background-color: #003333 !important;
}

[data-theme="dark"] .btn-dark {
  background-color: #003333 !important;
  border-color: #003333 !important;
  color: #ccffcc !important;
}

[data-theme="dark"] .btn-outline-dark {
  color: #ccffcc !important;
  border-color: #003333 !important;
}
