/* ==========================================
   ১. বেসিক রিসেট ও গ্লোবাল স্টাইল
=========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip; 
}

body {
    font-family: 'Noto Serif Bengali', serif;
    background-color: #f8f9fa;
    color: #333333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================
   ১.১ স্টিকি নেভিগেশন বার (Navbar Fix)
=========================================== */
.navbar {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* বাটন স্টাইল */
.btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    max-width: 100%;
}

.btn-donate {
    background-color: #ff5722;
    color: #fff !important;
}

.btn-orange {
    background-color: #ff5722;
    color: #fff;
}

.btn-outline {
    border: 1px solid #ff5722;
    color: #ff5722;
    background-color: transparent;
}

.btn-white {
    background-color: #ffffff;
    color: #ff5722;
}

.btn:hover {
    opacity: 0.9;
}

/* ==========================================
   ২. হিরো ব্যাকগ্রাউন্ড স্লাইডার (Hero Slider) - Smooth Transition
=========================================== */
.hero-banner {
    position: relative;
    padding: 100px 0 60px 0; /* ডেস্কটপে পর্যাপ্ত স্পেসিং */
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #1a1a1a;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out, transform 1.5s ease-in-out;
    transform: scale(1.03);
}

.hero-slider .slide.last-active {
    opacity: 1;
    z-index: 1;
}

.hero-slider .slide.active {
    opacity: 1;
    z-index: 2;
    transform: scale(1);
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-content {
    max-width: 550px;
    width: 100%;
    background: transparent !important; /* ব্যাকগ্রাউন্ড সম্পূর্ণ রিমুভ করা হলো */
    backdrop-filter: none; /* ব্লার ইফেক্ট বন্ধ করা হলো */
    padding: 0; /* প্যাডিং প্রয়োজন অনুযায়ী ০ বা কম রাখতে পারেন */
    box-shadow: none !important; /* চারপাশের শ্যাডো রিমুভ করা হলো */
    word-wrap: break-word;
}

.hero-content h1 {
    font-size: 36px;
    color: #1a1a1a;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero-content .highlight {
    color: #ff5722;
}

.hero-content p {
    color: #333333;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
}

.hero-btns {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ==========================================
   ৩. ফিচারস / গ্রিড কার্ডস (Features)
=========================================== */
.features-section {
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.feature-card {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.feature-icon {
    background-color: #ffebe5;
    color: #ff5722;
    font-size: 24px;
    padding: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.feature-info p {
    font-size: 13px;
    color: #666;
}

/* ==========================================
   ৪. প্রজেক্টস সেকশন (Projects)
=========================================== */
.projects-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 28px;
    border-bottom: 3px solid #ff5722;
    padding-bottom: 5px;
}

.btn-link {
    color: #ff5722;
    font-weight: 600;
}

/* প্রজেক্ট গ্রিড আপডেট */
.projects-grid {
    display: grid;
    /* ডেস্কটপে সর্বোচ্চ ৩টি কলাম থাকবে, কিন্তু প্রজেক্ট ১টি হলে পুরো জায়গা দখল করবে না */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

/* ৩টি পর্যন্ত প্রজেক্ট পাশাপাশি রাখার নিয়ম (Large Desktop) */
@media (min-width: 992px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ট্যাবলেট বা মাঝারি স্ক্রিনে ২টি করে কার্ড */
@media (max-width: 991px) and (min-width: 601px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* মোবাইল/ফোনে ১টি করে কার্ড দেখাবে */
@media (max-width: 600px) {
    .projects-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

.project-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.project-img {
    position: relative;
    height: 200px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #ff5722;
    color: #fff;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.project-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.details-link {
    color: #ff5722;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.details-link:hover {
    text-decoration: underline;
}


/* ==========================================
   ৫. কল টু অ্যাকশন (CTA)
=========================================== */
.cta-section {
    margin-bottom: 80px; /* ডেস্কটপে পর্যাপ্ত গ্যাপ */
    padding-bottom: 20px;
}

.cta-box {
    background-color: #ff5722;
    color: #ffffff;
    padding: 25px 30px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-text {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cta-icon {
    font-size: 36px;
    flex-shrink: 0;
}

.cta-text h3 {
    font-size: 22px;
}

.cta-text p {
    font-size: 14px;
    opacity: 0.9;
}

/* ==========================================
   মোবাইল রেসপন্সিভ স্টাইল (৭৬৮ পিক্সেলের নিচে)
=========================================== */
@media (max-width: 768px) {
    .cta-section {
        margin-bottom: 40px; /* মোবাইলে স্পেসিং কিছুটা কমানো হয়েছে */
    }

    .cta-box {
        flex-direction: column; /* এলিমেন্টগুলো একটার নিচে একটা আসবে */
        text-align: center;
        gap: 20px;
        padding: 25px 20px;
    }

    .cta-text {
        flex-direction: column; /* আইকন ও টেক্সট নিচে নিচে আসবে */
        gap: 12px;
    }

    .cta-icon {
        font-size: 40px; /* মোবাইলে আইকন সুন্দর দেখানোর জন্য */
    }

    .cta-text h3 {
        font-size: 18px; /* মোবাইলের উপযুক্ত ফন্ট সাইজ */
    }

    .cta-text p {
        font-size: 13px;
    }
}