/*=========================================
  TERMS PAGE
=========================================*/

.terms-page {
  padding: 80px 0;
  background: #fff;
}

.terms-page .container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/*=========================================
  PAGE TITLE
=========================================*/

.terms-page h1 {
  font-size: 46px;
  color: #0f294c;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.2;
}

.last-updated {
  font-size: 15px;
  color: #777;
  margin-bottom: 45px;
}

/*=========================================
  TABLE OF CONTENTS
=========================================*/

.table-contents {
  margin-bottom: 60px;
}

.table-contents h2 {
  font-size: 30px;
  color: #0f294c;
  margin-bottom: 20px;
  font-weight: 700;
}

.table-contents ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
  list-style: none;
  padding: 0;
}

.table-contents li {
  margin: 0;
}

.table-contents a {
  color: #0f294c;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.table-contents a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/*=========================================
  SECTIONS
=========================================*/

.terms-section {
  margin-bottom: 55px;
}

.terms-section h2 {
  font-size: 30px;
  color: #0f294c;
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}

.terms-section h3 {
  font-size: 22px;
  color: #163f69;
  margin: 28px 0 15px;
  font-weight: 600;
}

.terms-section p {
  font-size: 17px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 16px;
}

/*=========================================
  LISTS
=========================================*/

.terms-list {
  margin: 20px 0;
  padding-left: 28px;
}

.terms-list li {
  display: list-item;
  list-style: disc;
  font-size: 17px;
  color: #555;
  line-height: 1.9;
  margin-bottom: 10px;
}

/*=========================================
  CONTACT BOX
=========================================*/

.terms-contact {
  background: #f7f9fc;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 25px;
  margin-top: 20px;
}

.terms-contact p {
  margin-bottom: 8px;
}

.terms-contact strong {
  color: #0f294c;
}

/*=========================================
  NOTICE BOX
=========================================*/

.terms-note {
  background: #fff8dd;
  border-left: 5px solid #f4b400;
  border-radius: 8px;
  padding: 20px;
  margin: 25px 0;
}

.terms-note p {
  margin: 0;
}

/*=========================================
  LINKS
=========================================*/

.terms-page a {
  color: #0f294c;
  transition: 0.3s;
}

.terms-page a:hover {
  color: #1d4ed8;
}

/*=========================================
  TABLES
=========================================*/

.terms-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.terms-page table th,
.terms-page table td {
  border: 1px solid #ddd;
  padding: 14px;
}

.terms-page table th {
  background: #0f294c;
  color: #fff;
  text-align: left;
}

.terms-page table tr:nth-child(even) {
  background: #f7f8fb;
}

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

@media (max-width: 1200px) {
  .terms-page .container {
    max-width: 95%;
  }
}

@media (max-width: 992px) {
  .terms-page {
    padding: 70px 0;
  }

  .terms-page h1 {
    font-size: 40px;
  }

  .terms-section h2,
  .table-contents h2 {
    font-size: 28px;
  }

  .table-contents ul {
    gap: 12px 20px;
  }
}

@media (max-width: 768px) {
  .terms-page {
    padding: 60px 0;
  }

  .terms-page .container {
    padding: 0 18px;
  }

  .terms-page h1 {
    font-size: 34px;
  }

  .last-updated {
    margin-bottom: 35px;
  }

  .table-contents ul {
    grid-template-columns: 1fr;
  }

  .table-contents a {
    font-size: 15px;
  }

  .terms-section {
    margin-bottom: 40px;
  }

  .terms-section h2 {
    font-size: 25px;
  }

  .terms-section h3 {
    font-size: 20px;
  }

  .terms-section p,
  .terms-list li {
    font-size: 15px;
  }

  .terms-contact {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .terms-page {
    padding: 50px 0;
  }

  .terms-page h1 {
    font-size: 30px;
  }

  .terms-section h2 {
    font-size: 22px;
  }

  .terms-section h3 {
    font-size: 18px;
  }

  .terms-section p,
  .terms-list li {
    font-size: 14px;
    line-height: 1.8;
  }

  .terms-contact {
    padding: 18px;
  }
}
/*=========================================
  TABLE OF CONTENTS
=========================================*/

.toc-section {
  margin: 60px 0;
}

.toc-section h2 {
  font-size: 34px;
  font-weight: 700;
  color: #0f294c;
  margin-bottom: 35px;
}

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 80px;
  row-gap: 18px;
}

.toc-grid a {
  color: #2d5bff;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition: 0.3s;
}

.toc-grid a:hover {
  color: #153ea8;
  text-decoration: underline;
  padding-left: 6px;
}

/* Tablet */

@media (max-width: 992px) {
  .toc-grid {
    column-gap: 40px;
  }

  .toc-grid a {
    font-size: 18px;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .toc-grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .toc-section h2 {
    font-size: 28px;
  }

  .toc-grid a {
    font-size: 17px;
  }
}
