/* ===================================================
   Mushfiq Ahmad [R.A.]
   Main Stylesheet
=================================================== */

:root{

    --bg:#faf8f5;
    --white:#ffffff;
    --primary:#3f2e2e;
    --secondary:#8b6b4a;
    --border:#e8dfd5;
    --shadow:0 10px 35px rgba(0,0,0,.08);

}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family: "Noto Serif Bengali", serif;
    background:var(--bg);
    color:#243b7a;
    line-height:1.7;

}

img{

    width:100%;
    display:block;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:92%;
    max-width:1200px;
    margin:auto;

}

/* ==========================
      HEADER
========================== */

.site-header{

    background:#ffffff;
    text-align:center;
    padding:55px 20px 40px;

}

.site-logo{

    width:150px;
    margin:auto;
    margin-bottom:22px;

}

.site-logo img{

    width:150px;
    height:150px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #ffffff;
    box-shadow:0 8px 25px rgba(0,0,0,.15);

}

.site-branding h1{

    font-size:50px;
    font-weight:600;
    margin-bottom:12px;

}

.tagline{

    font-size:22px;
    color:var(--secondary);
    line-height:1.6;

}

/* ==========================
      NAVIGATION
========================== */

.main-nav{

    background:#ffffff;
    border-top:1px solid var(--border);
    border-bottom:1px solid var(--border);
    position:sticky;
    top:0;
    z-index:999;

}

.main-nav ul{

    display:flex;
    justify-content:center;
    gap:45px;
    padding:18px;

}

.main-nav a{

    font-size:18px;
    font-weight:600;
    transition:.3s;
    padding-bottom:6px;

}

.main-nav a:hover,
.main-nav .active{

    color:var(--secondary);
    border-bottom:2px solid var(--secondary);

}

/* ==========================
      HERO
========================== */

.hero{

    padding:40px 0 20px;

}

.hero-content{

    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;

}

.hero-image{

    display:flex;
    justify-content:center;
    align-items:center;

}

.hero-image img{

    width:60%;
    max-width:380px;
    border-radius:22px;
    box-shadow:var(--shadow);

}

.hero-text h2{

    font-size:48px;
    margin-bottom:20px;
    line-height:1.2;

}

.hero-text h3{

    font-size:28px;
    font-weight:400;
    color:#666;
    margin-bottom:35px;
    line-height:1.5;

}

.hero-date{

    display:inline-block;
    background:#ffffff;
    border:1px solid var(--border);
    border-radius:14px;
    padding:20px 35px;
    box-shadow:var(--shadow);

}

.hero-date span{

    display:block;

}

.hero-date span:first-child{

    font-size:19px;
    font-weight:600;
    margin-bottom:8px;

}

.hero-date span:last-child{

    color:var(--secondary);
    font-size:17px;

}

/* ==========================
      RESPONSIVE
========================== */

@media (max-width:992px){

.hero-content{

grid-template-columns:1fr;
text-align:center;
gap:45px;

}

.hero-image img{

width:70%;
max-width:360px;

}

.hero-text h2{

font-size:40px;

}

.hero-text h3{

font-size:24px;

}

}

@media (max-width:768px){

.site-header{

padding:40px 20px;

}

.site-logo{

width:130px;

}

.site-logo img{

width:130px;
height:130px;

}

.site-branding h1{

font-size:34px;

}

.tagline{

font-size:18px;

}

.main-nav ul{

flex-wrap:wrap;
gap:18px;

}

.main-nav a{

font-size:16px;

}

.hero{

padding:60px 0;

}

.hero-image img{

width:80%;
max-width:320px;

}

.hero-text h2{

font-size:34px;

}

.hero-text h3{

font-size:22px;

}

.hero-date{

padding:18px 24px;

}

}

@media (max-width:576px){

.container{

width:92%;

}

.site-logo{

width:110px;

}

.site-logo img{

width:110px;
height:110px;

}

.site-branding h1{

font-size:28px;

}

.tagline{

font-size:16px;

}

.hero-image img{

width:100%;
max-width:280px;

}

.hero-text h2{

font-size:28px;

}

.hero-text h3{

font-size:20px;

}

.hero-date{

width:100%;

}

}
/* ===========================================
        INTRO SECTION
=========================================== */

.intro-section{

    padding:90px 0;

    background:#ffffff;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title h2{

    font-size:44px;

    color:#243b7a;

    font-weight:600;

    line-height:1.4;

}

.title-line{

    width:120px;

    height:4px;

    background:var(--secondary);

    margin:25px auto 0;

    border-radius:50px;

}

.intro-card{

    max-width:900px;

    margin:auto;

    background:#faf8f5;

    padding:55px;

    border-radius:24px;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

}

.intro-card p{

    font-size:21px;

    line-height:2;

    color:#444;

    margin-bottom:28px;

    text-align:justify;

}

.intro-card blockquote{

    margin-top:40px;

    text-align:center;

    font-size:30px;

    color:var(--secondary);

    font-style:italic;

    font-weight:600;

}

/* ---------- Responsive ---------- */

@media(max-width:768px){

.intro-section{

padding:70px 0;

}

.section-title h2{

font-size:32px;

}

.intro-card{

padding:35px 28px;

}

.intro-card p{

font-size:18px;

text-align:left;

}

.intro-card blockquote{

font-size:24px;

}

}
/* ===========================================
        নির্বাচিত বয়ান
=========================================== */

.featured-boyan{

    padding:90px 0;

    background:var(--bg);

}

.section-subtitle{

    margin-top:0px;

    color:#777;

    font-size:18px;

}

.boyan-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:22px;

    margin-top:60px;
    justify-content:center;

}

.boyan-card{

    background:#ffffff;

    border-radius:20px;

    padding:28px 20px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

    border:1px solid var(--border);
    max-width:220px;

}

.boyan-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 45px rgba(0,0,0,.12);

}

.boyan-icon{

    font-size:54px;

    margin-bottom:8px;

}

.boyan-card h3{

    font-size:28px;

    margin-bottom:12px;

    color:var(--primary);

}

.boyan-card p{

    color:#666;

    font-size:17px;

    line-height:1.7;

}

@media(max-width:992px){

.boyan-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:576px){

.boyan-grid{

grid-template-columns:1fr;

}

.boyan-card{

padding:35px 25px;

}

}
/* ===========================================
        FEATURED MALFUZAT
=========================================== */

.featured-malfuzat{

    padding:90px 0;

    background:#ffffff;

}

.malfuzat-grid{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:25px;

    margin-top:60px;

}

.malfuzat-card{

    background:#faf8f5;

    border:1px solid var(--border);

    border-radius:20px;

    padding:35px 20px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.malfuzat-card:hover{

    transform:translateY(-8px);

    box-shadow:0 18px 40px rgba(0,0,0,.12);

}

.book-icon{

    font-size:52px;

    margin-bottom:20px;

}

.malfuzat-card h3{

    font-size:26px;

    margin-bottom:10px;

    color:var(--primary);

}

.malfuzat-card p{

    color:#777;

    margin-bottom:25px;

    font-size:18px;

}

.read-link{

    color:var(--secondary);

    font-weight:700;

    font-size:17px;

    transition:.3s;

}

.malfuzat-card:hover .read-link{

    letter-spacing:1px;

}

@media(max-width:1200px){

.malfuzat-grid{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:768px){

.malfuzat-grid{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:576px){

.malfuzat-grid{

grid-template-columns:1fr;

}

}
/* ==========================
   Intro Button
========================== */

.intro-button{

    text-align:center;

    margin-top:35px;

}

.btn-about{

    display:inline-block;

    padding:15px 42px;

    background:#8b6b4a;

    color:#fff;

    font-size:18px;

    font-weight:600;

    border-radius:50px;

    transition:.35s ease;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

.btn-about:hover{

    background:#6f5438;

    transform:translateY(-3px);

    box-shadow:0 14px 28px rgba(0,0,0,.18);

}
/* ===================================================
                ABOUT PAGE
=================================================== */

.about-page{

    padding:80px 0;

}

.about-header{

    text-align:center;

    margin-bottom:60px;

}

.about-small-title{

    display:inline-block;

    font-size:22px;

    color:#8b6b4a;

    letter-spacing:2px;

    margin-bottom:15px;

}

.about-header h1{

    font-size:54px;

    color:#3f2e2e;

    margin-bottom:15px;

    font-weight:700;

}

.about-header h2{

    font-size:28px;

    font-style:italic;

    color:#8b6b4a;

    font-weight:500;

}

.about-article{

    max-width:1000px;

    margin:0 auto;

    font-family:"Noto Serif Bengali", serif;

    font-size:1.42rem;

    line-height:2.35;

    font-weight:500;

    color:#123f8d;

    text-align:justify;

    text-justify:inter-word;

    letter-spacing:.01em;

    -webkit-font-smoothing:antialiased;

    -moz-osx-font-smoothing:grayscale;

}


.about-article p{

    font-family:"Noto Serif Bengali", serif;

    font-size:20px;

    line-height:2.15;

    font-weight:500;

    text-align:justify;

    text-justify:inter-word;

    margin-bottom:32px;

    color:#123f8d !important;

}

.about-article strong{

    color:#0a2f75 !important;

    font-weight:700;

}

.about-article blockquote{

    margin:50px auto;

    max-width:750px;

    text-align:center;

    font-size:34px;

    font-style:italic;

    color:#8b6b4a;

    font-weight:600;

    line-height:1.6;

}

.about-article hr{

    margin:60px auto;

    width:140px;

    border:none;

    border-top:2px solid #d8c7b4;

}

@media(max-width:768px){

.about-header h1{

font-size:38px;

}

.about-header h2{

font-size:22px;

}

.about-article{

padding:35px 25px;

}

.about-article p{

font-size:19px;

line-height:2;

}

.about-article blockquote{

font-size:26px;

}

.about-article p:first-child:first-letter{

font-size:54px;

line-height:48px;

}

}
/* =====================================
   CONTACT PAGE
===================================== */

.contact-hero{

    padding:70px 0 35px;

}

.contact-heading{

    text-align:center;

    max-width:900px;

    margin:auto;

}

.contact-heading h1{

    font-size:48px;

    margin-bottom:20px;

    color:var(--primary);

}

.contact-heading p{

    font-size:20px;

    line-height:1.9;

    color:#666;

}


.contact-content{

    padding:30px 0 70px;

}


.contact-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

    max-width:900px;

    margin:0 auto;

    align-items:stretch;

}


.contact-card{

    background:#ffffff;

    padding:22px;

    border-radius:16px;

    text-align:center;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

    height:100%;

}
.contact-card h2{

    font-size:22px;

    margin-bottom:18px;

    line-height:1.3;

}
.contact-card p{

    font-size:17px;

    margin:10px 0;

}

.contact-card h2{

    font-size:34px;

    margin-bottom:20px;

    color:var(--primary);

}


.contact-card p{

    font-size:18px;

    line-height:1.9;

    color:#555;

    margin-bottom:20px;

}


.contact-list{

    margin-top:25px;

}


.contact-list li{

    padding:14px 0;

    border-bottom:1px solid #ececec;

    font-size:18px;

}


.contact-list li:last-child{

    border-bottom:none;

}


/* ==============================
   CONTACT RESPONSIVE
============================== */

@media(max-width:900px){

.contact-grid{

grid-template-columns:1fr;

}

.contact-heading h1{

font-size:38px;

}

.contact-card{

padding:30px;

}

}
/* ==========================
   WhatsApp Section
========================== */

.whatsapp-section{

    padding:70px 0;

}

.whatsapp-card{

    max-width:700px;

    margin:auto;

    text-align:center;

    background:#fff;

    padding:45px;

    border-radius:24px;

    box-shadow:var(--shadow);

    border:1px solid var(--border);

}

.whatsapp-card h2{

    font-size:34px;

    margin-bottom:18px;

}

.whatsapp-card p{

    font-size:18px;

    color:#666;

    line-height:1.8;

    margin-bottom:30px;

}

.whatsapp-qr{

    width:280px;

    margin:25px auto;

    border-radius:16px;

}

.whatsapp-btn{

    display:inline-block;

    margin-top:25px;

    background:#25D366;

    color:#fff;

    padding:12px 28px;

    border-radius:30px;

    font-size:18px;

    font-weight:600;

    transition:.3s;

}

.whatsapp-btn:hover{

    background:#1da851;

}
/* ===================================
MALFUZAT HERO
=================================== */

.malfuzat-hero{

padding:90px 0;

text-align:center;

}

.malfuzat-hero h1{

font-size:52px;

margin-bottom:20px;

color:var(--primary);

}

.malfuzat-hero p{

max-width:760px;

margin:auto;

font-size:21px;

line-height:1.9;

color:#666;

}
/*==================================
MALFUZAT VOLUME
==================================*/

.volume-section{

padding:20px 0 90px;

}

.section-title{

text-align:center;

margin-bottom:50px;

}

.section-title h2{

font-size:40px;

margin-bottom:12px;

color:var(--primary);

}

.section-title p{

font-size:18px;

color:#666;

}

.volume-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

gap:30px;

}

.volume-card{

background:#fff;

border:1px solid var(--border);

border-radius:18px;

padding:35px;

box-shadow:var(--shadow);

transition:.35s;

}

.volume-card:hover{

transform:translateY(-8px);

}

.volume-number{

display:inline-block;

background:#f3ece4;

padding:8px 18px;

border-radius:50px;

font-weight:600;

color:var(--secondary);

margin-bottom:20px;

}

.volume-card h3{

font-size:28px;

margin-bottom:15px;

}

.volume-card p{

color:#666;

margin-bottom:25px;

line-height:1.8;

}

.volume-card a{

display:inline-block;

padding:12px 28px;

background:var(--secondary);

color:#fff;

border-radius:50px;

font-weight:600;

transition:.3s;

}

.volume-card a:hover{

background:var(--primary);

}
/* ===================================================
   MALFUZAT VOLUME PAGE
=================================================== */

.volume-hero{

    padding:70px 0 40px;

    text-align:center;

}

.volume-hero h1{

    font-size:50px;

    color:var(--primary);

    margin-bottom:10px;

}

.volume-hero h2{

    font-size:30px;

    color:var(--secondary);

    font-weight:600;

    margin-bottom:15px;

}

.volume-hero p{

    font-size:20px;

    color:#666;

}


/* ==========================
   MALFUZAT LIST
========================== */

.malfuzat-list{

    padding-bottom:70px;

}

.malfuzat-list .container{

    max-width:840px;

}


.malfuzat-item{

    padding:20px 0;

    border-bottom:2px solid #d6c7b8;

}


.malfuzat-item:first-child{

    border-top:2px solid #d6c7b8;

}


.malfuzat-item h3{

    font-size:24px;

    color:var(--primary);

    margin-bottom:18px;

    display:flex;

    align-items:center;

    gap:10px;

}


.malfuzat-item p{

    font-family: "Noto Serif Bengali", serif;

    font-size:19px;

    line-height:1.9;

    font-weight:400;

    color:#2202a3;

    text-align:justify;

    letter-spacing:.15px;

}

}


/* ==========================
   VOLUME NAVIGATION
========================== */

.volume-navigation{

    padding:30px 0 80px;

}


.volume-navigation .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

}

.prev-volume{

    margin-right:auto;

}

.all-volume{

    margin:0 auto;

}

.next-volume{

    margin-left:auto;

}


.volume-navigation a{

    display:inline-block;

    padding:14px 26px;

    background:#fff;

    border:1px solid var(--border);

    border-radius:12px;

    color:var(--primary);

    font-weight:600;

    transition:.3s;

}


.volume-navigation a:hover{

    background:var(--secondary);

    color:#fff;

}
.all-volume{

    background:#f8f5f1 !important;

    color:var(--secondary) !important;

    border:1px solid var(--border) !important;

}

.volume-navigation .disabled{

    opacity:.45;

    pointer-events:none;

}


/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px){

.volume-hero h1{

font-size:38px;

}

.volume-hero h2{

font-size:24px;

}

.volume-hero p{

font-size:18px;

}

.malfuzat-item{

padding:14px 0;

}

.malfuzat-item h3{

font-size:22px;

}

.malfuzat-item p{

    font-size:17px;

    line-height:1.9;

    font-weight:500;

}

.volume-navigation .container{

    display:flex;

    flex-direction:column;

    align-items:stretch;

}

.volume-navigation a{

width:100%;

text-align:center;

}

}
/* ==========================
   BACK TO TOP BUTTON
========================== */

#topBtn{

    position:fixed;

    bottom:35px;

    right:35px;

    width:60px;

    height:60px;

    border:none;

    border-radius:50%;

    background:var(--secondary);

    color:#fff;

    font-size:34px;

    font-weight:700;

    display:none;

    justify-content:center;

    align-items:center;

    line-height:1;

    cursor:pointer;

    z-index:9999;

    box-shadow:0 10px 30px rgba(0,0,0,.30);

    transition:.3s;

}

#topBtn:hover{

transform:translateY(-4px) scale(1.08);

box-shadow:0 14px 35px rgba(0,0,0,.35);

}

.copy-btn{

    display:inline-flex;

    align-items:center;

    gap:6px;

    margin-top:2px;

    margin-bottom:12px;

    padding:8px 18px;

    border:none;

    border-radius:8px;

    background:#9b7348;

    color:#fff;

    font-size:15px;

    cursor:pointer;

    transition:.25s;

}

.copy-btn:hover{

    background:#7f5c37;

}
.copy-area{

    display:flex;

    justify-content:flex-end;

    margin-top:0px;

    margin-bottom:0px;

}
.boyan-hero{

    text-align:center;

}

.boyan-hero p{

    max-width:700px;

    margin:20px auto 0;

    text-align:center;

}
/* =========================================
   BOYAN PAGE (NEW DESIGN)
========================================= */

.language-grid{
    max-width:1050px;
    margin:45px auto 20px;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:18px;
}

.language-card{
    background:#fff;
    border:1px solid #e8ddd1;
    border-radius:16px;
    padding:22px 16px;
    text-align:center;
    transition:.3s;
    text-decoration:none;
    color:#2f1d1d;
    box-shadow:0 8px 22px rgba(0,0,0,.06);
}

.language-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 28px rgba(0,0,0,.10);
}

.language-card .icon{
    font-size:34px;
    margin-bottom:12px;
}

.language-card h3{
    font-size:24px;
    margin:0 0 10px;
    line-height:1.25;
}

.language-card p{
    font-size:15px;
    margin:6px 0;
}

.language-btn{
    display:inline-block;
    margin-top:16px;
    padding:10px 26px;
    border-radius:30px;
    background:#a67845;
    color:#fff;
    text-decoration:none;
    font-size:15px;
    font-weight:600;
}

.language-btn:hover{
    background:#8c6338;
}

@media(max-width:992px){

    .language-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px){

    .language-grid{
        grid-template-columns:1fr;
    }

}
.boyan-title{

    text-align:center;

    margin-bottom:45px;

}

.boyan-title p{

    max-width:700px;

    margin:18px auto 0;

    text-align:center;

    font-size:22px;

    line-height:1.7;

}
.boyan-title h1{

    font-size:64px;

    margin-bottom:18px;

}