:root {
  --body-bg-color: #f2f2f2;
  --body-text-color: #383838;
  --heading-color: #383838;
  --hero-gradient1: #f0ca98;
  --hero-gradient2: #927554;
  --footer-bg-color: #383838;
  --link-color: #caa06d;
  --header-bg-color: #ffffff;
  --font-family: system-ui;
  --nav-link-color: #3a3a3a;
  --footer-text-color: #ffffff;
  --header-text-color: #ffffff;
}
html {
  overflow-x: hidden;
}
body {
  background-color: var(--body-bg-color) !important;
  color: var(--body-text-color) !important;
  font-family: var(--font-family);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1 {
  font-size: clamp(2rem, 4vw, 2.5rem) !important;
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2rem) !important;
}
h3 {
  font-size: clamp(1.4rem, 3vw, 1.7rem) !important;
}
p {
  margin-bottom: 0.5rem !important;
}

section {
  padding: 15px 0;
  scroll-margin-top: 70px;
}

h2,
h3 {
  color: var(--heading-color) !important;
}

.content-area a {
  color: var(--link-color) !important;
  text-decoration: none !important;
}

.content-area a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.twitter-tweet {
  width: 279px !important;
}

.x {
  display: flex;
  justify-content: center;
}
.error_page {
  min-height: 70vh;
}

.footer {
  background-color: var(--footer-bg-color);
  color: var(--footer-text-color);
}

.footer a {
  text-decoration: none;
  color: var(--link-color) !important;
}
.footer a:hover {
  color: var(--link-color) !important;
  opacity: 0.8;
}

.navbar {
  background-color: transparent !important;
  transition: background-color 0.4s ease, box-shadow 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
}

.navbar.scrolled {
  background-color: var(--header-bg-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  padding-top: 120px !important;
}

.hero-section {
  padding: 55px 0;
  position: relative;
  overflow: hidden;
  color: var(--header-text-color);
}

.hero-section.gradient-bg {
  background: linear-gradient(
    135deg,
    var(--hero-gradient1),
    var(--hero-gradient2)
  );
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }
}
@media (min-width: 1200px) {
  .navbar-nav {
    background-color: rgb(232, 230, 230) !important;
    border-radius: 17px;
  }
}

.navbar-light .navbar-nav .nav-link {
  color: var(--nav-link-color, #141414) !important;
}

.navbar-light .navbar-nav .nav-link.active {
  color: #76562f !important;
  font-weight: bold;
}
/* Mobile nav */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    position: fixed;
    top: 61px;
    left: 15px;
    right: 15px;
    background-color: color-mix(
      in srgb,
      var(--header-bg-color) 65%,
      transparent
    );
    backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 15px;
    margin: 0;
  }

  .navbar-nav {
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 7px 0;
  }

  .navbar-nav .nav-item:hover {
    transform: translateY(-1px);
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0;
  }

  .navbar-toggler {
    z-index: 10000;
    position: relative;
    border: var(--bs-border-width) solid var(--nav-link-color, #141414) !important;
  }
}

@media screen and (min-width: 1199.98px) {
  .dropdown-menu {
    top: 100%;
    left: 50% !important;
    transform: translateX(-50%);
  }
}

.navbar .dropdown-toggle::after {
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.custom-dropdown {
  border: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  min-width: 220px;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 65%,
    transparent
  ) !important;
  backdrop-filter: blur(12px);
}

.custom-dropdown .dropdown-item {
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  color: var(--nav-link-color, #141414) !important;
  font-weight: 500;
  border-radius: 0;
  text-wrap: wrap;
}

.custom-dropdown .dropdown-item:hover {
  color: #fff;
  background: color-mix(
    in srgb,
    var(--header-bg-color) 95%,
    transparent
  ) !important;
}

.custom-dropdown .dropdown-item i {
  width: 16px;
  color: #6c757d;
  transition: color 0.3s ease;
}

.custom-dropdown .dropdown-item:hover i {
  color: #fff;
}

.dropdown-menu {
  opacity: 0;
  transition: all 0.3s ease;
  display: block;
  visibility: hidden;
}

.dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

@media (min-width: 1199.98px) {
  .custom-dropdown {
    max-width: 200px;
  }
}

@media (max-width: 1199.98px) {
  .custom-dropdown {
    display: none;
    background: #f8f9fa;
    box-shadow: none;
    border-radius: 0;
    margin-top: 0;
    border-top: 1px solid #dee2e6;
  }

  .custom-dropdown .dropdown-item:hover {
    margin: 0;
    border-radius: 0;
    transform: none;
  }
}

.dropdown-menu:hover,
.dropdown:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1;
}
.dropdown-item.active,
.dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #91919131 !important;
}

.contact-container {
  width: 500px;
  margin: 100px auto 35px;
  padding: 15px 21px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
  color: black !important;
}

@media screen and (max-width: 768px) {
  .contact-container {
    width: 100%;
    padding: 15px;
  }
}
.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact-header i {
  font-size: 2rem;
  color: #0d6efd;
  margin-bottom: 10px;
}

.email-link {
  display: block;
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  color: #0d6efd;
  text-decoration: none;
}
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--link-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 24px;
  color: var(--footer-bg-color);
  line-height: 0;
}
.scroll-top:hover {
  background-color: color-mix(in srgb, var(--link-color), transparent 20%);
  color: var(--footer-bg-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}
.box {
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  padding: 21px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
}
.heading {
  text-align: center;
  margin: 0 auto 1.5rem;
  padding: 1rem 2rem;
  border-left: 4px solid #806d55;
  border-right: 4px solid #806d55;
}

.heading h2 {
  font-family: "Georgia", serif;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  color: #806d55;
}

.heading p {
  font-family: "Merriweather", serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #3a3a3a;
  opacity: 0.9;
}

/* Optional subtle underline for book vibe */
.heading h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 2px;
  margin: 0.75rem auto 0;
  background: #806d55;
}
.colored {
  color: #806d55;
  font-weight: bold;
}
.top-books-list {
  margin: 0 auto;
  padding: 1rem 17px;
}

.top-books-list h3 {
  font-family: "Georgia", serif;
  margin-top: 2.7rem;
  margin-bottom: 0.5rem;
  color: #806d55;
  font-weight: 600;
  line-height: 1.4;
}

.top-books-list p {
  font-family: "Merriweather", serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
  opacity: 0.95;
}

/* subtle separator for readability */
.top-books-list h3::before {
  content: "";
  display: block;
  width: 45px;
  height: 2px;
  background: #806d55;
  margin-bottom: 0.6rem;
  opacity: 0.7;
}
.books-box {
  padding: 1.25rem 17px;
  border: 1px solid #e6e2dd;
  border-radius: 8px;
  background: #faf8f6;
  transition: border-color 0.2s ease, background 0.2s ease;
  height: 100%;
}

.books-box:hover {
  border-color: #806d55;
  background: #f6f3ef;
}

.books-box h3 {
  font-family: "Georgia", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #806d55;
  margin-bottom: 0.6rem;
  margin-top: 11px !important;
}

.books-box p {
  font-family: "Merriweather", serif;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #333;
  opacity: 0.95;
}

/* small screens: spacing between stacked cards */
@media (max-width: 767px) {
  .books-box {
    text-align: left;
  }
}
.book {
  margin: 0 auto 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e6e2dd;
  position: relative;
}

/* subtle accent line under the title */
.book h2 {
  font-family: "Georgia", serif;
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #806d55;
  letter-spacing: 0.5px;
  position: relative;
}

.book h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #806d55;
  margin-top: 0.4rem;
  opacity: 0.8;
}

.book p {
  font-family: "Merriweather", serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  opacity: 0.95;
}

/* subtle hover accent */
.book:hover h2::after {
  width: 80px;
  transition: width 0.25s ease;
}

.quick-links {
  font-family: "Georgia", serif;
  width: 279px !important;
}

.quick-links h2 {
  font-size: 1.5rem;
  color: #4a3a2d;
  border-bottom: 2px solid #806d55;
  padding-bottom: 0.3rem;
  margin-bottom: 1rem;
}

.sidebar-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-page-list li {
  margin-bottom: 0.7rem;
}

.sidebar-page-list a {
  text-decoration: none;
  color: #555;
  font-size: 1rem;
  transition: color 0.3s, transform 0.2s;
  display: inline-block;
  position: relative;
}

.sidebar-page-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: #806d55;
  transition: width 0.3s;
}

.sidebar-page-list a:hover {
  color: #806d55;
}

.sidebar-page-list a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .quick-links h2 {
    font-size: 1.3rem;
  }

  .sidebar-page-list a {
    font-size: 0.95rem;
  }
}
.hero-section {
  padding: 3rem 1rem;
  color: #fff;
  font-family: "Georgia", serif;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gradient-bg {
  background: linear-gradient(135deg, #4a3a2d 0%, #806d55 100%);
}

.hero-section h1 {
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}
.icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.icons i {
  font-size: 2rem;
  color: #ffffff;
  transition: transform 0.3s, color 0.3s;
  cursor: default;
}

.icons i:hover {
  transform: translateY(-5px) scale(1.1);
  color: #4a3a2d;
}
.footer {
  background-color: #f9f7f4; /* soft paper-like background */
  color: #333;
  border-top: 2px solid #caa06d;
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.2px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.footer a {
  color: #caa06d;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease, border-bottom 0.3s ease;
}

.footer a:hover {
  color: #a7804f;
  border-bottom: 1px solid #a7804f;
}

.footer img {
  filter: brightness(0.9) saturate(0.9);
  transition: filter 0.3s ease;
}

.footer img:hover {
  filter: brightness(1) saturate(1);
}

.footer p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.footer .bi {
  color: #caa06d;
  font-size: 1rem;
  vertical-align: middle;
}

/* Layout tweaks for responsive harmony */
@media (max-width: 767px) {
  .footer {
    text-align: center;
    padding: 2rem 1rem;
  }

  .footer .col-md-6 {
    margin-top: 1rem;
  }
}

/* Optional subtle fade-in animation */
.footer {
  animation: fadeInFooter 0.8s ease-in-out;
}

@keyframes fadeInFooter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.contact-container {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2.5rem;
  background-color: #fdfbf8; /* soft, paper-like tone */
  border: 1px solid #e6dccf;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
  font-family: "Georgia", "Times New Roman", serif;
  text-align: center;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Header */
.contact-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.contact-header i {
  font-size: 2.5rem;
  color: #caa06d;
  margin-bottom: 0.5rem;
}

.contact-header h1 {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2d2d2d;
}

/* Subheading */
form h2 {
  font-size: 1.25rem;
  font-weight: 500;
  color: #7a6a56;
  margin-bottom: 1.5rem;
}

/* Form Elements */
.form-label {
  font-weight: 500;
  color: #4a4033;
  text-align: left;
  display: block;
}

.form-control {
  border: 1px solid #d8cbb5;
  border-radius: 8px;
  padding: 0.75rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: #caa06d;
  box-shadow: 0 0 0 0.25rem rgba(202, 160, 109, 0.25);
}

/* Button */
.btn-primary {
  background-color: #caa06d;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
  background-color: #b58e5f;
  transform: translateY(-2px);
}

.btn-primary:disabled {
  background-color: #d9c7ab;
  cursor: not-allowed;
}

/* Email link */
.email-link {
  margin-top: 2rem;
  color: #7a6a56;
  font-size: 0.95rem;
}

.email-link i {
  color: #caa06d;
  margin-right: 0.4rem;
}

/* Animation */
.contact-container {
  opacity: 0;
  animation: fadeInUp 0.7s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 576px) {
  .contact-container {
    padding: 2rem 1.5rem;
  }
}
.error-page {
  min-height: 100vh;
  background-color: #fdfbf8; /* paper tone */
  color: #3a2f25;
  font-family: "Georgia", "Times New Roman", serif;
  position: relative;
  overflow: hidden;
  animation: fadeInPage 0.8s ease;
}

.error-symbol {
  font-size: 4rem;
  color: #caa06d;
  z-index: 1;
}

.error-code {
  font-size: 7rem;
  font-weight: 700;
  color: #caa06d;
  margin: 0;
  z-index: 1;
}

.error-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #4a4033;
  margin-top: 0.5rem;
}

.error-text {
  font-size: 1.05rem;
  color: #6a5b49;
  max-width: 500px;
  margin: 1rem auto 2rem;
  line-height: 1.6;
}

.error-actions .btn {
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #caa06d;
  border: none;
  color: #fff;
}

.btn-primary:hover {
  background-color: #b58e5f;
  transform: translateY(-2px);
}

.btn-outline-secondary {
  border: 1px solid #d8cbb5;
  color: #4a4033;
  background-color: transparent;
}

.btn-outline-secondary:hover {
  background-color: #f4ede3;
  color: #3a2f25;
  transform: translateY(-2px);
}

.error-decor i {
  color: #caa06d;
  margin: 0 4px;
  opacity: 0.8;
  animation: twinkle 3s infinite ease-in-out;
}

.error-decor i:nth-child(2) {
  animation-delay: 1s;
}

/* Animations */
@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes gentleFloat {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-20px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@media (max-width: 576px) {
  .error-code {
    font-size: 5rem;
  }
  .error-title {
    font-size: 1.5rem;
  }
}
.csut {
  margin-bottom: 100px;
}
