@font-face{
    font-family:'NotoBangla';
    src:url('/fonts/NotoSansBengali-Regular.ttf') format('truetype');
    font-weight:400;
}

body,
h1,h2,h3,h4,h5,h6,
p,
a,
button,
input,
textarea,
select,
table,
.card,
.navbar,
.dropdown-menu{

    font-family:'NotoBangla',Arial,sans-serif;

}

.card{
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
}

.card img{
    transition:.3s;
}

.card:hover img{
    transform:scale(1.03);
}

.btn{
    border-radius:8px;
}

@media(max-width:768px){

    h1{
        font-size:28px;
    }

    h2{
        font-size:24px;
    }

    h3{
        font-size:22px;
    }

    .card-img-top{
        height:220px!important;
    }

}


.slider-book-cover{
    width:160px;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    border:4px solid #fff;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
    transition:.3s;
}

.slider-book-cover:hover{
    transform:scale(1.05);
}

@media(max-width:768px){

.slider-book-cover{
    width:90px;
    height:120px;
    margin-top:15px;
}

}

/* Floating Cart */

.floating-cart{

position:fixed;

right:20px;

bottom:95px;

width:60px;

height:60px;

background:#ff9800;

color:#fff;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:26px;

text-decoration:none;

z-index:99998;

box-shadow:0 5px 15px rgba(0,0,0,.3);

transition:.3s;

}

.floating-cart:hover{

background:#e68900;

color:#fff;

transform:scale(1.08);

}

.floating-cart span{

position:absolute;

top:-5px;

right:-5px;

background:red;

color:#fff;

width:24px;

height:24px;

border-radius:50%;

font-size:12px;

display:flex;

align-items:center;

justify-content:center;

font-weight:bold;

border:2px solid #fff;

}

@media(min-width:992px){

.floating-cart{

display:none !important;

}

}


.discount-badge{
    position:absolute;
    top:12px;
    right:12px;
    background:linear-gradient(135deg,#ff3b30,#d90429);
    color:#fff;
    font-size:13px;
    font-weight:700;
    padding:7px 12px;
    border-radius:50px;
    z-index:999;
    box-shadow:0 4px 12px rgba(0,0,0,.25);
    letter-spacing:.3px;
}


.payment-card{

display:flex;

align-items:center;

gap:15px;

padding:18px;

border:2px solid #ddd;

border-radius:12px;

cursor:pointer;

transition:.3s;

background:#fff;

height:100%;

}

.payment-card:hover{

border-color:#0d6efd;

box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.payment-card input{

transform:scale(1.4);

}

.payment-card:has(input:checked){

border-color:#198754;

background:#f0fff4;

}

.whatsapp-float{

position:fixed;

right:20px;

bottom:20px;

width:65px;

height:65px;

background:#25D366;

border-radius:50%;

display:flex;

justify-content:center;

align-items:center;

font-size:34px;

color:#fff;

text-decoration:none;

z-index:99999;

box-shadow:0 10px 25px rgba(0,0,0,.25);

transition:.3s;

}

.whatsapp-float:hover{

transform:scale(1.1);

color:#fff;

}
#previewModal iframe{

    width:100%;

    height:80vh;

}

#previewModal .modal-dialog{

    max-width:1100px;

}

/*=========================
Main Menu
==========================*/

.main-menu .nav-link{

    color:#333;

    font-weight:600;

    padding:12px 18px;

    transition:.25s;

    border-radius:8px;

}

.main-menu .nav-link:hover{

    color:#0d6efd;

    background:#eef5ff;

}

.main-menu .nav-link.active{

    color:#0d6efd;

    background:#eef5ff;

}

.main-menu .dropdown-menu{

    min-width:250px;

}

.blog-content{

font-size:17px;

line-height:1.9;

}

.blog-content img{

max-width:100%;

height:auto;

border-radius:10px;

margin:20px 0;

}

.blog-content h2,
.blog-content h3{

margin-top:35px;

font-weight:700;

}

.blog-content p{

margin-bottom:20px;

}

/*=====================================
Floating Cart Animation
======================================*/

@keyframes cartBounce{

    0%{
        transform:scale(1);
    }

    25%{
        transform:scale(1.25);
    }

    50%{
        transform:scale(.90);
    }

    75%{
        transform:scale(1.15);
    }

    100%{
        transform:scale(1);
    }

}

.floating-cart.animate{

    animation:cartBounce .7s ease;

}

/*==========================
Cart Badge Animation
===========================*/

@keyframes badgePulse{

    0%{
        transform:scale(1);
    }

    50%{
        transform:scale(1.45);
    }

    100%{
        transform:scale(1);
    }

}

.floating-cart span.animate{

    animation:badgePulse .6s;

}

/*=========================
 Error Pages
==========================*/

.error-page{

    min-height:calc(100vh - 180px);

    display:flex;

    align-items:center;

    justify-content:center;

    padding:60px 0;

}

.error-page h1{

    font-size:150px;

    font-weight:800;

    line-height:1;

}

.error-page h2{

    font-size:38px;

    font-weight:700;

}

.error-page p{

    max-width:600px;

    margin:auto;

}

.error-page .btn{

    min-width:180px;

    border-radius:12px;

}

.error-page .input-group{

    max-width:600px;

    margin:auto;

}

.error-page .form-control{

    border-radius:12px 0 0 12px;

}

.error-page .btn{

    border-radius:0 12px 12px 0;

}

@media(max-width:768px){

.error-page{

    min-height:calc(100vh - 120px);

    padding:40px 15px;

}

.error-page h1{

    font-size:90px;

}

.error-page h2{

    font-size:28px;

}

.error-page p{

    font-size:16px;

}

.error-page .btn{

    width:100%;

}

.error-page .d-flex{

    flex-direction:column;

}

}


/*==================================================
PREMIUM HERO SLIDER
==================================================*/

.hero-slider{
    border-radius:20px;
    overflow:hidden;
}

.hero-slide{
    position:relative;
    min-height:560px;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero-overlay{
    min-height:560px;
    display:flex;
    align-items:center;

    background:linear-gradient(
        90deg,
        rgba(15,23,42,.92),
        rgba(15,23,42,.65),
        rgba(15,23,42,.20)
    );
}

.hero-content{
    color:#fff;
    max-width:620px;
}

.hero-badge{
    display:inline-block;
    background:#ff5722;
    color:#fff;
    padding:8px 18px;
    border-radius:50px;
    font-size:14px;
    font-weight:600;
    margin-bottom:18px;
}

.hero-content h1{
    font-size:44px;
    font-weight:700;
    line-height:1.25;
    margin-bottom:18px;
}

.hero-content p{
    font-size:17px;
    line-height:1.8;
    margin-bottom:25px;
    opacity:.95;
}

.hero-price{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    margin-bottom:25px;
}

.hero-price .sale{
    font-size:38px;
    color:#FFD54F;
    font-weight:700;
}

.hero-price .regular{
    text-decoration:line-through;
    opacity:.75;
}

.hero-price .discount{
    background:#dc3545;
    color:#fff;
    padding:6px 14px;
    border-radius:30px;
    font-size:14px;
}

.hero-feature{
    display:flex;
    flex-wrap:wrap;
    gap:15px;
    margin-bottom:30px;
}

.hero-feature span{
    background:rgba(255,255,255,.08);
    padding:8px 14px;
    border-radius:30px;
}

.hero-content .btn{
    padding:13px 32px;
    border-radius:50px;
}

.hero-book{
    width:280px;
    max-width:100%;
    filter:drop-shadow(0 20px 40px rgba(0,0,0,.35));
    animation:floatBook 5s ease-in-out infinite;
}

.hero-book-mobile{
    display:none;
}

@keyframes floatBook{

0%{
transform:translateY(0);
}

50%{
transform:translateY(-12px);
}

100%{
transform:translateY(0);
}

}

.carousel-control-prev,
.carousel-control-next{
    width:60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon{
    background-color:rgba(255,255,255,.25);
    border-radius:50%;
    padding:22px;
}


.hero-buttons{
    display:flex;
    gap:15px;
    flex-wrap:wrap;
}

.hero-buttons .btn{
    padding:13px 35px;
}


@media(max-width:576px){

.hero-slide{

    min-height:auto;
    padding:35px 0;

}

.hero-overlay{

    min-height:auto;
    padding:20px;

}

.hero-content{

    text-align:center;

    max-width:100%;

}

.hero-book-mobile{

    display:block;

    width:170px;

    max-width:70%;

    margin:0 auto 25px;

    filter:drop-shadow(0 20px 35px rgba(0,0,0,.35));

    animation:floatBook 5s ease-in-out infinite;

}

.hero-content h1{

    font-size:24px;

    line-height:1.35;

}

.hero-content p{

    font-size:15px;

    line-height:1.7;

}

.hero-price{

    justify-content:center;

}

.hero-price .sale{

    font-size:28px;

}

.hero-price .regular{

    font-size:16px;

}

.hero-price .discount{

    font-size:12px;

}

.hero-feature{

    justify-content:center;

    gap:10px;

    font-size:13px;

}

.hero-content .btn{

    width:100%;

    margin:8px 0;

    padding:12px;

}

.hero-content .btn.ms-2{

    margin-left:0!important;

}

}


@media(max-width:991px){

.hero-slide{
    min-height:500px;
}

.hero-overlay{
    min-height:500px;
}

.hero-content{
    text-align:center;
    margin:auto;
}

.hero-content h1{
    font-size:32px;
}

.hero-feature{
    justify-content:center;
}

.hero-book{
    width:220px;
}

}