
.py-5 {
padding-top: 0px;
}

section.terms {
  max-width: 900px;
  margin: -70px auto;
  background: #fff;
  padding: 0px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

section.terms h2 {
  font-size: 1.8em;
  color: #2e3b5b;
  border-bottom: 3px solid #6b9dfc;
  padding-bottom: 10px;
  margin-top: 10px;
}

section.terms h3 {
  color: #2a4d8f;
  font-size: 1.3em;
  margin-top: 5px;
  margin-bottom: 5px;
}

section.terms ul {
  margin: 10px 0 15px 25px;
}

section.terms ul li {
  margin-bottom: 8px;
}

section.terms p {
  margin-bottom: 12px;
}

section.terms strong {
  color: #1d3557;
}

section.terms hr {
  margin: 40px 0;
  border: none;
  border-top: 2px dashed #ccc;
}

section.terms table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  margin-bottom: 25px;
  font-size: 0.95em;
}

section.terms table th, table td {
  border: 1px solid #dcdcdc;
  padding: 10px;
  text-align: left;
}

section.terms table th {
  background-color: #f3f6fc;
  color: #1e3050;
  font-weight: 600;
}

section.terms table tr:nth-child(even) {
  background-color: #f9fbff;
}

@media (max-width: 600px) {
  section.terms {
    padding: 25px 20px;
  }
  section.terms h2 {
    font-size: 1.5em;
  }
  section.terms h3 {
    font-size: 1.1em;
  }
  section.terms table, thead, tbody, th, td, tr {
    display: block;
  }
  section.terms table tr {
    margin-bottom: 15px;
  }
  section.terms table td {
    padding-left: 40%;
    position: relative;
  }
  section.terms table td::before {
    position: absolute;
    top: 8px;
    left: 10px;
    width: 35%;
    font-weight: bold;
    white-space: nowrap;
  }
  section.terms table th {
    display: none;
  }
}