/*
Theme Name: ASF Pro Custom
Author: Sabbir Ahmad
Version: 2.5
*/

:root {
    --sbdf-green: #006837;
    --sbdf-yellow: #fab915;
    --white: #ffffff;
    --light-bg: #f8f9fa;
}

/* Layout Reset */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    background-color: var(--light-bg);
}

/* --- ১. পেজ লোডার --- */
#sbdf-preloader {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: #fff;
    display: flex; justify-content: center; align-items: center;
    z-index: 999999;
}
.loader-img { width: 100px; animation: pulse 1.5s infinite ease-in-out; }
@keyframes pulse { 0% { transform: scale(0.9); opacity: 0.7; } 50% { transform: scale(1); opacity: 1; } 100% { transform: scale(0.9); opacity: 0.7; } }
.loader-hidden { opacity: 0; visibility: hidden; transition: 0.5s; }

/* --- ২. হেডার এবং স্টিকি সিস্টেম --- */
.sbdf-header {
    background: #ffffff;
    width: 100%;
    z-index: 9999;
    transition: 0.3s;
}

/* যখন স্ক্রল করা হবে তখন এই ক্লাসটি JS দিয়ে যোগ হবে */
.is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.top-social-bar { background: #f8f9fa; border-bottom: 1px solid #eee; padding: 8px 0; }
.header-container { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }

/* Navigation */
.desktop-nav-area { display: flex; align-items: center; gap: 20px; }
.main-navigation ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 20px; }
.main-navigation ul li a { text-decoration: none; color: #333; font-weight: 600; font-size: 15px; }

/* ডোনেট বাটন (শ্যাডোসহ, আইকন ছাড়া) */
.btn-donate-header {
    background: linear-gradient(45deg, var(--sbdf-green), #004d29);
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 104, 55, 0.3);
    border: none;
}

/* --- ৩. মোবাইল মেনু --- */
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; color: var(--sbdf-green); cursor: pointer; }

#mobilePanel {
    position: fixed;
    top: 0; right: -320px; width: 300px; height: 100%;
    background: #fff; z-index: 100000; transition: 0.4s;
    padding: 30px 20px; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}
#mobilePanel.active { right: 0; }
#mobilePanel ul { list-style: none; padding: 0; }
#mobilePanel ul li a { display: block; padding: 12px 0; text-decoration: none; color: #333; font-weight: 600; border-bottom: 1px solid #f5f5f5; }

.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 99999; display: none; }

/* Footer */
.sbdf-footer { background: #004d29; color: #fff; padding: 80px 0 0; margin-top: 100px; border-top: 5px solid var(--sbdf-yellow); }

@media screen and (max-width: 991px) {
    .main-navigation { display: none; }
    .mobile-toggle { display: block; }
}
/* ১. ডান পাশের সাদা দাগ বা স্ক্রল সমস্যার সমাধান */
html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    position: relative;
    margin: 0;
    padding: 0;
}

/* ২. দান করুন বাটন - প্রিমিয়াম ডিজাইন */
.btn-donate-header {
    background: linear-gradient(135deg, #006837 0%, #004d29 100%) !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 50px !important; /* পুরোপুরি রাউন্ডেড */
    font-weight: 700 !important;
    font-size: 15px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: all 0.3s ease !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    
    /* বাটনের শ্যাডো */
    box-shadow: 0 4px 15px rgba(0, 104, 55, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-donate-header:hover {
    background: #fab915 !important; /* হোভারে আপনার থিমের হলুদ কালার */
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(250, 185, 21, 0.4) !important;
    border-color: transparent !important;
}

/* মোবাইল রেসপন্সিভ চেক */
@media screen and (max-width: 768px) {
    .btn-donate-header {
        padding: 8px 20px !important;
        font-size: 13px !important;
    }
}