

body {
  background: #FAFAFA;
}

.tagline {
  color: #0d1b2a;
}

.navbar-custom {
  background-color: #0d1b2a;
}

.navbar-brand {
  color: #f8f9fa !important;
  font-size: 1.1rem;
  line-height: 1.2;
}

.navbar-brand span.name {
  font-weight: bold;
  font-size: 1.25rem;
  display: block;
}

.navbar-brand span.subtext {
  font-size: 0.8rem;
  color: #adb5bd;
}

.nav-link {
  color: #f8f9fa !important;
}

.nav-link:hover {
  color: #0dcaf0 !important;
}

@media (max-width: 767.98px) {
  .navbar-brand {
    text-align: left;
  }
}

.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  /* transform: translateY(-3px); */
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.card-title {
  font-weight: 600;
  font-size: 1.2rem;
  color: #333;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
}

img {
  object-fit: cover;
  border-radius: 0.75rem;
}

.table_of_contents {
  padding: 10px;
}

.book_chapter {
  font-size: 0.95rem;
  width: 90%;
  text-align: left;
  border: 1px solid rgb(203, 203, 204);
  border-radius: 0.3rem;
  margin-top: 10px;
  padding: 10px;
  margin-left: 10px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.book_chapter:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.description_box {
  padding: 10px;
  border-radius: 1rem;
  color: #0d1b2a;
}

.main-box {  
  height:30vh;
  background: linear-gradient(to right, #0a192f, #112240);
  color:#fff;
}

.btn-custom {
  background: #22c1c3; /* softer teal */
  color: #fff;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s;
}
.btn-custom:hover {
  background: #1aa6a8;
}

h3, h4 {
  font-family: 'Segoe UI', sans-serif;
  font-weight: 500;
  font-size: 1.35rem;    /* smaller, less dominating */
  line-height: 1.3;
  color: #1a1a1a;        /* soft dark grey */
}


.book-card {
  max-width: 750px; /* constrains width */
  background: #fff;
  border: 1px solid #e3e6ea;
}

.book-icon i {
  color: #0a66c2; /* nice LinkedIn-like blue */
}


a {
  text-decoration: none;
}

.coupon-banner {
  background-color: #555;
  color: white;
  border-radius: 10px;
  /* padding: 10px; */
}

.coupon-banner a {
  color: white;
}

.free-coupon-title {
  background: green;
  padding: 10px;
}

.banner-second-half {
  display: inline;
  padding: 0px 10px;
}

.discounted-coupon-title {
  background: #2B699F;
  padding: 10px;
}

.about-col1 img {
    max-width: 100%;
    margin-top: 20%;
    margin-right: 50%;
    height: auto; /* Maintains aspect ratio */
    display: block; /* Removes any extra space below the image */
}

.table_of_contents {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .chapter-card {
    width: 100%;
    max-width: 60rem;
    background: linear-gradient(135deg, #f8f9fa, #cbcdcf);
    border: none;
    border-radius: 0.1rem;
    box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .chapter-card:hover {
    /* transform: translateY(-4px); */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  }

  .chapter-header {
    /* background: linear-gradient(135deg, #007bff, #00bcd4); */
    background: #444749;;
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem;
  }

  .chapter-body {
    padding: 1.2rem 1.5rem;
    font-size: 1rem;
    color: #333;
    line-height: 1.6;
  }

.tree {
  list-style: none;
  font-family: 'Fira Code', monospace;
  padding-left: 1rem;
}
.tree summary {
  cursor: pointer;
  font-weight: 600;
}
.tree ul {
  margin-left: 1rem;
  border-left: 2px solid #ccc;
  padding-left: 0.8rem;
}
.tree li {
  margin: 4px 0;
  list-style: none;
}

pre {
  background-color: #f4f4f4; 
  padding: 15px 15px;           
  border-radius: 5px;     
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.95em;
}

pre code {
  line-height: 1.5; 
  color: #333;
  font-family: 'JetBrains Mono', monospace;

}

.post-body {
  font-family: 'Inter', sans-serif;
  /* font-family: 'Roboto', sans-serif; */
  font-size: 16px;
  line-height: 1.6;  
}