body {
    background-color: #fff;
    font-family: 'Segoe UI', sans-serif;
}
.top-bar {
  background-color: #871622;
  color: #fff;
  padding: 0.3rem 1rem;
}
.top-bar a {
  color: #fff;
  margin: 0 5px;
}
.navbar .nav-link {
  color: #871622 !important;
  font-weight: 500;
}
.hero {
 /* background: url('your-hero-image.jpg') no-repeat center center/cover;
  color: white;
  text-align: center;
  padding: 80px 20px;
  border-radius: 40px;
  background-color: rgba(135, 22, 34, 0.9);
  background-blend-mode: darken;*/
  color: white;
    padding: 80px 20px;
    border-radius: 40px;
    background-color: rgba(135, 22, 34, 0.9);
    background-blend-mode: darken;
    background-image: url(https://discuss.ratnasagar.com/wp-content/uploads/2025/05/books-bookstore-book-reading-159711-159711-scaled.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}
.filter-buttons .btn {
  border-radius: 50px;
  margin: 5px;
}
.card img {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}
.card {
  border-radius: 0.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
}
footer {
  background-color: #4a0c0c;
  color: white;
}
.footer-logo {
  /* background-color: white;
  padding: 0.5rem 1rem;
  border-radius: 30px;
  display: inline-block;*/

    margin: -75px 0px 0px 0px;
    padding: 20px 20px 15px 20px;
    border-radius: 25px 25px 25px 25px;
    background-color: white;
    width: 30%;
    margin-left: 33%;
    box-shadow: 0px -3px 5px 0px rgba(0, 0, 0, 0.3) !important;
}
.footer-logo img {
  height: 40px;
}
.footer-links .nav-link {
  color: white;
  padding: 0 15px;
}
.footer-bottom {
  background-color: #833B1D;
  padding: 0.5rem 0;
}

/*.card-img-top {
  transition: transform 0.9s ease;
}

.card:hover .card-img-top {
  transform: scale(1.15);
}*/
 .card {
    overflow: hidden; /* keeps hover effect inside the card */
  }

  .card-img-top {
    transition: transform 0.6s ease;
  }

  .card-img-top:hover {
    transform: scale(1.15);
  }
  .card-img-top {
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }



.blog-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.blog-card img {
  transition: transform 0.4s ease;
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card .card-body {
  padding: 1rem 1.2rem;
}

.blog-card h5 {
  font-weight: 600;
}

.read-more {
  color: #c0392b;
  text-decoration: none;
}

.read-more:hover {
  text-decoration: underline;
}

.filter-buttons .btn {
  border-radius: 20px;
  margin: 5px;
  font-weight: 500;
}

.scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.scrollToTop.show {
opacity: 1;
visibility: visible;
}

.scrollToTop img {
transition: transform 0.3s ease;
}

.scrollToTop img:hover {
transform: scale(1.1);
}

.top-bar {
background-color: #8e1625;
color: white;
padding: 0.5rem 1rem;
}
.logo {
height: 80px;
}
.content-image {
max-width: 100%;
height: auto;
}
.sidebar a {
display: block;
margin-bottom: 10px;
color: #c0392b;
text-decoration: none;
}
.sidebar a:hover {
text-decoration: underline;
}

figure.image img {
max-width: 100%;
height: auto;
display: block;
margin: 0 auto; /* Optional: centers the image */
}

.pagination-wrapper .pagination {
    margin: 0;
}

.pagination-wrapper .page-item .page-link {
    border-radius: 50%;
    margin: 0 3px;
}
img{
  width: 100%;
}