.card {
  background-color: rgb(245, 245, 245);
  max-width: 220px;
  margin: auto;
}

.book-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.book-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.book-card img {
  height: 150px;
  width: 150px;
  object-fit: cover;
  margin: auto;
  display: block;
}

/* Price text */
.text-secondary {
  color: rgb(108, 117, 125) !important;
}

/* Badge Styling */
.badge.bg-success {
  background-color: rgb(40, 167, 69) !important; /* Green background */
  color: rgb(255, 255, 255);                     /* White text */
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-block;
  margin-top: 5px;
  letter-spacing: 0.3px;
}

.btn-link {
  display: inline-block;
  margin-top: 6px; /* small gap between badge and button */
  padding: 8px 16px;
  background-color: rgb(30, 144, 255); /* Dodger Blue */
  color: rgb(255, 255, 255);           /* White */
  text-decoration: none;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.btn-link:hover {
  background-color: rgb(0, 104, 179); /* Darker on hover */
}
.header {
  color: rgb(45, 62, 80);               /* Dark slate blue-gray */
  font-size: 2.125rem;                  /* 18px approx */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;                    /* Semi-bold */
  font-style: normal;
  text-align: justify;                 /* Clean block text */
  text-transform: capitalize;          /* Capitalize first letter of each word */
  letter-spacing: 0.8px;               /* Slightly spaced letters */
  line-height: 1.7;                    /* Comfortable reading line height */
  text-shadow: 1px 1px 2px rgba(0,0,0,0.05); /* subtle soft shadow */
  margin-bottom: 1.5rem;
}

