/* ===============================
   TERMS & CONDITIONS (Scoped)
   =============================== */
.terms-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* keeps footer at bottom */
}

.terms-section {
  --green-700: #137d29;
  --green-600: #19943a;
  --ink-900: #1b1b1b;
  --ink-700: #42484d;
  --ink-500: #5d656a;

  flex: 1; /* push footer down */
  background: linear-gradient(180deg,#f9fdf9,#ffffff);
  padding: clamp(40px,5vw,70px) clamp(16px,5vw,80px);
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink-900);
  line-height: 1.65;
}

.terms-section .terms-container {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: clamp(24px,3vw,40px);
  border-radius: 14px;
  border: 1px solid rgba(25,148,58,0.15);
  box-shadow: 0 8px 24px rgba(19,125,41,0.08);
}

/* Title + subtitle */
.terms-section h1 {
  text-align: center;
  font-size: clamp(28px,3vw,36px);
  color: var(--green-700);
  margin-bottom: 10px;
}
.terms-section .subtitle {
  text-align: center;
  color: var(--ink-500);
  font-size: 15px;
  margin-bottom: 28px;
}

/* Headings */
.terms-section h2 {
  font-size: 20px;
  color: var(--green-600);
  margin-top: 28px;
  margin-bottom: 10px;
}
.terms-section h3 {
  font-size: 17px;
  color: var(--ink-700);
  margin-top: 18px;
  margin-bottom: 6px;
}

/* Body text & lists */
.terms-section p {
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--ink-700);
}
.terms-section ul {
  margin: 10px 0 16px 20px;
  padding: 0;
  list-style: disc;
}
.terms-section li {
  margin-bottom: 8px;
  font-size: 15px;
  color: var(--ink-700);
}

/* Info/Note block */
.terms-section .note {
  background: #f2fbf5;
  border-left: 4px solid var(--green-600);
  padding: 14px 16px;
  margin-top: 26px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(25,148,58,0.08);
}
.terms-section .note p { 
  margin: 4px 0;
  font-size: 14px;
  color: var(--ink-700);
}

/* Small screens */
@media (max-width: 600px) {
  .terms-section h1 { font-size: 24px; }
  .terms-section h2 { font-size: 18px; }
}
