
.terms-body .landing-nav,
.about-us-body .landing-nav,
.contact-us-body .landing-nav,
.privacy-body .landing-nav{
    border-bottom: var(--borderWidth-thin) solid var(--border);
}

.page-container {
    min-height: calc(100vh - 9rem);
    background: var(--bg);
    padding: var(--base-size-32) var(--base-size-16);
  }

  .contact-subject-select {
    position: relative;
  }

  .contact-subject-select select {
    appearance: none;
    -webkit-appearance: none;
    padding: 0.36rem 1.76rem 0.36rem 0.6rem;
    border-color: var(--border);
    border-width: var(--borderWidth-thin);
    border-style: solid;
    border-radius: var(--borderRadius-medium);
    background: var(--card-bg);
    color: var(--secondary-btn-color);
    font-size: var(--base-size-14);
    font-weight: var(--base-text-weight-medium);
    line-height: 1.25;
    cursor: pointer;
    user-select: none;
  }

  .contact-subject-select select:focus {
    border-color: var(--accent);
    outline: none;
  }

  .contact-subject-select select:hover {
    border-color: var(--accent-hover);
  }


  .page-container .cta-section{
    min-height: unset;
  }
  .page-content {
    max-width: 68.75rem;
    margin: 0 auto;
    background: var(--card-bg);
    border: var(--borderWidth-thin) solid var(--border);
    border-radius: var(--borderRadius-medium);
    padding: 2rem;
    box-shadow: 0 0.0625rem 0.1875rem var(--shadow-color);
  }

  .page-header {
    text-align: center;
    margin-bottom: var(--base-size-48);
    padding-bottom: var(--base-size-32);
    border-bottom: var(--borderWidth-thin) solid var(--border);
  }

  .page-header h1 {
    font-size: var(--base-size-48);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-16);
  }

  .page-subtitle {
    font-size: var(--base-size-20);
    color: var(--text-light);
    font-weight: var(--base-text-weight-normal);
  }

  .content-section {
    margin-bottom: var(--base-size-48);
  }

  .section-content h2 {
    font-size: var(--base-size-32);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-20);
  }

  .section-content p {
    font-size: var(--base-size-18);
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: var(--base-size-16);
  }

  .feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: var(--base-size-24);
    margin-top: var(--base-size-32);
  }

  .feature-card {
    padding: var(--base-size-24);
    background: var(--surface-alt);
    border-radius: var(--borderRadius-medium);
    border: var(--borderWidth-thin) solid var(--border);
    transition: all 0.3s ease;
  }

  .feature-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.25rem 0.75rem var(--shadow-color);
    border-color: var(--accent);
  }

  .feature-card h3 {
    font-size: var(--base-size-20);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-12);
  }

  .feature-card p {
    font-size: var(--base-size-16);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
  }

  .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: var(--base-size-32);
    margin-top: var(--base-size-32);
  }

  .value-item h3 {
    font-size: var(--base-size-20);
    font-weight: var(--base-text-weight-semibold);
    color: var(--accent);
    margin-bottom: var(--base-size-12);
  }

  .value-item p {
    font-size: var(--base-size-16);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
  }

  .cta-section {
    text-align: center;
    color: var(--text);
    padding: var(--base-size-48) var(--base-size-32);
    background: var(--surface-alt);
    border-radius: var(--borderRadius-medium);
    border: var(--borderWidth-thin) solid var(--border);
    margin-top: var(--base-size-48);
  }

  .cta-section h2 {
    font-size: var(--base-size-36);
    font-weight: var(--base-text-weight-semibold);
    margin-bottom: var(--base-size-16);
  }

  .cta-section p {
    font-size: var(--base-size-18);
    margin-bottom: var(--base-size-32);
  }

  .cta-buttons {
    display: flex;
    gap: var(--base-size-16);
    justify-content: center;
    flex-wrap: wrap;
  }

  .cta-buttons .btn.secondary {
    background: var(--card-bg);
    color: var(--text);
  }

  .cta-buttons .btn.secondary:hover {
    background: var(--secondary-btn-hover-bg);
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--base-size-48);
    margin-top: var(--base-size-32);
  }

  .contact-info-section h2 {
    font-size: var(--base-size-28);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-12);
  }

  .contact-info-section p {
    font-size: var(--base-size-16);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--base-size-24);
  }

  .contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--base-size-24);
    margin: var(--base-size-32) 0;
  }

  .contact-method {
    display: flex;
    gap: var(--base-size-16);
    padding: var(--base-size-20);
    background: var(--surface-alt);
    border-radius: var(--borderRadius-medium);
    border: var(--borderWidth-thin) solid var(--border);
    transition: all 0.3s ease;
  }

  .contact-method:hover {
    border-color: var(--accent);
    box-shadow: 0 0.125rem 0.5rem var(--shadow-color);
  }

  .contact-icon {
    flex-shrink: 0;
    width: var(--base-size-48);
    height: var(--base-size-48);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: var(--borderRadius-medium);
    color: var(--white);
  }

  .contact-icon svg {
    width: var(--base-size-24);
    height: var(--base-size-24);
    stroke: currentColor;
  }

  .contact-details h3 {
    font-size: var(--base-size-18);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-6);
  }

  .contact-details a {
    display: block;
    font-size: var(--base-size-16);
    color: var(--accent);
    text-decoration: none;
    margin-bottom: var(--base-size-6);
    text-align: -webkit-match-parent;
  }

  .contact-details a:hover {
    text-decoration: underline;
  }

  .contact-details p {
    font-size: var(--base-size-14);
    color: var(--text-light);
    margin: 0;
  }

  .business-hours {
    margin-top: var(--base-size-32);
    padding: var(--base-size-20);
    background: var(--surface-alt);
    border-radius: var(--borderRadius-medium);
    border-left: var(--borderWidth-thick) solid var(--accent);
  }

  .business-hours h3 {
    font-size: var(--base-size-18);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-12);
  }

  .business-hours p {
    font-size: var(--base-size-14);
    color: var(--text-light);
    margin-bottom: var(--base-size-8);
  }

  .hours-note {
    margin-top: var(--base-size-12);
    padding-top: var(--base-size-12);
    border-top: var(--borderWidth-thin) solid var(--border);
    font-style: italic;
  }

  .form-container h2 {
    font-size: var(--base-size-28);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-12);
  }

  .form-container > p {
    font-size: var(--base-size-16);
    color: var(--text-light);
    margin-bottom: var(--base-size-32);
  }

  .contact-form {
    /* padding: 1rem;
    border-radius: var(--borderRadius-medium);
    border: var(--borderWidth-thin) solid var(--border); */
    display: flex;
    flex-direction: column;
    gap: var(--base-size-24);
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--base-size-8);
  }

  .form-group label {
    font-size: var(--base-size-14);
    font-weight: var(--base-text-weight-medium);
    color: var(--text);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: .313rem .75rem;
    font-size: var(--base-size-14);
    border: var(--input-border);
    border-radius: var(--borderRadius-medium);
    background: var(--card-bg);
    color: var(--text);
    transition: all 0.3s ease;
    font-family: inherit;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 0.1875rem rgba(99, 102, 241, 0.1);
  }

  .form-group textarea {
    resize: vertical;
    min-height: 9.375rem;
    line-height: 1.5;
  }

  .form-response {
    padding: var(--base-size-16);
    border-radius: var(--borderRadius-medium);
    font-size: var(--base-size-14);
    display: none;
  }

  .form-response.success {
    display: block;
    background: var(--add-btn-bg-subtle);
    color: var(--add-btn-color);
    border: var(--borderWidth-thin) solid var(--add-btn-color);
  }

  .form-response.error {
    display: block;
    background: var(--danger-bg-subtle);
    color: var(--danger-color);
    border: var(--borderWidth-thin) solid var(--danger-color);
  }

  .faq-section {
    margin-top: var(--base-size-18);
    padding-top: var(--base-size-48);
    border-top: var(--borderWidth-thin) solid var(--border);
  }

  .faq-section h2 {
    font-size: var(--base-size-32);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    text-align: center;
    margin-bottom: var(--base-size-32);
  }

  .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18.75rem, 1fr));
    gap: var(--base-size-24);
  }

  .faq-item {
    padding: var(--base-size-24);
    background: var(--surface-alt);
    border-radius: var(--borderRadius-medium);
    border: var(--borderWidth-thin) solid var(--border);
  }

  .faq-item h3 {
    font-size: var(--base-size-18);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-12);
  }

  .faq-item p {
    font-size: var(--base-size-14);
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
  }

  .terms-page .page-content {
    max-width: 56.25rem;
  }

  .terms-content {
    font-size: var(--base-size-16);
    line-height: 1.75;
    color: var(--text-light);
  }

  .terms-intro {
    padding: var(--base-size-24);
    background: var(--surface-alt);
    border-radius: var(--borderRadius-medium);
    border: var(--borderWidth-thin) solid var(--border);
    margin-bottom: var(--base-size-48);
  }

  .terms-intro p {
    font-size: var(--base-size-18);
    margin: 0;
    color: var(--text);
  }

  .terms-section {
    margin-bottom: var(--base-size-40);
  }

  .terms-section h2 {
    font-size: var(--base-size-24);
    font-weight: var(--base-text-weight-semibold);
    color: var(--text);
    margin-bottom: var(--base-size-16);
    padding-bottom: var(--base-size-12);
    border-bottom: var(--borderWidth-thin) solid var(--border);
  }

  .terms-section p {
    margin-bottom: var(--base-size-16);
    line-height: 1.75;
  }

  .terms-list {
    margin: var(--base-size-20) 0;
    padding-inline-start: var(--base-size-24);
  }

  .terms-list p {
    position: relative;
    padding-inline-start: var(--base-size-24);
    margin-bottom: var(--base-size-12);
  }

  .terms-list p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: var(--base-text-weight-semibold);
  }

  .contact-info {
    padding: var(--base-size-20);
    background: var(--surface-alt);
    border: var(--borderWidth-thin) solid var(--border);
    border-radius: var(--borderRadius-medium);
    margin-top: var(--base-size-16);
  }

  .contact-info p {
    margin-bottom: var(--base-size-8);
  }

  .contact-info p:last-child {
    margin-bottom: 0;
  }

  .contact-info a {
    color: var(--accent);
    text-decoration: none;
  }

  .contact-info a:hover {
    text-decoration: underline;
  }

  .mailing-address{
    color: var(--accent) !important;
    padding-inline-start: 5rem;
  }

  .terms-footer {
    padding: var(--base-size-24);
    background: var(--surface-alt);
    border-radius: var(--borderRadius-medium);
    border: var(--borderWidth-thin) solid var(--border);
  }

  .terms-footer p {
    margin: 0;
    font-size: var(--base-size-16);
    color: var(--text);
    font-weight: var(--base-text-weight-medium);
  }

  .footer-links {
    display: flex;
    gap: var(--base-size-20);
    flex-wrap: wrap;
    margin-top: var(--base-size-12);
  }

  .footer-links a {
    font-size: var(--base-size-14);
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .footer-links a:hover {
    color: var(--accent);
    text-decoration: underline;
  }


  html[dir="rtl"] .terms-list p::before {
    content: "•";
    position: absolute;
    right: 0;
    color: var(--accent);
    font-weight: var(--base-text-weight-semibold);
  }

  @media (max-width: 64rem) {
    .page-content {
      padding: var(--base-size-32) var(--base-size-24);
    }

    .contact-layout {
      grid-template-columns: 1fr;
    }

    .page-header h1 {
      font-size: var(--base-size-36);
    }

    .feature-grid,
    .values-grid,
    .faq-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 48rem) {
    .page-container {
      padding: 1rem;
    }

    .page-content {
      padding: 1rem;
    }

    .page-header h1 {
      font-size: var(--base-size-28);
    }

    .page-subtitle {
      font-size: var(--base-size-16);
    }

    .section-content h2 {
      font-size: var(--base-size-24);
    }

    .cta-section {
      padding: var(--base-size-32) var(--base-size-20);
    }

    .cta-section h2 {
      font-size: var(--base-size-28);
    }

    .cta-buttons {
      flex-direction: column;
    }

    .footer-links {
      flex-direction: column;
      gap: var(--base-size-12);
    }
  }