/* General Styles */
:root {
    --primary-color: #F37321;
    --dark-color: #1a1a1a;
    --text-color: #333;
    --light-gray-color: #f4f4f4;
    --white-color: #ffffff;
    --heading-font: 'Oswald', sans-serif;
    --body-font: 'Noto Sans Bengali', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--white-color);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.main-header {
    background: var(--dark-color);
    color: var(--white-color);
    padding: 60px 0;
    text-align: center;
    border-bottom: 8px solid var(--primary-color);
}

.main-header h1 {
    font-family: var(--heading-font);
    font-size: 4rem;
    letter-spacing: 2px;
    margin: 10px 0;
    text-transform: uppercase;
}

.main-header .highlight {
    color: var(--primary-color);
}

.main-header .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.9;
}

.checklist-icon-header {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: var(--primary-color);
    color: var(--dark-color);
    border-radius: 10px;
    padding: 10px;
    transform: rotate(-5deg);
    margin-bottom: 20px;
}

/* Main Content Styles */
.chapter {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.chapter h2 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.chapter .chapter-intro {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 40px;
    font-style: italic;
}

.step {
    margin-bottom: 40px;
}

.step h3 {
    font-family: var(--body-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Custom Checklist Styles */
.checklist {
    list-style: none;
    padding-left: 0;
}

.checklist li {
    font-size: 1rem;
    padding: 15px 0 15px 45px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
    cursor: pointer; /* মাউস নিলে হাতের চিহ্ন দেখানোর জন্য */
    -webkit-user-select: none; /* টেক্সট সিলেক্ট হওয়া বন্ধ করার জন্য */
    -ms-user-select: none;
    user-select: none;
}

.checklist li:hover {
    background-color: #fffaf5;
}

/* খালি চেকবক্সের স্টাইল */
.checklist li::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    background-color: var(--white-color);
    border: 2px solid var(--primary-color);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* টিক দেওয়া চেকবক্সের স্টাইল (নতুন যুক্ত হয়েছে) */
.checklist li.checked::before {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}

.checklist li ul {
    list-style: none;
    padding-left: 20px;
    margin-top: 15px;
}

.checklist li ul li {
    border: none;
    padding: 5px 0 5px 30px;
    cursor: default; /* সাব-আইটেম ক্লিকযোগ্য নয় */
}

.checklist li ul li:hover {
    background-color: transparent;
}

.checklist li ul li::before {
    content: '→';
    font-weight: bold;
    color: var(--primary-color);
    border: none;
    background: none;
    font-size: 1.2rem;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: auto;
    height: auto;
}


/* Footer Styles */
.main-footer {
    background: var(--dark-color);
    color: var(--white-color);
    text-align: center;
    padding: 30px 0;
    margin-top: 40px;
}

.main-footer p {
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2.8rem;
    }

    .main-header .subtitle {
        font-size: 1rem;
    }

    .chapter h2 {
        font-size: 2rem;
    }
}