main > .container {
    padding: 70px 15px 20px;
}



.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
   
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .topmost-div{
     display:none;   
    }
    }
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}


/* custom css for site */




  
.container h2{
    color:#32617b;
    text-align: center;
  
}

.thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.thumbnail:hover {
    transform: scale(1.1);
}
.book-card {
    position: relative;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    padding: 15px;
}
.book-card img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    margin-right: 20px;
}
.book-card .card-body {
    flex: 1;
}
.read-more {
  
    color:#000;
   text-align: center;
     text-decoration: none;
    
   
   
}
.read-more:hover {
   
    text-decoration: none;
}


.read-more-btn {
    background-color: #98b4c3;
    color:#000;
    padding: 5px 15px;
    border-radius: 20px;
    text-decoration: none;
   /* position: absolute;*/
    bottom: 0px;
    left: 85%;
    transform: translateX(-50%);
}
.read-more-btn:hover {
    background-color: #71c395;
    text-decoration: none;
}
.author-img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}
.author-card {
    text-align: center;
    
}
.author-card h5{
    color:#4f780f;
    font-size:14px;
    
}
.footer {
   
    padding: 20px 0;
    
    margin-top: 30px;
    
    height:auto;
    background-color: #ffffff;
    font-size: .9em;
   

  
}
.footer .container {
   
    justify-content: space-between;
    height:auto;
}
.footer .col-md-4 {
    padding: 0 15px;
   
}
.footer h5{
    color:#000;
    font-weight: bold;
}
.footer a{
    text-decoration: none;
    color:#000;
    line-height: 2em;
    border-bottom: 1px solid #ccc;
    display: flex;
}
footer a:hover{
    
    color:#1e066a;
 
}
.footer p{
    color:#000;
    line-height: 2em;
}

.vertical-line{
    height:auto;
    width:1px;
    color:#fff;
    border:1px solid #ccc;
    right:10px;
    top:10px;
    bottom:10px;
    position:absolute;
}


.search-panel input {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}
.new-books-section .new-book-card {
    display: block;
    align-items: center;
    margin-bottom: 30px;
    width:50%;
    border:1px solid #777;

    margin-bottom: 20px;          /* Add space between the cards */
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;  /* Smooth transition for animation */

    
    
}

.card{
    transition: transform 0.3s ease, box-shadow 0.3s ease;  /* Smooth transition for animation */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}
.card-img-top{
    max-height:200px;
    width:100%;
    object-fit:scale-down;
    border-radius: 10px 10px 0px 0px;
    object-position: center; /* Optionally, you can center the image if it's smaller than the container */
   
}
    

.single-line-text {

    display: -webkit-box;        /* Makes the container a flexible box */
    -webkit-box-orient: vertical; /* Specifies the box direction */
    -webkit-line-clamp: 1;       /* Limits the text to two lines */
    overflow: hidden;            /* Hides any content that overflows the box */
    text-overflow: ellipsis;     /* Adds ellipsis (...) at the end of the content */
    
}
.two-line-text {
display: -webkit-box;        /* Makes the container a flexible box */
-webkit-box-orient: vertical; /* Specifies the box direction */
-webkit-line-clamp: 2;       /* Limits the text to two lines */
overflow: hidden;            /* Hides any content that overflows the box */
text-overflow: ellipsis;     /* Adds ellipsis (...) at the end of the content */

}
.card-title{
font-size: 16px;
display: -webkit-box;        /* Makes the container a flexible box */
-webkit-box-orient: vertical; /* Specifies the box direction */
-webkit-line-clamp: 1;       /* Limits the text to two lines */
overflow: hidden;            /* Hides any content that overflows the box */
text-overflow: ellipsis;     /* Adds ellipsis (...) at the end of the content */
font-weight: bold;
text-align: left;

}
.card-sub-title{
    font-size: 14px;
    color:#706e6e;
    text-align: left;


}
.card-text{
text-align: justify;
text-indent: 1em;         /* Indent the first line (1em equals the font size) */
line-height: 1.6;         /* Optional: Adjust line height for readability */
color:#706e6e;
font-size: 14px;

font-weight: normal;



}
.card-bottom{
   padding-bottom:25px;
}
.card-publisher{
    color:#706e6e;
    font-size: 12px;
   
    float:left;
}
.card-published_date{
    color:#706e6e;
    font-size: 12px;
   
    float:right;
}
.card-button{
    padding-top:10px;
}

.card-button-left{
    color:#706e6e;
    font-size: 13px;
   
}
.card-cost{
    color:#007bff;
    font-size: 13px;
    float:left;
    font-weight: bold;
    margin-bottom: 0px;
}

.card-button-common{
    border:0px;
    font-size: 14px;
    border-radius: 5px;
    background-color: #fff;
    color:#0c0c0c;
    border:1px solid #ccc;
    margin-right: 15px;
    margin-left: 15px;

}
.card-button-common:hover{
    border:0px;
    font-size: 13px;
    background-color: #f1774b;
    color:#706e6e;
    color:#fff;
    border:none;
  

}
.card-button-view{
    border:0px;
    font-size: 14px;
    border-radius: 5px;
    background-color: #fff;
    color:#0c0c0c;
    float:right;
    margin-right: 15px;

}
.card-button-view:hover{
    border:0px;
    font-size: 13px;
    background-color: #f1774b;
    color:#706e6e;
    color:#fff;
    border:none;
  

}
.card-button-download{
    border:1px solid #c8c1c1;
    border-radius: 5px;
    background-color: #fff;
    color:#111111;
    font-size: 14px;
    
    float:right;
    
}
.card-button-download:hover{
    background-color: #f1774b;
    color:#706e6e;
    border:none;
    color:#fff;
}

.card-button-right{
    color:#706e6e;
    font-size: 13px;
   
}

/* Targeting the middle card in a row */
.row .col-md-4:nth-child(2) .card {
    margin-left: 5px;  /* Add gap on the left side of the middle card */
    margin-right: 5px; /* Add gap on the right side of the middle card */
   
}
/* Space between the cards */
.card {
    margin-bottom: 25px; /* Adds space at the bottom of each card */
}
/* Hover animation */
.card:hover {
    transform: translateY(-10px);  /* Moves the card up by 10px */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}


/* tab menu category */

.category-icon{
    width:20px;
    height: 20px;
}
#myTab li{
    background-color:#fff;
    color:#000;
    border-radius: 5px;
}

#myTab li:hover{
    background-color: #dd7257;
    color:#000;
}

#myTab a{
    text-decoration: none;
    color:#000;
}
#myTab a:hover{
 
    color:#fff;
}

.category-title{

    color:#000;
    font-weight: bold;
    text-align: left;
    font-size: 20px;
   
   text-align:center;
    margin:15px;
   
    display: block;
}


/* Hover animation */
.new-book-card:hover {
    transform: translateY(-10px);  /* Moves the card up by 10px */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Adds shadow on hover */
}

.new-books-section .new-book-card img {
   
  height:200px;
    width: 100%;
    margin-right: 20px;
    object-fit:scale-down;
   
    
}
.new-books-section .new-book-card .book-info {
    flex: 1;
   
}



.search-panel {
    background-color: #f8f9fa;
    padding: 20px;
    margin: 20px 0;
    border-radius: 5px;
}
.search-bar {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #fff;
    padding: 0px 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Resize the search input textbox */
.search-bar input[type="text"] {
width: 100%; /* Ensure the input takes up all available space within the search bar */

font-size: 12px; /* Adjust the font size */

padding: 5px 30px ; /* Add padding for better visual appearance and to keep the text readable */
right:20px;
border: 0px solid #ccc; /* Light border color */

outline: none; /* Remove the default outline */
}

/* Resize search button */
.search-bar button {
position: absolute;
right: 0;
top: 0;

background-color: #007bff; /* Blue color for button */
color: white;
border: none;
border-radius: 0 5px 5px 0; /* Rounded corners on the right side */
font-size: 16px; /* Adjust the font size */
cursor: pointer;
outline: none;
}

.search-bar button:hover {
background-color: #0056b3; /* Darker blue on hover */
}







.contact-info {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 12px;
    float: left;
    color:#7e7d7d;
}
/* New Styles for Topmost Div */
.topmost-div {
    background-color: #ffffff;
    padding: 10px 20px;
    position: relative;
    border-bottom: 1px solid #c8c7c7;
    z-index: 1000;
   

    
}
.topmost-div .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height:20px;
    
}


/* Style for Popular Books */
.popular-books .book-card {
border: 1px solid #ddd; /* Border around the book card */
margin-bottom: 10px; /* Spacing between cards */
text-align: center;
background-color: #f9f9f9;
border-radius: 5px;
transition: transform 0.3s ease;
}

/* Hover effect for the book cards */
.popular-books .book-card:hover {
transform: scale(1.05); /* Slightly enlarge the card */
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Add a shadow */
}

/* Image inside the book card */
.popular-books .book-card img {
width: 100%;
height: auto;
border-bottom: 1px solid #ddd;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
}

/* Card body inside the book card */
.popular-books .book-card .card-body {
padding: 15px;
position: absolute;
bottom:-15px;
}

/* Title inside the card */
.popular-books .book-card h5 {
font-size: 14px;
font-weight: normal;
margin-top: 10px;
margin-bottom: 0;
color:#4f780f;
}

/* Owl Carousel Custom Styles */
.owl-carousel .owl-nav {
position: absolute;
top: 50%;
width: 100%;
display: flex;
justify-content: space-between;
transform: translateY(-50%);
}

.owl-carousel .owl-nav .owl-prev, .owl-carousel .owl-nav .owl-next {
background-color: #007bff;
color: white;
padding: 10px;
border-radius: 50%;
font-size: 20px;
cursor: pointer;
}

.owl-carousel .owl-nav .owl-prev:hover, .owl-carousel .owl-nav .owl-next:hover {
background-color: #0056b3;
}

/* css for upcoming book section */

.upcoming-book-container {
    margin-top: 50px;
}
.upcoming-book-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}
.upcoming-book-image {
    max-width: 100%;
    object-fit:cover;
    border-radius: 8px 8px 0 0;
 
}
.upcoming-card-body {
    text-align: center;
}
.upcoming-dropdown-menu a {
    font-size: 16px;
}
.upcoming-dropdown-item i {
    margin-right: 10px;
}

.upcoming-section button{
    border:1px solid #ede9e9;
    border-radius: 5px;
    padding:10px;
    width:100%;
    
}

/* red heart css*/

.red-heart {
    color: red;                /* Red heart outline */
    background-color: white;   /* White filling */
    border: 1px solid red;     /* Red border */
    border-radius: 50%;        /* Rounded edges */
    padding: 2px;             /* Padding inside the heart */
}


/* Smooth scrolling for browsers that support it */
html {
    scroll-behavior: smooth;
}


/* Custom styling for fixed navigation bar */
.top-banner {
z-index: 1000; /* Ensure navbar stays above other content */


}

/* Optional: Add a shadow effect for better visibility when scrolling */
.top-banner.fixed-top {
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);


}

/* justify content in body*/
.description{
text-align: justify;
text-indent: 1em;         /* Indent the first line (1em equals the font size) */
line-height: 1.6;         /* Optional: Adjust line height for readability */



     display: -webkit-box;        /* Makes the container a flexible box */
    -webkit-box-orient: vertical; /* Specifies the box direction */
    -webkit-line-clamp: 2;       /* Limits the text to two lines */
    overflow: hidden;            /* Hides any content that overflows the box */
    text-overflow: ellipsis;     /* Adds ellipsis (...) at the end of the content */

}
















 /* General Styles for review all */
body {
    font-family: Arial, sans-serif;
    background-color:#f6f6f6;
    margin: 0;
    padding: 0;
    text-align: justify;
}

/* Container and overall layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Section title */
h2.text-center {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
}

/* Review section */
.review-section {
    display: flex;
    flex-wrap: wrap;
}

/* Review Item Layout */
.review-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
}

/* Book Image */
.review-image {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    object-fit: contain;
}

/* Book Title */
.review-title {
    font-size:1em;
    font-weight: bold;
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
}

/* Reviewer and Description */
.review-item p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

.review-item strong {
    font-weight: 600;
}

/* Short Description */
.review-description {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}





/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .review-item {
        flex-direction: column;
        padding: 15px;
    }

    .col-md-3, .col-md-9 {
        width: 100%;
        margin-bottom: 15px;
    }

    .review-image {
        width: 100%;
        max-height: 250px;
    }
}


/* General styles for the reviewer list */
.reviewer-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 20px;
}

/* Each reviewer card */
.reviewer-card {
   /* width: 150px;
    padding: 15px;
    margin: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;*/
    text-align: center;
   
}

.reviewer-card img{
    width: 100px;
    height: 100px;
    object-fit: cover;
    text-align: center;
    border-radius: 50%;
    
    
}



.reviewer-card .card-title{

    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;

}
.reviewer-card .card-text{

    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;

}


/* Reviewer image style */
.reviewer-image {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Circle shape */
    object-fit: cover; /* Ensures the image is not stretched */
 
}

/* Reviewer name style */
.reviewer-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
}

/* Hover effect to highlight the reviewer card */
.reviewer-card:hover {
    background-color: #f0f0f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    transition: 0.3s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .reviewer-card {
        width: 120px;
    }
    .reviewer-image {
        width: 40px;
        height: 40px;
    }
}


/* reviewer content */

/* panel css */

.page-title{
    font-size:20px;
    font-weight: bold;
    color:#8d0202;
    text-align: center;
    padding:15px;  
}
.panel-title{
font-size:16px;
font-weight: bold;
color:#000;
text-align: center;
padding:15px;

}
.panel-message{
    font-size: 12px;
    padding:5px;
    margin:10px;
    color:#ccc;
    font-style: italic;
}

/* General Styles */




/* Review Section */
.review-section {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

/* Review Title */
h2.text-center {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px; /* Reduced margin for better spacing */
    text-align: center;
}

/* Full Description */
.review-description {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    text-align: justify; /* Makes the text more readable */
    margin-top: 20px;
    padding-right: 80px; /* Space for reviewer image */
}

/* Review Content */
.review-content {
    display: flex; /* Flex layout for side-by-side positioning */
    justify-content: space-between; /* Aligns content on both sides */
    align-items: flex-start;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-top: 20px;
}

/* Image Styles for Reviewer's Image (20px by 20px) */
.reviewer-image {
    width: 80px;
    height: 80px;
    border-radius: 50%; /* Makes the image circular */
    object-fit: cover; /* Ensures the image is cropped if necessary */
  
}

/* Reviewer Name */
.reviewer-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
    text-align: left;
}

/* Image Styles for the Main Content */
.review-description img {
    float: left; /* Float the image to the left of the text */
    margin-right: 20px; /* Space between image and text */
    max-width: 100px; /* Max width of the image */
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px; /* Space below the image */
}

/* Make the description content visually separated from the background */
.review-description {
    padding: 15px;
    background-color: #ffffff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-section {
        padding: 15px;
    }

    .review-description {
        font-size: 14px;
    }

    h2.text-center {
        font-size: 28px;
    }

    /* Adjust image for smaller screens */
    .review-description img {
        max-width: 100%; /* Ensure the image is responsive on smaller screens */
        float: none; /* Remove float on small screens */
        margin-right: 0; /* Remove the right margin */
        margin-bottom: 10px; /* Adjust the bottom margin */
    }

    /* Adjust reviewer name and image layout on smaller screens */
    .review-content {
        flex-direction: column; /* Stack content vertically */
        align-items: center;
    }

    .reviewer-name {
        margin-top: 10px;
    }

    .reviewer-image {
        margin-left: 0; /* Remove margin on small screens */
        margin-bottom: 10px; /* Add space below the image */
    }
}





/* css  for book view */
.popular-section {
    padding: 30px 0;
    background-color: #f8f9fa;
}


.popular-section .book-card {
    width: 100%; /* Full width for the card */
    margin: 0 15px;
    text-align: center;
    margin-bottom: 15px;
}

.popular-section .book-card img {
    width: 100%; /* Ensure image fits within card width */
    height: 180px; /* Set a fixed height for images */
    object-fit: cover; /* Ensures the image covers the area without distorting */
    object-fit: contain; /* Ensure the entire image fits without being clipped */
    border-radius: 8px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a shadow effect to the image */
    transition: transform 0.3s ease-in-out; /* Smooth scaling transition */
}








.popular-section .book-card img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.popular-section .card-body {
    padding: 10px;
}

.popular-section .card-title {
    font-size: 14px;
    font-weight: bold;
}

.popular-section .card-text {
    font-size: 12px;
    color: #555;
}

.popular-section .btn-primary {
    font-size: 12px;
    padding: 5px 10px;
}


.book-image {
  /*  max-width: 200px;
    max-height: 300px;*/
}
.author-card img {
    width: 100px;
    height: 100px;
    text-align: center;
    border-radius: 50%;
    

}

.author-card .card-title{

    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;

}
.author-card .card-text{

    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;

}
.author-publication-card h5{
    color:#4f780f;
    font-size:14px;
    text-align: center;
    
}
.author-publication-card img {
    width: 100px;
    height: 100px;
    text-align: center;
    border-radius: 50%;
    

}
.author-publication-card li{
text-decoration: none;
font-size: 13px;
}

.author-publication-card .card-title{

    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;

}
.author-publication-card.card-text{

    text-align: center;
    margin-top: 5px;
    margin-bottom: 5px;

}
/* reviewer page */


/* Header styling */
h2 {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Reviewer Section */
.reviewer-section {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Reviewer Info Styling */
.reviewer-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

/* Reviewer Image Styling */
.reviewer-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border:0px;
    
}


/* About the Reviewer Text */
.reviewer-about {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

/* Responsive Design for Small Screens */
@media (max-width: 768px) {
    .reviewer-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .reviewer-image {
        margin-bottom: 15px;
    }

    .reviewer-name {
        font-size: 12px;
    }

    .reviewer-about {
        font-size: 14px;
    }
}


/* book all css */
.popular-section {
    padding: 30px 0;
    background-color: #f8f9fa;
}


.popular-section .book-card {
    width: 100%; /* Full width for the card */
    margin: 0 15px;
    text-align: center;
    margin-bottom: 15px;
}

.popular-section .book-card img {
    width: 100%; /* Ensure image fits within card width */
    height: 180px; /* Set a fixed height for images */
    object-fit: cover; /* Ensures the image covers the area without distorting */
    object-fit: contain; /* Ensure the entire image fits without being clipped */
    border-radius: 8px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a shadow effect to the image */
    transition: transform 0.3s ease-in-out; /* Smooth scaling transition */
}

.popular-section .book-card img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.popular-section .card-body {
    padding: 10px;
}

.popular-section .card-title {
    font-size: 14px;
    font-weight: bold;
}

.popular-section .card-text {
    font-size: 12px;
    color: #555;
}

.popular-section .btn-primary {
    font-size: 12px;
    padding: 5px 10px;
}


/* index css */

.popular-section {
    padding: 30px 0;
    background-color: #f8f9fa;
}


.popular-section .book-card {
    width: 100%; /* Full width for the card */
    margin: 0 15px;
    text-align: center;
    margin-bottom: 15px;
}

.popular-section .book-card img {
    width: 100%; /* Ensure image fits within card width */
    height: 180px; /* Set a fixed height for images */
    object-fit: cover; /* Ensures the image covers the area without distorting */
    object-fit: contain; /* Ensure the entire image fits without being clipped */
    border-radius: 8px; /* Optional: adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a shadow effect to the image */
    transition: transform 0.3s ease-in-out; /* Smooth scaling transition */
}

.popular-section .book-card img:hover {
    transform: scale(1.05); /* Slight zoom effect on hover */
}

.popular-section .card-body {
    padding: 10px;
}

.popular-section .card-title {
    font-size: 14px;
    font-weight: bold;
}

.popular-section .card-text {
    font-size: 12px;
    color: #555;
}

.popular-section .btn-primary {
    font-size: 12px;
    padding: 5px 10px;
}

