/* Full page background */
.terms-page {
  min-height: 100vh;
  padding: 40px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.terms-container {
  width: 100%;
  max-width: 980px;
}

.terms-card {
  background-color: #ffffff;
  border-radius: 18px;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}

.terms-header {
  margin-bottom: 24px;
}

.terms-title {
  font-size: 2rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.terms-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 4px;
}

.terms-meta {
  font-size: 0.82rem;
  color: #9ca3af;
}

/* Sections */
.terms-section {
  margin-bottom: 22px;
  position: relative;
}

/* যদি title দেখাতে চাও */
.terms-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 8px;
}

/* Body content (HTML from admin) */
.terms-section-body {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #4b5563;
}

.terms-section-body p {
  margin: 0 0 6px;
}

.terms-section-body ul {
  margin: 0;
  padding-left: 20px;
}

.terms-section-body li {
  font-size: 0.96rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 4px;
}

.terms-section-body li::marker {
  color: #2563eb;
}

/* small intro text, ব্যবহার করলে */
.terms-section-intro {
  font-size: 0.92rem;
  color: #9ca3af;
  margin-bottom: 12px;
}

/* Responsive */
@media (min-width: 768px) {
  .terms-page {
    padding: 60px 24px;
  }

  .terms-card {
    padding: 40px 36px;
  }

  .terms-title {
    font-size: 2.2rem;
  }

  .terms-subtitle {
    font-size: 1rem;
  }

  .terms-section-body,
  .terms-section-body li {
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .terms-card {
    padding: 24px 18px;
  }

  .terms-title {
    font-size: 1.6rem;
  }
}
