body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f1f1f1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #003399;
    color: white;
    padding: 15px 0;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.container {
    padding-top: 150px;
    /* यहाँ 150px कर दें */
    padding-bottom: 50px;
    max-width: 1000px;
    margin: auto;
}


/* --- About Us और Subject Boxes के लिए बेहतर गैप --- */

.subject-box,
.about-section {
    background: white;
    padding: 30px;
    /* पैडिंग थोड़ी बढ़ा दी है ताकि टेक्स्ट साफ़ दिखे */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 60px !important;
    /* यहाँ 60px का गैप दिया है Ads के लिए */
    line-height: 1.8;
    /* पढ़ने में आसानी होगी */
}


/* विज्ञापन के लिए एक खास खाली डिब्बा (Ad Placeholder) */

.ad-slot {
    width: 100%;
    min-height: 250px;
    /* विज्ञापन के लिए ऊंचाई */
    margin: 40px 0;
    background: #ebebeb;
    /* हल्का ग्रे रंग ताकि पता चले यहाँ एड आएगा */
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #bbb;
    border-radius: 10px;
}


/* डार्क मोड में विज्ञापन वाली जगह का रंग */

body.dark-mode .ad-slot {
    background: #252525;
    border-color: #444;
}

.subject-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
}

.paper-button {
    display: inline-block;
    padding: 12px 18px;
    background: #ff6600;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    margin: 8px 6px;
    transition: 0.2s;
}

.paper-button:hover {
    background: #e65c00;
}

.back-btn {
    background: #333;
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 15px;
}

iframe {
    width: 100%;
    height: 90vh;
    border: none;
}


/* --- Dark Mode Section (इसे अपनी पुरानी फाइल के नीचे जोड़ें) --- */

body.dark-mode {
    background: #302f2f94 !important;
    /* गहरा काला बैकग्राउंड */
    color: #f1f1f1 !important;
}

body.dark-mode .subject-box {
    background: #2d2d2d !important;
    /* बॉक्स का रंग डार्क ग्रे */
    color: #f1f1f1 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

body.dark-mode .subject-title {
    color: #4da3ff !important;
    /* टाइटल का रंग नीला-आसमानी */
}

body.dark-mode header {
    background: #111 !important;
}

body.dark-mode p {
    color: #ccc !important;
    /* टेक्स्ट का रंग हल्का ग्रे */
}

#darkModeToggle {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    background: #ffcc00;
    font-weight: bold;
    margin-left: 10px;
}

.breaking-news-section {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #003399;
    margin: 100px auto 20px auto;
    /* हेडर से नीचे रखने के लिए */
    max-width: 95%;
    height: 40px;
    overflow: hidden;
    position: relative;
    border-radius: 5px;
}

#btext {
    background: #ffcc00;
    color: #003399;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
    z-index: 2;
    white-space: nowrap;
}

.scroll-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
}

.scroll-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
    color: #003399;
    font-weight: 500;
    font-size: 16px;
}


/* पट्टी चलाने वाला एनीमेशन */

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}


/* मोबाइल के लिए सेटिंग */

@media (max-width: 600px) {
    .breaking-news-section {
        margin-top: 80px;
    }
}


/* --- Professional & Premium Dark Mode --- */


/* 1. बैकग्राउंड का रंग (एकदम काले की जगह गहरा ग्रे ताकि आँखें न दुखें) */

body.dark-mode {
    background-color: #121212 !important;
    color: #ffffff !important;
}


/* 2. हेडर और नेविगेशन (गहरा नीला लुक बना रहेगा) */

body.dark-mode header {
    background: #003399 !important;
    /* गहरा नेवी ब्लू */
    border-bottom: 2px solid #00d4ff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.39);
}


/* 3. मुख्य हेडिंग और नीले टेक्स्ट का सुधार (ताकि काले पर साफ़ दिखे) */

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode .scroll-text,
body.dark-mode .box h3,
body.dark-mode p {
    color: #00d4ff !important;
    /* हल्का सायन नीला - यह डार्क में चमकता है */
}


/* 4. बटनों वाले डब्बे (Cards) का रंग */

body.dark-mode .box,
body.dark-mode .card {
    background-color: #1e1e1e !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
}


/* 5. फुटर (Footer) को और सुंदर बनाना */

body.dark-mode footer {
    background-color: #001233 !important;
    /* गहरा नीला */
    border-top: 1px solid #00d4ff;
    color: #cccccc !important;
}


/* 6. डार्क मोड में लिंक्स का रंग */

body.dark-mode a {
    color: #00d4ff !important;
}


/* 7. लेटेस्ट अपडेट वाली पट्टी का बैकग्राउंड */

body.dark-mode .breaking-news-section {
    background: #1a1a1a !important;
    border: 1px solid #00d4ff !important;
}

body.dark-mode .ad-slot::after {
    content: "Advertisement";
    color: #555;
    font-size: 12px;
}

.card,
.about-section,
.contact-form {
    background: #ffffff;
    border-radius: 10px;
    padding: 20px;
    margin: 15px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    /* मोबाइल पर किनारों से जगह छोड़ेगा */
}

.download-btn {
    display: inline-block;
    width: 100%;
    /* मोबाइल पर पूरा चौड़ा बटन */
    padding: 12px;
    background-color: #ff6600;
    color: white;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}

h2 {
    color: #003399;
    font-size: 22px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 5px;
}

p {
    line-height: 1.6;
    /* लाइनों के बीच जगह */
    color: #333;
}


/* --- मोबाइल पर टेक्स्ट और फॉन्ट बड़ा करने के लिए --- */

@media (max-width: 600px) {
    /* 1. मुख्य पैराग्राफ का टेक्स्ट बड़ा करें */
    p {
        font-size: 28px !important;
        /* पढ़ने में एकदम साफ़ */
        line-height: 1.8 !important;
        /* लाइनों के बीच अच्छी जगह */
        color: #222 !important;
        /* डार्क कलर ताकि साफ़ दिखे */
    }
    /* 2. हेडिंग (जैसे विषय का नाम) को बड़ा करें */
    h2 {
        font-size: 28px !important;
        font-weight: bold !important;
        margin-bottom: 15px !important;
    }
    /* 3. डाउनलोड और पेपर बटन का टेक्स्ट */
    .download-btn,
    .paper-button {
        font-size: 20px !important;
        /* बटन पर लिखावट बड़ी होगी */
        padding: 15px !important;
        /* बटन का साइज भी बढ़ेगा */
        letter-spacing: 1px;
    }
    /* 4. ब्रेकिंग न्यूज़ वाली पट्टी का टेक्स्ट */
    .scroll-text {
        font-size: 18px !important;
    }
    /* 5. डार्क मोड में भी टेक्स्ट साफ़ दिखे */
    body.dark-mode p {
        color: #e0e0e0 !important;
    }
    /* 6. कंटेनर की पैडिंग थोड़ी कम करें ताकि टेक्स्ट को ज्यादा जगह मिले */
    .container {
        padding-left: 10px;
        padding-right: 10px;
        width: 95%;
    }
}


/* ab aage yhain se  */


/* --- बेसिक सेटिंग्स --- */

body {
    margin: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background-color: #fdfdfd;
    color: #333;
    line-height: 1.6;
}


/* --- धाकड़ हेडर --- */

header {
    background: linear-gradient(135deg, #0044cc, #002266);
    padding: 20px 15px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.top-bar {
    display: flex;
    align-items: center;
    max-width: 1000px;
    margin: auto;
}

.menu-icon {
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    margin-right: 20px;
}

.site-title {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}


/* --- बॉडी कंटेंट --- */

.container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.info-card {
    background: white;
    border-left: 6px solid #0044cc;
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    margin-top: 0;
    color: #0044cc;
    font-size: 22px;
    font-weight: 800;
}

.notice-box {
    background: #fff3cd;
    color: #856404;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #ffeeba;
    font-size: 16px;
    margin-top: 30px;
}


/* --- साइड मेनू डिजाइन --- */

.side-menu {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 2000;
    top: 0;
    left: 0;
    background-color: #111;
    overflow-x: hidden;
    transition: 0.4s;
    padding-top: 60px;
}

.side-menu a {
    padding: 15px 32px;
    text-decoration: none;
    font-size: 18px;
    color: white;
    display: block;
    border-bottom: 1px solid #222;
}

.side-menu a:hover {
    background-color: #0044cc;
}

.menu-header {
    background: #222;
    color: #ffcc00;
    padding: 10px 32px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

.side-menu .closebtn {
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 45px;
}


/* --- फुटर --- */

footer {
    text-align: center;
    padding: 30px;
    background: #f1f1f1;
    color: #666;
    margin-top: 50px;
}


/* मोबाइल रिस्पॉन्सिव */

@media (max-width: 600px) {
    .site-title {
        font-size: 18px;
    }
    .menu-icon {
        font-size: 35px;
    }
}