/* ============================================================
   Terms & Conditions — terms.css
   Site: T&A Solutions (tasolution.livedeals.co.in)
   Responsive: 320px – 1920px
   ============================================================ */

/* ---------- Section wrapper ---------- */
.tc-section {
  padding: 64px 0 80px;
  background: #f7faff;
  min-height: 60vh;
}

/* ---------- TOC sidebar ---------- */
.tc-toc {
  position: sticky;
  top: 100px;
  background: #fff;
  border: 1px solid #e8f0f8;
  border-radius: 14px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(13, 60, 120, .06);
}

.tc-toc-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8fa3bb;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8f0f8;
}

.tc-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tc-toc-link {
  display: block;
  font-size: 13px;
  color: #4a6380;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 7px;
  line-height: 1.35;
  transition: background .18s, color .18s, padding-left .18s;
}

.tc-toc-link:hover {
  background: #eef4fd;
  color: #1a3a5c;
}

.tc-toc-link.active {
  background: #eef4fd;
  color: #1f7ae0;
  font-weight: 600;
  padding-left: 14px;
  border-left: 3px solid #1f7ae0;
}

/* ---------- Body ---------- */
.tc-body {
  background: #fff;
  border: 1px solid #e8f0f8;
  border-radius: 16px;
  padding: 48px 52px;
  box-shadow: 0 4px 24px rgba(13, 60, 120, .06);
}

/* ---------- Meta / last updated ---------- */
.tc-meta {
  margin-bottom: 32px;
}

.tc-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eef4fd;
  color: #1f7ae0;
  font-size: 13px;
  font-weight: 500;
  border-radius: 30px;
  padding: 6px 16px;
  border: 1px solid #c8dcf8;
}

.tc-updated-badge i {
  font-size: 14px;
}

/* ---------- Main title (intro) ---------- */
.tc-main-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 16px;
  line-height: 1.2;
}

.tc-lead {
  font-size: 16px;
  color: #334e68;
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 14px;
}

/* ---------- Sections ---------- */
.tc-block {
  padding-top: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #eef2f7;
  scroll-margin-top: 110px;
}

.tc-block--last {
  border-bottom: none;
  padding-bottom: 0;
}

.tc-h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a3a5c;
  margin-bottom: 16px;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.tc-num {
  color: #1f7ae0;
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
}

.tc-body p {
  font-size: 15px;
  color: #4a6380;
  line-height: 1.75;
  margin-bottom: 14px;
}

.tc-body p:last-child {
  margin-bottom: 0;
}

/* ---------- Lists ---------- */
.tc-list {
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tc-list li {
  font-size: 15px;
  color: #4a6380;
  line-height: 1.65;
  padding-left: 26px;
  position: relative;
}

.tc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1f7ae0;
  flex-shrink: 0;
}

/* ---------- Contact card (section 15) ---------- */
.tc-contact-card {
  margin-top: 24px;
  background: linear-gradient(135deg, #eef4fd 0%, #f0f7ff 100%);
  border: 1px solid #c8dcf8;
  border-radius: 12px;
  padding: 28px 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.tc-contact-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a3a5c;
}

.tc-contact-role {
  font-size: 13px;
  color: #6b88a8;
  margin-top: 2px;
}

.tc-contact-btn {
  margin-left: auto;
  display: inline-block;
  background: #1f7ae0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .18s, transform .15s;
}

.tc-contact-btn:hover {
  background: #155db5;
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* xl — slight padding trim */
@media (max-width: 1199.98px) {
  .tc-body {
    padding: 40px 40px;
  }
  .tc-main-title {
    font-size: 28px;
  }
}

/* lg — sidebar hides (d-none d-lg-block), body full width */
@media (max-width: 991.98px) {
  .tc-section {
    padding: 48px 0 64px;
  }
  .tc-body {
    padding: 36px 32px;
  }
  .tc-main-title {
    font-size: 26px;
  }
  .tc-h2 {
    font-size: 18px;
  }
}

/* md */
@media (max-width: 767.98px) {
  .tc-section {
    padding: 36px 0 52px;
  }
  .tc-body {
    padding: 28px 22px;
    border-radius: 12px;
  }
  .tc-main-title {
    font-size: 24px;
  }
  .tc-h2 {
    font-size: 17px;
  }
  .tc-body p,
  .tc-list li {
    font-size: 14.5px;
  }
  .tc-block {
    padding-top: 32px;
    padding-bottom: 28px;
  }
  .tc-contact-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 20px;
  }
  .tc-contact-btn {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }
}

/* sm */
@media (max-width: 575.98px) {
  .tc-section {
    padding: 28px 0 44px;
  }
  .tc-body {
    padding: 22px 16px;
    border-radius: 10px;
  }
  .tc-main-title {
    font-size: 22px;
  }
  .tc-h2 {
    font-size: 16px;
  }
  .tc-num {
    font-size: 15px;
  }
  .tc-body p,
  .tc-list li {
    font-size: 14px;
  }
  .tc-lead {
    font-size: 14.5px;
  }
  .tc-updated-badge {
    font-size: 12px;
    padding: 5px 13px;
  }
  .tc-block {
    padding-top: 26px;
    padding-bottom: 22px;
    scroll-margin-top: 90px;
  }
}

/* xs */
@media (max-width: 375px) {
  .tc-body {
    padding: 18px 13px;
  }
  .tc-main-title {
    font-size: 20px;
  }
  .tc-h2 {
    font-size: 15px;
  }
}

@media (max-width: 320px) {
  .tc-body {
    padding: 14px 10px;
  }
  .tc-main-title {
    font-size: 18px;
  }
  .tc-h2 {
    font-size: 14px;
    gap: 6px;
  }
  .tc-list li {
    font-size: 13.5px;
  }
  .tc-body p {
    font-size: 13.5px;
  }
}
