/* body */
body {
  background-color: rgb(15, 29, 59);
  color: rgb(252, 252, 237);
}

/* header , h1*/
.page-title {
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 0.25%;
  padding: 0.25%;
}

.page-title h1 {
  font-size: 200%;
  margin: 1vh 2vw 1vh 1vw;
  padding: 2%;
  border: 2px solid white;
  border-radius: 10px;
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.5);
  color: rgb(220, 149, 149);
  background-color: rgb(15, 14, 14);
}

/* intro-section */
main .intro-section {
  margin: 0.5%;
  padding: 0.5%;
  border-radius: 10px;
  color: rgb(201, 235, 219);
  background-color: rgba(15, 14, 14, 0.514);
}

main .intro-section h2 {
  font-size: 130%;
  margin: 0.4%;
  padding: 0.8%;
  border-radius: 10px;
  color: rgb(211, 241, 184);
  background-color: rgba(82, 64, 84, 0.514);
}
main .intro-section .intro-list {
  margin: 0.4% 0.5% 0.4% 1%;
  padding: 0.4%;
  border-radius: 10px;
  color: rgb(201, 235, 219);
}

main .intro-section .intro-list ul {
  list-style-type: none;
  margin: 0.4% 0.5% 0.4% 1%;
  padding: 0.4%;
}
main .intro-section .intro-list li {
  margin: 0.4% 0.5% 0.4% 0.4%;
  padding: 0.6%;
}
main .intro-section .intro-list li a {
  text-decoration: none;
  color: rgb(242, 195, 130);
}

main .intro-section .list-1 {
  margin: 0.4% 0.5% 0.4% 2%;
  padding: 0.4%;
}
main .intro-section .list-1 h3 {
  margin: 0.4% 0.5% 0.4% 2.8%;
  padding: 0.4%;
  color: rgb(181, 219, 241);
}
main .intro-section .list-1 ul {
  list-style-type: none;
  margin: 0.4% 0.5% 0.4% 1%;
  padding: 0.4%;
}
main .intro-section .list-1 li {
  margin: 0.4% 0.5% 0.4% 5%;
  padding: 0.4%;
}

/* important-sections */
main .important-sections {
  font-size: 100%;
  margin: 1% auto;
}
main .important-sections h3 {
  font-size: 130%;
  margin: 0.2% auto;
  padding: 1%;
  color: rgb(201, 235, 219);
}
main .important-sections ul {
  list-style-type: none;
  margin: 0.2% auto;
  padding: 0.6%;
  border-radius: 10px;
  color: rgb(201, 235, 219);
  background-color: rgba(15, 14, 14, 0.514);
}
main .important-sections li {
  line-height: 2;
  margin: 4px;
}

main .important-sections a {
  text-decoration: none;
  border: #092660b5 2px solid;
  border-radius: 10px;
  color: rgb(250, 212, 186);
  background-color: rgba(58, 89, 102, 0.514);
  padding: 5px;
}
main .important-sections a:hover {
  color: rgb(201, 235, 219);
  background-color: rgba(15, 14, 14, 0.514);
}

main .importance-of-studying p {
  margin: 1% auto;
  padding: 1%;
  border-radius: 10px;
  color: rgb(201, 235, 219);
}

/* importance-of-studying */
main .importance-of-studying {
  margin: 1% 1%;
  padding: 0.5%;
  font-size: 100%;
}

main .importance-of-studying h2 {
  font-size: 130%;
  margin: 0.2% auto;
  padding: 1%;
  border-radius: 10px;
  color: rgb(243, 241, 183);
  background-color: rgba(75, 82, 70, 0.514);
}
main .importance-of-studying p {
  margin: 0.5% 0.5%;
  padding: 0.5%;
  border-radius: 10px;
}
main .importance-of-studying ul {
  list-style-type: none;
  margin: 0.5% 0.5%;
  padding: 0.5%;
}
main .importance-of-studying li {
  margin: 0.5% 0.5%;
  padding: 0.5%;
}

main .individual-chapters div {
  margin: 1% 1%;
  padding: 1%;
  border-radius: 10px;
}

main .individual-chapters div a {
  display: inline-block;
  text-decoration: none;
  padding: 10px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  background-color: rgb(109, 82, 82);
  border: #092660b5 2px solid;
  border-radius: 10px;
  color: rgb(148, 236, 230);
}

main .individual-chapters div a:hover {
  color: rgb(248, 198, 100);
  background-color: rgba(15, 14, 14, 0.514);
}

/* table-section h2 */
.table-section h2 {
  font-size: 130%;
  text-align: center;
  margin: 1% auto;
  padding: 1%;
  border-radius: 10px;
  color: rgb(201, 235, 219);
  background-color: rgba(15, 14, 14, 0.514);
}

/* table */
main table {
  border-collapse: collapse;
  margin: 2%;
  width: 95%;
  min-width: 100px;
  overflow-x: auto;
}

/* caption */
table caption {
  caption-side: top;
  padding: 8px;
  font-weight: bold;
}

thead th {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #b0b50c;
  color: #5c0133;
  border: 2px solid white;
  padding: 1%;
}

tbody td,
tfoot td {
  border: 1px solid white;
  padding: 1%;
  margin: 1%;
}

tbody tr:nth-child(odd) {
  background-color: #1c1e1e;
  color: #c3e4f2;
}

tbody tr:nth-child(even) {
  background-color: #242e2d;
  color: #99f510f7;
}

tbody tr:nth-child(even) td:first-child,
tbody tr:nth-child(odd) td:first-child {
  background: #764f9075;
}

tbody tr th {
  border: 1px solid white;
}

/* hover */
tbody tr {
  transition: background-color 0.2s ease;
}

tbody tr:hover {
  background-color: #092660b5;
  color: #ef8a16;
}

tfoot tr td {
  background-color: #6548635b;
  color: #16efd9;
  text-align: center;
  border-radius: 10px;
}

tfoot tr td div {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  white-space: nowrap;
  gap: 12px;
}

tfoot tr td span {
  color: rgb(255, 255, 255);
  margin: 0% 3%;
}

/* ======================== */

/* -------- pdf-intro --------- */
.pdf-intro {
  background: #544b4b;
  padding: 1%;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  margin: 1% 1% 1% 1%;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.7;
  border: 1px solid #eee;
  color: #fff;
}

/* Heading */
.pdf-intro h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #0a0a0a;
  font-weight: 700;
}

/* Sub Headings */
.pdf-intro h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #0d9dfd;
  font-weight: 600;
}

/* Paragraph */
.pdf-intro p {
  font-size: 15px;
  color: #f7f8f9;
  margin-bottom: 10px;
}

/* List Styling */
.pdf-intro ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.pdf-intro ul li {
  margin-bottom: 8px;
  color: #f8f4f4;
  position: relative;
}

/* Custom Bullet */
.pdf-intro ul li::marker {
  color: #0d6efd;
}

/* Highlight Box (last note) */
.pdf-intro p:last-child {
  background: #383d44;
  padding: 12px;
  border-left: 4px solid #0d6efd;
  border-radius: 6px;
  font-weight: 500;
}

/* Hover Effect (subtle) */
.pdf-intro:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .pdf-intro {
    padding: 18px;
  }

  .pdf-intro h2 {
    font-size: 20px;
  }

  .pdf-intro h3 {
    font-size: 16px;
  }

  .pdf-intro p,
  .pdf-intro ul li {
    font-size: 14px;
  }
}

/* Left Accent Border */
.pdf-intro {
  border-left: 5px solid #0d6efd;
}

/* Smooth animation */
.pdf-intro {
  transition: all 0.3s ease;
}

/* =========== pdf container ============ */

.pdf-container {
  background: #3e5145;
  padding: 1%;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin: 1% 1% 1% 1%;
  font-family: "Segoe UI", sans-serif;
}

/* Heading */
.pdf-container h2 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ed9f55;
  font-weight: 700;
}
.pdf-container li {
  line-height: 2;
  margin: 1%;
  padding: 1%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.pdf-container ul li a {
  margin: 1%;
  padding: 1%;
  border: #092660b5 2px solid;
  background-color: #0d6efd;
  border-radius: 10px;
  color: #f8f4f4;
  text-decoration: none;
}

/* Hover Effect */
.pdf-container li a:hover {
  background-color: #192a42;
  transition: 0.3s ease;
}
/* ======================= */

/* pdf down side */
/* -------- PDF Guide -------- */
.pdf-guide {
  background: #544b4b;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  margin: 1% 1% 1% 1%;
  font-family: "Segoe UI", sans-serif;
  line-height: 1.7;
}

/* Heading */
.pdf-guide h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #111827;
  font-weight: 700;
}

/* Sub Headings */
.pdf-guide h3 {
  font-size: 17px;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #2563eb;
  font-weight: 600;
}

/* Paragraph */
.pdf-guide p {
  font-size: 15px;
  color: #c9f3a5;
  margin-bottom: 10px;
}

/* Ordered List (Numbered) */
.pdf-guide ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

.pdf-guide ol li {
  margin-bottom: 8px;
  color: #dee7f5;
  font-weight: 500;
}

/* Unordered List */
.pdf-guide ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.pdf-guide ul li {
  margin-bottom: 8px;
  color: #fcfaf9;
}

/* Highlight Important Section (auto detect middle loose li) */
.pdf-guide > li {
  background: #fff3cd;
  padding: 10px;
  border-left: 4px solid #ffc107;
  border-radius: 6px;
  margin-bottom: 10px;
  list-style: none;
}

/* Study Tips Box */
.pdf-guide ul:nth-of-type(3) {
  background: #363b39;
  padding: 12px;
  border-left: 4px solid #10b981;
  border-radius: 6px;
}

/* Feature List Box */
.pdf-guide ul:last-of-type {
  background: #434754;
  padding: 12px;
  border-left: 4px solid #6366f1;
  border-radius: 6px;
}

/* Disclaimer Styling */
.pdf-guide p:last-child {
  background: #393333;
  padding: 12px;
  border-left: 4px solid #ef4444;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #e9f8c7;
}

/* Hover Effect */
.pdf-guide:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
  transition: 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .pdf-guide {
    padding: 18px;
  }

  .pdf-guide h2 {
    font-size: 19px;
  }

  .pdf-guide h3 {
    font-size: 15px;
  }

  .pdf-guide p,
  .pdf-guide li {
    font-size: 14px;
  }
}

/* ========================= */

/* faq-section */
.faq-section {
  font-size: 90%;
  margin: 1% 2%;
  padding: 1%;
  border-radius: 10px;
  color: rgb(172, 243, 210);
  background-color: rgba(15, 14, 14, 0.514);
}

.faq-section h2 {
  margin: 0% 1% 0.5% 0%;
  padding: 0.4%;
  border-radius: 10px;
  color: rgb(201, 235, 219);
  background-color: rgba(87, 82, 82, 0.514);
}

.faq-section h3 {
  margin: 0% 1% 0.5% 1%;
  padding: 0.4%;
  color: rgb(201, 235, 219);
}

.faq-section p {
  margin: 0% 1% 0.5% 2%;
  padding: 0.4%;
}

/* explore-related-bare-acts */
.explore-related-bare-acts {
  font-size: 100%;
  margin: 1% 2%;
}

.explore-related-bare-acts h2 {
  font-size: 130%;
  margin: 1% auto;
  padding: 2%;
  border-radius: 10px;
  color: rgb(201, 235, 219);
  background-color: rgba(15, 14, 14, 0.514);
}
.explore-related-bare-acts ul {
  margin: 1% 2%;
  padding: 1%;
  border-radius: 10px;
  background-color: rgba(15, 14, 14, 0.514);
}
.explore-related-bare-acts li {
  margin: 1% 2%;
  padding: 1%;
  border-radius: 10px;
  background-color: rgba(142, 105, 147, 0.514);
}
.explore-related-bare-acts a {
  text-decoration: none;
  margin: 1% 2%;
  padding: 1%;
  color: rgb(11, 224, 248);
}
/*----------media query-----------*/

@media screen and (max-width: 600px) {
  header h1 {
    font-size: 120%;
  }

  .sno {
    font-size: 12px;
    padding: 5px;
  }

  .chapters {
    font-size: 110%;
  }

  .sections {
    font-size: 70%;
    padding: 9px;
  }

  .total-sections {
    font-size: 55%;
  }

  td {
    padding: 6px;
    font-size: 13px;
  }
}
