/* Add margin-top to section anchors to prevent header overlap */
 [id]:before {
    content: "";
    display: block;
    height: 100px;
    /* Adjust this value based on your header height */
    margin-top: -100px;
    /* Same value as height */
    visibility: hidden;
    pointer-events: none;
  }

  .terms-of-service {
    margin: 0 auto;
    padding: 5rem;
  }

  .terms-header {
    margin-bottom: 2rem;
    text-align: center;
  }

  .terms-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
  }

  .terms-meta {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
  }

  .terms-section {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--gray-100);
  }

  .terms-section:last-child {
    border-bottom: none;
  }

  .terms-section h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
  }

  .terms-section h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
  }

  .terms-section h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.6rem;
  }

  .terms-content {
    line-height: 1.6;
    color: var(--primary-color);
  }

  .terms-content p {
    margin-bottom: 1rem;
  }

  .terms-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
  }

  .terms-content li {
    margin-bottom: 0.5rem;
  }

  .terms-content strong {
    color: var(--primary-color);
  }

  .terms-content a {
    color: var(--anchor-color);
    text-decoration: none;
    font-weight: 500;
  }

  .terms-content a:hover {
    color: var(--primary-color);
  }

  .terms-meta a {
    color: var(--anchor-color);
    text-decoration: none;
    font-weight: 500;
  }

  .terms-meta a:hover {
    color: var(--primary-color);
  }

  @media (max-width: 768px) {
    .terms-of-service {
      padding: 1rem;
    }

    .terms-header h1 {
      font-size: 2rem;
    }

    .terms-section h2 {
      font-size: 1.3rem;
    }

    .terms-section h3 {
      font-size: 1.1rem;
    }
  }