ul.pagination {
  margin: 0;
}

ul.pagination li {
  display: inline-block;
  margin-right: 5px;
}

ul.pagination li a {
  padding: 5px 10px;
  border: 1px solid #ccc;
  color: #333;
}

ul.pagination li a:hover {
  background-color: #eee;
}

ul.pagination li.active a {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

ul.pagination li.disabled {
  opacity: 0.5;
  pointer-events: none;
}

ul.pagination li.disabled a {
  cursor: default;
}

ul.pagination li:first-child a,
ul.pagination li:last-child a {
  border-radius: 0;
}

ul.pagination li:first-child a::before,
ul.pagination li:last-child a::after {
  display: none;
}

ul.pagination li:first-child a {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

ul.pagination li:last-child a {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

/* Add padding to the top of the body */
body {
    padding-top: 70px; /* Change this value to match the height of your navbar */
   

    
}




 /* Navbar */
 .navbar {
  height: 55px;
  background-color: #1E429C;
}

/* Logo style */
.navbar-brand {
  font-size: 30px;
  font-weight: bold;
  color: white;
}

/* Navbar links */
.navbar-nav .nav-link {
  color: white;
  font-weight: bold;
}

/* Navbar toggle button */
.navbar-toggler {
  border: none;
}

/* Responsive styles */
@media (max-width: 991.98px) {
  .navbar-brand img {
    width: 30px;
    height: 30px;
  }
  .navbar-brand span {
    font-size: 20px;
  }
  .navbar-nav .nav-link {
    font-size: 14px;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    width: 25px;
    height: 25px;
  }
  .navbar-brand span {
    font-size: 16px;
  }
  .navbar-nav .nav-link {
    font-size: 12px;
  }
}



.slider .carousel-item img {
  width: 100%;
  height: 450px; 
  object-fit: cover; 
}

.slider {
  margin: 20px auto; 
  padding-top: 20px;
  padding-bottom: 20px;
  max-width: 75%; }

.carousel-item img {
  object-fit: cover; 
  filter: brightness(90%); 
}

.carousel-caption h1 {
  font-size: 36px; 
  line-height: 1.3;
  text-align: center;
}

.carousel-caption {
  padding: 10px;
  
}

.carousel-control-prev-icon, .carousel-control-next-icon {
  filter: invert(100%);
}


@media (max-width: 768px) {
  .slider {
    margin-top: 15px;
  }

  .carousel-caption h1 {
    font-size: 24px;
  }

  .carousel-caption {
    padding: 10px;
   
  }
}


.book-image {
  width: 350px;
  height: 350px;
  
  object-fit: cover;}
.modal {
z-index: 1050;
}
 .card-sl {
      border-radius: 8px;
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  }
  .card-image img {
      max-height: 100%;
      background: #fff;
      max-width: 100%;
      border-radius: 8px 8px 0px 0;
  }
  .card-action {
      position: relative;
      float: right;
      margin-top: -25px;
      margin-right: 20px;
      z-index: 2;
      color: #E26D5C;
      background: #fff;
      border-radius: 100%;
      padding: 15px;
      font-size: 15px;
      box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.2), 0 1px 2px 0 rgba(0, 0, 0, 0.19);
  }
  .card-action:hover {
      color: #fff;
      background: #E26D5C;
      -webkit-animation: pulse 1.5s infinite;
  }
 
 
  .card-button:hover {
      text-decoration: none;
      background-color: #1D3461;
      color: #fff;
  }
    /* Media queries */
    @media (max-width: 768px) {
      .card-sl {
          margin-bottom: 20px;
      }
  }

  @media (min-width: 768px) {
      .card-sl {
          margin-right: 20px;
          margin-bottom: 20px;
      }

      .card-sl:nth-child(4n) {
          margin-right: 0;
      }
  }


  #search-form {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  #search-form label {
    font-weight: bold;
    color: #343a40;
  }
  #search-form input,
  #search-form select {
    border: 1px solid #ced4da;
    border-radius: 5px;
  }
  #search-btn {
    background-color: #eb984e;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    font-weight: bold;
  }
  #search-btn:hover {
    background-color: #d35400;
    color: #ffffff;
  }


#search-form {
  margin-top: 20px !important;
}

/* Search form style */
#search-form {
  background-color: #B1BDDB;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

#search-form label {
  font-weight: bold;
}

#search-form input[type="text"],
#search-form select {
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 8px;
  width: 100%;
}

#search-form button[type="submit"] {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 8px 16px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}








