/* =====================
   Terms of Service Page Specific Styles
   ===================== */

/* Terms of Service Title */
.terms-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.5rem;
  text-align: center;
  color: var(--forest);
  font-weight: 800;
}

.terms-subtitle {
  font-size: 1.2rem;
  text-align: center;
  color: var(--ink2);
  margin-bottom: 3rem;
  font-weight: 600;
}

/* Terms of Service Sections */
.terms-section {
  margin-bottom: 3rem;
  margin-top: 2rem;
}

.terms-section:first-child {
  margin-top: 3rem;
}

.terms-section h2 {
  font-size: 1.8rem;
  color: var(--forest);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--orange);
}

.terms-intro {
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--card);
  border-radius: var(--rad);
  border-left: 4px solid var(--forest);
  box-shadow: var(--sh);
}

.terms-section p {
  margin-bottom: 1rem;
  color: var(--ink);
  line-height: 1.7;
}

.terms-section p:last-child {
  margin-bottom: 0;
}

/* Ordered Lists */
.terms-section ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
  color: var(--ink);
}

.terms-section ol li {
  margin-bottom: 0.8rem;
  line-height: 1.7;
}

/* Nested Unordered Lists */
.terms-section ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  color: var(--ink2);
}

.terms-section ul li {
  margin-bottom: 0.3rem;
  line-height: 1.6;
}


/* Responsive Design */
@media (max-width: 768px) {
  .terms-content {
    padding: 0 1rem;
  }
  
  .terms-section {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .terms-intro {
    padding: 1rem;
    margin-bottom: 2rem;
  }
  
}

@media (max-width: 480px) {
  .terms-section {
    padding: 0.8rem;
  }
  
  .terms-intro {
    padding: 0.8rem;
  }
  
  .terms-section ol {
    padding-left: 1rem;
  }
  
  .terms-section ul {
    padding-left: 1rem;
  }
}

/* =====================
   Footer Responsive Styles
   ===================== */
@media (max-width: 768px) {
  footer .container {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center;
  }
  
  footer h4 {
    font-size: 1rem !important;
  }
  
  footer h5 {
    font-size: 0.9rem !important;
  }
  
  footer ul {
    padding-left: 0 !important;
  }
}

@media (max-width: 480px) {
  footer .container {
    padding: 1.2rem 1rem !important;
    gap: 1.5rem !important;
  }
  
  footer h4 {
    font-size: 0.95rem !important;
  }
  
  footer p {
    font-size: 0.9rem !important;
  }
  
  footer ul {
    font-size: 0.9rem !important;
  }
}
