.terms-section {
  margin-top: 8.5rem;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
}

.terms-section h1 {
  font-family: var(--secondary-font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 36px;
}

.terms-section p {
  margin-top: 1.375rem;
}

.terms {
  margin-top: 0.5625rem;
  margin-bottom: 4.5rem;
}

.terms h3 {
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 21px;
  margin-top: 1.3125rem;
}

.terms p {
  margin-top: 0.5rem;
}

/*------------------------responsive design for the large screen device ------------------------------------------*/
@media (min-width: 1024px) {
  .terms-section {
    margin-top: 10.1875rem;
    padding: 0 6.3125rem;
  }

  .terms-section h1 {
    font-size: 2rem;
    line-height: 48px;
  }

  .terms-section p {
    margin-top: 2.25rem;
    font-size: 1rem;
    line-height: 24px;
  }

  .terms h3 {
    font-size: 1rem;
    line-height: 24px;
  }

  .terms p {
    margin-top: 1rem;
  }
}
/*-----------------------------------------------------------------for very large desktop-----------------------------------------------*/

@media (min-width: 1260px) {
  .terms-section {
    margin-top: 10.1875rem;
    padding: 0 10.3125rem;
  }
}
/*------------------------------------responsive design for medium screens---------------------------------------------*/

/*------------------------------------Tablets and medium devices--------------------------------------------------------*/
@media (min-width: 648px) and (max-width: 1023px) {
  .terms-section {
    padding: 0 2rem;
  }
}
