/* Book placeholder styling */
.book-placeholder {
    background-blend-mode: multiply;
    background-color: rgba(255, 255, 255, 0.9);
}

.book-placeholder img,
.bj_new_pr_item_two .img img {
    mix-blend-mode: multiply;
    filter: contrast(1.2) brightness(1.1);
}

/* If book.jpg has white background, this will help blend it */
.book-image-container {
    background: transparent;
}

.book-image-container img {
    background: transparent;
    mix-blend-mode: darken;
}

/* Hero Banner Styles */
.hero-banner {
    background: url('../images/block-hero-carousel.jpg') center/cover;
    margin-top: 100px;
    padding: 10px 0;
    position: relative;
    overflow: hidden;
}

/* Filters Styling */
.filters-container {
    margin-bottom: 1rem;
}
#sectionTitle h2{
    margin-bottom: 20px;
}

.filter-section {
    margin-bottom: 1.5rem;
}

.filter-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    font-size: 0.9rem;
}

.class-filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}

.class-filters-grid .form-check {
    margin-bottom: 0;
}

.class-filters-grid .form-check-label {
    font-size: 0.85rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .class-filters-grid {
        gap: 10px;
        padding-bottom: 10px;
    }
    
    .class-filters-grid .form-check {
        margin-bottom: 0;
    }
    
    .filter-section {
        margin-bottom: 1rem;
    }
    
    /* Mobile Menu Dropdown Fix */
    .navbar-collapse .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .navbar-collapse .dropdown-menu .dropdown-menu {
        padding-left: 20px;
    }
    
    .navbar-nav .dropdown-toggle::after {
        float: right;
        margin-top: 8px;
    }
}

/* Book Type Tabs Styles */
.book-type-tabs .nav-tabs {
    border-bottom: none;
}

.book-type-tabs .nav-link {
    border: none;
    background: none;
    color: #666;
    padding: 10px 20px;
    margin: 0 10px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.book-type-tabs .nav-link.active {
    background: none;
    border-bottom: 2px solid #000;
    color: #000;
    font-weight: 600;
}

.book-type-tabs .nav-link:hover {
    border-bottom: 2px solid #ccc;
    color: #333;
}

.bj_banner_area{
 
}
.hero-banner .img-fluid {
    max-width: 83%;
    height: auto;
}
.banner-content {
    color: white;
    z-index: 2;
    position: relative;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}



.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.banner-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.banner-stats div {
    text-align: center;
}

.banner-stats h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffd700;
}

.banner-stats p {
    margin: 0;
    opacity: 0.8;
}

.banner-buttons .btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-right: 15px;
}

.banner-buttons .btn:first-child {
    background:var(--bj-blue);
    color: #333;
}

.banner-buttons .btn:last-child {
    border: 2px solid white;
    color: white;
}

.banner-image {
    text-align: center;
}

.banner-glass-card {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.subject-item {
    background: rgba(255,255,255,0.2);
    height: 80px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.banner-glass-card p {
    color: rgba(255,255,255,0.8);
    margin: 0;
}

@media (max-width: 768px) {
    .filters-container {
    margin-bottom: -2rem;
}
.book-type-tabs .nav-link{
        padding: 10px 0px;
}
    .hero-banner{
        padding: 20px 0;
    }
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .subject-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Navigation Styles */
@media (max-width: 991.98px) {
    .hero-banner .col-lg-5{
        display: none;
    }
    .hero-banner{
        margin-top: 70px;
    }
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .navbar-nav .nav-link {
        color: #333 !important;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: #f8f9fa;
        border: 0;
        box-shadow: none;
        padding-left: 20px;
    }
    
    .navbar-nav .dropdown-menu .dropdown-menu {
        padding-left: 20px;
        background-color: #e9ecef;
    }
    
    .alter_nav {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }
    
    .alter_nav .nav-link {
        color: #333 !important;
    }
    
    .navbar-toggler {
        border: none;
        padding: 4px 8px;
    }
    
    .navbar-toggler:focus {
        box-shadow: none;
    }
    
    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 5px 0;
        transition: 0.3s;
    }
    
    .navbar-collapse.show {
        display: block;
    }
}
.header_area {
    transition: all 0.3s ease;
}

.header_area.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.sticky-offset {
    padding-top: 80px;
}

.sticky .navbar {
    background: transparent !important;
}

