@font-face {
    font-family: 'CooperLightBT';
    src: url('/fonts/CooperLightBT.ttf') format('truetype');
}
@font-face {
    font-family: 'NunitoBold';
    src: url('/fonts/NunitoBold.ttf') format('truetype');
}
@font-face {
    font-family: 'NunitoSemibold';
    src: url('/fonts/NunitoSemibold.ttf') format('truetype');
}
@font-face {
    font-family: 'NunitoRegular';
    src: url('/fonts/NunitoRegular.ttf') format('truetype');
}
:root {
  --pry-color: #3D2D79;
  --pry-faded-color: #4E3C92;
  --pry-light-color: #644FB4;
  --pry-lighter-color: #E0DCF0;
  --sec-color: #27AF90;
  --cream-color: #FFF6F0;
  --text-color: #325060;
}
body {
  background-color: var(--cream-color);
  font-family: 'NunitoSemibold';
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  font-size: 17px;
  min-height: 100vh;
}
b, strong, .fw-bold {
  font-family: 'NunitoBold';
}
footer {
  margin-top: auto;
  padding-top: 100px;
}
.hero-bg {
  min-height: 1064px;
  background-image: url('/img/hero-bg.png');
  background-repeat: no-repeat;
  background-position: top;
  background-size:cover;
  font-size: 20px;
  font-family: 'NunitoRegular';
}
.quote-bg {
  margin-top: -12px;
  padding-top: 40px;
  min-height: 600px;
  background-image: url('/img/quote-bg.png');
  background-repeat: no-repeat;
  background-position: top;
  background-size:cover;
}
.body-bg {
  min-height: 100vh;
  overflow-y: auto;
  background-image: url('/img/hero-bg.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size:100% auto;
}
.auth-bg {
  min-height: 100vh;
  overflow-y: auto;
  background-color: var(--pry-light-color);
  background-image: url('/img/auth-bg.png');
  background-repeat: no-repeat;
  background-position: bottom;
  background-size:cover;
}
.reg {
  font-family: sans-serif;
  font-size: 45%;
  top:-1.3em;
}
.body-bg.single {
  background-image: url('/img/single-bg.png');
}
.book-bg {
  background-image: url('/img/book-bg.png');
  background-size: cover;
  background-position: bottom;
}
.linear {
  background-image: url('/img/linear-bg.png');
  background-size: cover;
  background-position: bottom;
}
.bg-lighter-pry {
  background-color: var(--pry-lighter-color);
}
.bg-light-pry {
  background-color: var(--pry-light-color);
}
.bg-pry {
  background-color: var(--pry-color);
}
.bg-faded-pry {
  background-color: var(--pry-faded-color);
}
.clouds {
  position: absolute;
  left: 0;
  bottom: -10px;
  z-index: 1;
}
.astronaut {
  background-color: var(--pry-faded-color);
  display: grid;
  place-items: center;
  margin-top: -100px;
}
.astronaut .container {
  position: absolute;
  z-index: 3;
}
.astronaut img {
  width: 100%;
  z-index: 2;
}
.border-rounded {
  border-radius: 24px;
}
.text-color {
  color: var(--text-color);
}
.text-pry {
  color: var(--pry-color) !important;
}
.border-pry {
  border-color: var(--pry-color) !important;
}
.sm-card {
  border: 1px solid var(--pry-lighter-color);
  transition: .7s;
}
.sm-card:hover, .sm-card:focus, .sm-card:active {
  border: 1px solid var(--pry-color);
  transition: .7s;
}
.title {
  font-family: 'CooperLightBT';
  font-size:64px;
  color: var(--pry-color);
}
.title.sm {
  font-size: 48px;
}
.subtitle {
  font-family: 'CooperLightBT';
  font-size:35px;
  color: var(--pry-color);
}
.subtitle.sm {
  font-size: 32px;
}
.heading {
  font-family: 'CooperLightBT';
  font-size: 30px;
}
.subheading {
  font-family: 'CooperLightBT';
  font-size: 25px;
}
.cooper {
  font-family: 'CooperLightBT';
  color: var(--pry-color);
}
.space-up {
  top: 120px;
  margin-bottom: 120px;
  position: relative;
}
.step {
  text-align: center;
  border-radius: 24px;
  height: 100%;
}
.step img {
  height: 120px;
}
.one {
  background-color: #CDE6F3;
}
.two {
  background-color: #FFEFB8;
}
.three {
  background-color: #E0DCF0;
}
.navbar-brand {
    display: block;
}

.navbar-brand img {
    height: 50px;
    /* width: 100%; */
    object-fit: contain;
}
.accordion-button {
  padding-block: 12px;
  color: var(--text-color);
}
.accordion-button .chapter.completed {
  opacity: .5;
}

.accordion-button:focus, .accordion-button:active {
  box-shadow: none;
  border: none
}
.accordion-button:not(.collapsed)* {
  opacity: 1;
}
.accordion-button:not(.collapsed) {
  background-color: #fff;
  /* color: var(--sec-color); */
  box-shadow: none !important;
}
.accordion-item {
  border:none;
}
.accordion-body {
  padding-left: 70px;
}
.answered span{
  opacity: .6;
}
.current-chapter span {
  color: var(--sec-color);
  opacity: 1 !important;
}
.subjects {
  background-image: url('/img/clep.png');
  background-size: cover;
  background-position: right top;
}
.qst-container img{
  display: block;
  width: 100%;
  max-width: 250px;
  margin-block:10px;
}
.sm-phone {
  display: none;
}
nav.navbar {
    padding: 0;
    z-index: 100;
    position: absolute;
    width: 100%;
}

nav .container {
    /* border-bottom: 1px solid #325060; */
    border-radius: 24px;
}

.nav-item {
    margin-right: 0px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 400;
    font-size: 18px;
}
.nav-link:hover, .nav-link.active {
  color: var(--pry-color) !important;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus {
    transition: .5s;
}

.bar-container {
  display: flex;
  width: 100%;
}
.btn-pry {
  background-color: var(--pry-color);
  font-size: 17px;
  border-radius: 0 !important;
  color: #fff;
}
.btn-pry:hover, .btn-pry:focus, .btn-pry:active {
  background-color: var(--pry-faded-color) !important;
  color: #fff !important;
}
.btn-outline-pry {
  background-color: transparent;
  border-radius: 0 !important;
  border-color: 1px solid var(--pry-color);
  color: var(--pry-color);
}
.btn-outline-pry:hover, .btn-outline-pry:focus, .btn-outline-pry:active {
  background-color: var(--pry-lighter-color);
  border-color: 1px solid var(--pry-color);
  color: var(--pry-color);
}
.btn-light-pry {
  background-color: var(--pry-lighter-color);
  border-color: 1px solid var(--pry-color);
  color: var(--pry-color);
}
.btn-light-pry:hover, .btn-light-pry:focus, .btn-light-pry:active {
  background-color: var(--pry-light-color);
  border-color: 1px solid var(--pry-color);
  color: #fff;
}
.bg-sec {
  background-color: var(--sec-color);
  color: #fff;
}
.form-control {
  height: 48px;
}
.title.lg {
  font-size: 95px;
}
.auth-bg  {
  font-size: 18px;
}
.divider {
  border-top:1px solid #ddd;
  position: relative;
  margin-top: 30px;
  display: grid;
  place-items:center;
}
.divider span {
  position: relative;
  top: -12px;
  background-color: #ffffff;
  padding-inline: 20px;
}
.btn {
  border-radius: 0px;
}
a {
  text-decoration: none;
  color: var(--sec-color);
}
.progress {
  border: 1px solid var(--pry-lighter-color)
  background: none;
}
.progress-bar {
  background-color: var(--sec-color);
}
.circular-progress {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: conic-gradient(from 180deg, var(--sec-color) calc(var(--progress) * 1%), rgba(0, 0, 0, 0.1) 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-color);
    position: relative;
  }
  .circular-progress.error-progress {
    background: conic-gradient(from 180deg, red calc(100 * 1%), rgba(0, 0, 0, 0.1) 0%);
  }
  .circular-progress::before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: white;
    border-radius: 50%;
    z-index: 1;
  }

  .circular-progress span {
    position: relative;
    z-index: 1;
    font-size: 15px;
  }
  .circular-progress.white {
    background: conic-gradient(from 180deg, #fff calc(var(--progress) * 1%), rgba(255, 255, 255, 0.3) 0%);
    color: #fff;
  }
  .circular-progress.white::before {
    background-color: var(--pry-light-color);
  }
@media screen and (max-width:1399px) {
  .nav-link {
    font-size: 16px;
  }
  .title.sm {
    font-size: 38px;
  }
}
@media screen and (max-width:1199px) {
  .mb-100 {
    width: 100%;
  }
  .title {
    font-size: 48px;
  }
  .clouds {
    bottom: -20px;
  }
  .auth-bg {
  }
}
@media screen and (max-width:991px) {
  .hero-bg {
    min-height: 900px;
  }
  .title.lg {
    font-size: 80px;
  }
  .quote-bg {
    min-height: 300px;
  }
  nav .container {
    border-radius: 0;
  }
  .navbar-toggler {
      background-color: var(--pry-color);
      padding: 12px;
      margin-bottom: 0;
      border-radius: 8px;
  }

  .navbar-toggler:focus {
      box-shadow: none !important;
  }

  #navBar {
      background-color: rgba(0, 0, 0, .25);
      padding: 0;
      position: fixed;
      height: 100vh;
      width: 100%;
      top: 0;
      left: -100%;
      z-index: 200;
      transition: left 0.1s ease-out;
  }
  #navBar.show{
    left: 0;
  }
  .nav-item .dropdown-menu {
    margin-top: .125rem;
    display: block !important;
    padding-inline:12px;
  }
  .bar-container {
    width: 50%;
    height: 100vh;
    overflow-y: auto;
    padding-bottom: 100px;
    padding-inline: 20px;
    flex-direction: column;
    background-color: #fff;
  }
  .bar-container::-webkit-scrollbar {
    display: none;
  }
  .bar-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .nav-item {
      margin-right: 0;
      width: 100%;
      padding-inline: 10px;
  }

  .nav-link {
      color: #000;
      white-space: nowrap;
      font-size: 15px;
  }

  .nav-item .nav-link{
      border-bottom: 0;
  }
  .clse {
    height: 30px;
    width: 10px;
    position: absolute;
    font-size: 18px;
    border-radius: 10px;
    top: 15px;
    border: 0 !important;
    right: 10px;
    display: grid;
    place-items: center;
    color: #000 !important;
  }
  .navbar-nav {
    width: 100%;
  }
  .title {
    font-size: 45px;
  }
  .accordion-button {
    padding-inline: 0;
  }
  .accordion-body {
    padding-inline: 12px;
  }
  .auth-bg .subtitle {
    font-size: 30px;
  }
}
@media screen and (max-width:767px) {
  .bar-container {
    width: 70%;
  }
  .title {
    font-size: 40px;
  }
  .subheading {
    font-family: 'CooperLightBT';
    font-size: 18px;
  }
  .hero-bg {
    font-size: 17px;
    background-image: url('/img/hero-mobile.png');
    background-position: bottom;
    background-size: fill;
    min-height: 1100px;
  }
  .quote-bg {
    padding-top: 0;
    position: relative;
  }
  .quote-bg .container {
    position: absolute;
    top: -50px
  }
  .clouds {
    width: 100%;
  }
  .astronaut img {
    display: none;
  }
  .astronaut .container {
    position: relative;
  }
  .astronaut {
    background-image: url('/img/astronaut.png');
    background-size: cover;
    background-position: top center;
    margin-top: -50px;
    min-height: 600px
  }
  .auth-bg .title.lg {
    font-size: 50px;
  }
  .auth-bg .subtitle {
    font-size: 20px;
  }
}
@media screen and (max-width:580px) {
  .bar-container {
    width: 75%;
    padding-inline: 10px;
  }
  .title, .title.sm {
    font-size: 32px;
  }
  .subtitle, .subtitle.sm {
    font-size: 25px;
  }
}
@media screen and (max-width:401px) {
  .sm-phone {
    display: block;
  }
}


/* Book grid */
.book-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 1rem 0 0;
}
@media (min-width: 600px) {
  .book-grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem; }
}
@media (min-width: 900px) {
  .book-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}
.book-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s;
}
.book-card.linkable:hover {
  transform: translateY(-4px);
}
.book-card.linkable:hover .book-cover-mini,
.book-card.linkable:hover .book-cover-img-mini {
  transform: rotate(0deg) translateY(-2px);
  box-shadow:
    -2px 0 0 rgba(0,0,0,0.15),
    0 14px 28px rgba(0,0,0,0.18),
    0 4px 8px rgba(0,0,0,0.1);
}
.legal-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #6b6b66;
  border-bottom: 1px solid #e8e6df;
  padding-bottom: 1.25rem;
  margin-bottom: 2rem;
}
/* Real book cover image (when src is provided) */
.book-cover-img-mini {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 6px 12px 12px 6px;
  box-shadow:
    -2px 0 0 rgba(0,0,0,0.15),
    0 8px 20px rgba(0,0,0,0.15),
    0 2px 6px rgba(0,0,0,0.1);
  transform: rotate(-1.5deg);
  transition: transform 0.3s, box-shadow 0.3s;
  display: block;
  margin: 0 auto 1.25rem;
  background: var(--et-bg-soft);
}
.book-cover-mini {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #1a3838 0%, #2A7F7F 100%);
  border-radius: 6px 12px 12px 6px;
  box-shadow:
    -2px 0 0 rgba(0,0,0,0.15),
    0 8px 20px rgba(0,0,0,0.15),
    0 2px 6px rgba(0,0,0,0.1);
  transform: rotate(-1.5deg);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  padding: 1.1rem 0.9rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 auto 1.25rem;
}
.book-cover-mini.coming-soon {
  background: linear-gradient(135deg, #3a3a44 0%, #5a5a66 100%);
  opacity: 0.88;
}
.book-cover-mini.mini-med {
  background: linear-gradient(135deg, #2c1f3d 0%, #5d4980 100%);
  opacity: 0.88;
}
.book-cover-mini.casinos {
  background: linear-gradient(135deg, #5a3818 0%, #b8862f 100%);
  opacity: 0.92;
}
.book-cover-mini.medical-prob {
  background: linear-gradient(135deg, #1c2840 0%, #3a4f7a 100%);
  opacity: 0.92;
}
.book-cover-mini.neural {
  background: linear-gradient(135deg, #1a1838 0%, #4a3878 100%);
  opacity: 0.92;
}
.book-cover-spine-mini {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: rgba(0,0,0,0.18);
}
.bc-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
  font-weight: 500;
}
.bc-title {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-top: 0.4rem;
}
.bc-subtitle {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 0.2rem;
}
.bc-author {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 500;
}

/* Card text below cover */
.book-card-info {
  text-align: center;
  padding: 0 0.5rem;
}
.book-card-info .status-tag {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.5rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.6rem;
}
.status-tag.available {
  background: #E8F2F2;
  color: #1F6363;
}
.status-tag.coming {
  background: #f0eee5;
  color: #6b6b66;
}
.book-card-info h3 {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.25;
  margin-bottom: 0.25rem;
}
.book-card-info .byline {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #6b6b66;
  font-style: italic;
}

/* Ghost cards (placeholders for "more coming") */
.book-card.ghost .book-cover-mini {
  background: transparent;
  border: 2px dashed #e8e6df;
  box-shadow: none;
  transform: rotate(0deg);
  color: #6b6b66;
  align-items: center;
  justify-content: center;
}
.book-card.ghost .ghost-content {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b66;
  opacity: 0.6;
  line-height: 1.5;
}
.book-card.ghost .ghost-content .ghost-dots {
  font-size: 1.4rem;
  letter-spacing: 0.3em;
  margin-bottom: 0.5rem;
}
