/* Main Section Container */
.books-section-container {
    padding: 3rem 1rem; /* py-12 px-4 */
    background-color: #f9fafb; /* bg-gray-50 */
    font-family: 'Inter', sans-serif;
}

.audiobooks-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.audiobooks-section h2 {
    background-color: #009fe3;
    color: white;
    padding: 10px;
    font-size: 1.5rem;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.audiobooks-section h3 {
    color: #009fe3;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
}

.audiobooks-section p {
    margin: 8px 0;
}

.class-wise-list {
    background-color: green;
    border: green solid 2px;
    padding: 20px;
    border-radius: 20px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-align: center;
    margin: 50px 50px;
}

/* Inner Content Wrapper */
.books-section-content {
    max-width: 1280px; /* max-w-7xl */
    margin-left: auto;
    margin-right: auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem; /* mb-12 */
}

.section-header h2 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 800; /* font-extrabold */
    color: #e15a2a; /* text-gray-900 */
    margin-bottom: 1rem;
}

.section-header p {
    margin-top: 1rem; /* mt-4 */
    font-size: 1.25rem; /* text-xl */
    color: #4a5568; /* text-gray-600 */
}

/* Responsive adjustments for header */
@media (min-width: 640px) { /* sm: */
    .section-header h2 {
        font-size: 3rem; /* sm:text-5xl */
    }
}
@media (min-width: 1024px) { /* lg: */
    .books-section-container {
        padding-left: 2rem; /* lg:px-8 */
        padding-right: 2rem; /* lg:px-8 */
    }
}


/* Filter Tags Section */
.filter-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem; /* gap-3 */
    margin-bottom: 3rem; /* mb-12 */
}

.filter-button {
    padding: 0.5rem 1.25rem; /* px-5 py-2 */
    border-radius: 9999px; /* rounded-full */
    font-weight: 600; /* font-semibold */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    transition: all 0.3s ease; /* transition duration-300 */
    border: none;
    cursor: pointer;
}

.filter-button:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* hover:shadow-xl */
}

.filter-button:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.5); /* focus:ring-2 focus:ring-blue-500 focus:ring-opacity-75 */
}

.filter-button.active {
    background-color: #2563eb; /* bg-blue-600 */
    color: #ffffff; /* text-white */
}

.filter-button:not(.active) {
    background-color: #e2e8f0; /* bg-gray-200 */
    color: #2d3748; /* text-gray-800 */
}

.filter-button:not(.active):hover {
    background-color: #cbd5e0; /* hover:bg-gray-300 */
}

/* Books Grid */
.books-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* grid-cols-2 */
    gap: 1.5rem; /* gap-6 */
}

/* Responsive adjustments for grid */
@media (min-width: 640px) { /* sm: */
    .books-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)); /* sm:grid-cols-3 */
    }
}
@media (min-width: 768px) { /* md: */
    .books-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)); /* md:grid-cols-4 */
    }
}
@media (min-width: 1024px) { /* lg: */
    .books-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)); /* lg:grid-cols-5 */
    }
}
@media (min-width: 1280px) { /* xl: */
    .books-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr)); /* xl:grid-cols-6 */
    }
}

/* Book Card */
.book-card {
    position: relative;
    border-radius: 0.5rem; /* rounded-lg */
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-lg */
    transition: all 0.3s ease; /* transition-all duration-300 */
    background-color: #ffffff; /* bg-white */
}

.book-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* hover:shadow-xl */
    transform: translateY(-0.25rem); /* transform hover:-translate-y-1 */
}

.book-cover {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-top-left-radius: 0.5rem; /* rounded-t-lg */
    border-top-right-radius: 0.5rem; /* rounded-t-lg */
}

.book-tag {
    position: absolute;
    top: 0.5rem; /* top-2 */
    left: 0.5rem; /* left-2 */
    color: #ffffff; /* text-white */
    font-size: 0.75rem; /* text-xs */
    font-weight: 700; /* font-bold */
    padding: 0.25rem 0.5rem; /* px-2 py-1 */
    border-radius: 0.375rem; /* rounded-md */
    opacity: 0.9; /* opacity-90 */
}

/* Specific tag colors */
.new-tag { background-color: #3b82f6; /* bg-blue-500 */ }
.popular-tag { background-color: #9333ea; /* bg-purple-500 */ }
.best-seller-tag { background-color: #22c55e; /* bg-green-500 */ }
.hot-pick-tag { background-color: #ef4444; /* bg-red-500 */ }
.new-release-tag { background-color: #eab308; /* bg-yellow-500 */ }
.top-rated-tag { background-color: #6366f1; /* bg-indigo-500 */ }
.trending-tag { background-color: #f97316; /* bg-orange-500 */ }
.featured-tag { background-color: #06b6d4; /* bg-cyan-500 */ }
.exclusive-tag { background-color: #84cc16; /* bg-lime-500 */ }
.limited-tag { background-color: #ec4899; /* bg-pink-500 */ }


.book-info {
    padding: 0.75rem; /* p-3 */
}

.book-title {
    font-size: 0.875rem; /* text-sm */
    font-weight: 600; /* font-semibold */
    color: #2d3748; /* text-gray-800 */
    white-space: nowrap; /* truncate */
    overflow: hidden;
    text-overflow: ellipsis;
}

.book-author {
    font-size: 0.75rem; /* text-xs */
    color: #718096; /* text-gray-500 */
}
