/* ১. বেসিক রিসেট এবং গ্লোবাল স্টাইল */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ২. নেভিগেশন বার */
nav {
    background: linear-gradient(135deg, orange, orangered);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border: 1px solid white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav a:hover {
    background: white;
    color: orangered;
}

/* ৩. মেইন কন্টেইনার এবং টাইটেল */
h1 {
    text-align: center;
    margin: 40px 10% 20px;
    color: #222;
    font-size: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
}

/* ৪. ইমেজ স্টাইল */
img {
    display: block;
    max-width: 90%;
    height: auto;
    margin: 20px auto;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

img:hover {
    transform: scale(1.02);
}

/* ৫. ব্লগের মূল কন্টেন্ট */
div[style*="content"], div {
    max-width: 800px;
    margin: 0 auto 50px;
    padding: 0 20px;
    color: #444;
    font-size: 1.1rem;
    animation: fadeInUp 1s ease-out;
}

/* ৬. ফুটার */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
}

footer p {
    color: gray;
    font-size: 0.9rem;
}

/* ৭. এনিমেশন ইফেক্টস */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ৮. রেসপন্সিভ ডিজাইন (Mobile Friendly) */
@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
        margin: 30px 5% 15px;
    }
    
    div {
        font-size: 1rem;
    }
    
    nav h3 {
        font-size: 1.2rem;
    }
}