/*
Theme Name: Sarkari Modern
Author: AI Assistant
Version: 1.1.0
*/

:root {
    --primary-color: #0056b3;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --bg-color: #ffffff;
}

/* --- Layout Base --- */
body { margin: 0; font-family: 'Inter', sans-serif; background: #f4f7f6; color: var(--text-color); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; box-sizing: border-box; width: 100%; }

/* --- Header & Nav --- */
.site-header { background: #fff; padding: 20px 0; border-bottom: 3px solid var(--primary-color); }
.header-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.main-navigation { background: #333; color: #fff; padding: 5px 0; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; }
.main-navigation li a { color: #fff; padding: 10px 15px; display: block; text-decoration: none; font-size: 14px; }

/* --- Responsive Grids --- */
/* Layout 1: Boxes */
.sarkari-grid { 
    display: grid; 
    grid-template-columns: 1fr; /* Mobile Default */
    gap: 20px; 
    margin: 30px 0; 
}

/* Tablet (2 Columns) */
@media (min-width: 768px) {
    .sarkari-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop (3 Columns) */
@media (min-width: 1024px) {
    .sarkari-grid { grid-template-columns: repeat(3, 1fr); }
}

.sarkari-box { background: #fff; border: 1px solid #ddd; border-radius: 5px; overflow: hidden; }
.sarkari-box-header { background: var(--primary-color); color: #fff; padding: 10px; text-align: center; font-weight: bold; }
.sarkari-box ul { list-style: none; padding: 0; margin: 0; }
.sarkari-box li { padding: 10px; border-bottom: 1px solid #eee; font-size: 14px; }

/* Content Area Sidebar Split */
.content-area { display: block; margin: 20px 0; }
@media (min-width: 1024px) {
    .content-area { display: grid; grid-template-columns: 3fr 1fr; gap: 30px; }
}

/* Ticker Fix */
.news-ticker { background: #ffeb3b; color: #000; padding: 10px 0; font-weight: bold; border-bottom: 1px solid #ddd; }
.news-ticker a { color: #000; text-decoration: none; margin-right: 15px; }

/* Ad Slots Responsive */
.ad-slot { background: #eee; text-align: center; padding: 10px; margin-bottom: 20px; min-height: 90px; display: flex; align-items: center; justify-content: center; font-size: 12px; }


/* --- Header Search Bar --- */
.header-search {
    flex-grow: 1;
    max-width: 400px;
    margin: 0 20px;
}

.search-form {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.search-field {
    border: none;
    padding: 10px 15px;
    flex-grow: 1;
    outline: none;
    font-size: 14px;
}

.search-submit {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0 20px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.search-submit:hover {
    background: #003d82;
}

/* Mobile Search Fix */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; }
    .header-search { 
        width: 100%; 
        max-width: 100%; 
        margin: 15px 0; 
        order: 2; 
    }
    .site-branding { order: 1; margin-bottom: 10px; }
    .header-ad { order: 3; width: 100%; }
}


/* --- Navigation Desktop Styles --- */
.main-navigation { background: #333; position: relative; z-index: 99; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-menu li a { color: #fff; padding: 15px 20px; display: block; text-decoration: none; font-weight: 500; }
.nav-menu li a:hover { background: var(--primary-color); }

/* --- Mobile Menu Toggle Button (Hidden on Desktop) --- */
.menu-toggle { display: none; background: transparent; border: none; color: #fff; padding: 10px; cursor: pointer; align-items: center; gap: 10px; }
.hamburger { width: 20px; height: 2px; background: #fff; position: relative; display: inline-block; }
.hamburger::before, .hamburger::after { content: ''; width: 20px; height: 2px; background: #fff; position: absolute; left: 0; }
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }

/* --- Mobile & Tablet View (Responsive Logic) --- */
@media (max-width: 991px) {
    .menu-toggle { display: flex; } /* Show button */
    
    .nav-menu {
        display: none; /* Hide menu by default */
        flex-direction: column;
        width: 100%;
        background: #444;
        position: absolute;
        left: 0;
        top: 100%;
    }

    /* When menu has "toggled" class, show it */
    .nav-menu.toggled { display: flex; }

    .nav-menu li { border-bottom: 1px solid #555; }
    .nav-menu li a { padding: 15px; width: 100%; }
}

/* Ensure menu button is visible and styled */
.menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    text-align: left;
}

@media (max-width: 991px) {
    .menu-toggle {
        display: block; /* Show on mobile */
    }
    .nav-menu {
        display: none; /* Hide links by default */
        flex-direction: column;
        background: #333;
        width: 100%;
    }
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid #444;
    }
}

/* --- Navigation Styles --- */
.main-navigation { background: #1a1a1a; position: relative; padding: 5px 0; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-menu li a { color: #fff; padding: 15px 20px; display: block; text-decoration: none; font-size: 15px; transition: 0.3s; }
.nav-menu li a:hover { background: var(--primary-color); }

/* --- Advanced Mobile/Tablet Toggle Button --- */
.menu-toggle {
    display: none; /* Desktop par chhupa rahega */
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    padding: 8px 12px;
    cursor: pointer;
    align-items: center;
    border-radius: 4px;
    margin: 5px 0;
}

.hamburger-icon { width: 20px; height: 14px; position: relative; margin-right: 10px; display: inline-block; }
.hamburger-icon span {
    display: block; position: absolute; height: 2px; width: 100%;
    background: #fff; border-radius: 2px; transition: .25s ease-in-out;
}
.hamburger-icon span:nth-child(1) { top: 0; }
.hamburger-icon span:nth-child(2) { top: 6px; }
.hamburger-icon span:nth-child(3) { top: 12px; }

/* Tablet & Mobile Breakpoint (Yahan Tablet fix hai) */
@media (max-width: 1024px) {
    .menu-toggle { display: flex; } /* Tablet par button dikhega */
    
    .nav-menu {
        display: none; /* Shuruat mein band */
        flex-direction: column;
        width: 100%;
        background: #222;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    }

    /* Menu open hone par styling */
    .nav-menu.is-active { display: flex; }

    .nav-menu li { border-bottom: 1px solid #333; }
    .nav-menu li a { padding: 15px; width: 100%; }
}

/* --- Desktop Default --- */
.nav-flex { display: flex; align-items: center; justify-content: space-between; }
.menu-container { display: block; width: 100%; }
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-menu li a { color: #fff; padding: 15px 20px; display: block; text-decoration: none; transition: 0.3s; }
.menu-toggle { display: none; } /* Hide on Desktop */

/* --- TABLET & MOBILE FIX (Up to 1024px) --- */
@media screen and (max-width: 1024px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        background: var(--primary-color);
        border: none;
        padding: 10px 15px;
        color: #fff;
        cursor: pointer;
        border-radius: 4px;
        margin: 10px 0;
        gap: 10px;
    }
    
    /* Hamburger Bars */
    .bar { display: block; width: 20px; height: 2px; background: #fff; margin: 3px 0; }

    /* Hide menu by default on mobile/tablet */
    .menu-container {
        display: none; 
        width: 100%;
        background: #222;
        border-top: 2px solid var(--primary-color);
    }

    .nav-menu { flex-direction: column; width: 100%; }
    .nav-menu li { border-bottom: 1px solid #333; width: 100%; }

    /* The magic class that opens the menu */
    .menu-container.show-menu {
        display: block !important;
    }
}


/* Trending Flash Cards */
.trending-strip { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
    gap: 15px; 
    margin: 20px 0; 
}
.flash-card { 
    background: #fff; 
    padding: 15px; 
    border-radius: 8px; 
    text-align: center; 
    border-bottom: 4px solid var(--primary-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.flash-card:hover { transform: translateY(-5px); box-shadow: 0 8px 15px rgba(0,0,0,0.1); }
.flash-card a { color: #333; font-weight: bold; font-size: 14px; }

/* Ad Containers */
.home-ad-box { 
    background: #fff; 
    padding: 20px; 
    margin: 20px 0; 
    border: 1px dashed #bbb; 
    text-align: center; 
    border-radius: 8px;
}

/* Category Grid Improvements */
.sarkari-box { 
    border: none; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    border-radius: 12px;
}
.sarkari-box-header { 
    border-radius: 12px 12px 0 0; 
    text-transform: uppercase; 
    letter-spacing: 1px;
    font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}
.sarkari-box ul li { padding: 12px 15px; border-bottom: 1px solid #f0f0f0; }
.sarkari-box ul li:hover { background: #f9f9f9; }

/* New Layout Section: Syllabus & Answer Key */
.secondary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* --- Floating Buttons UI --- */
.floating-social-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.float-btn {
    padding: 12px 20px;
    border-radius: 50px;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    transition: 0.3s;
    font-size: 14px;
}

.telegram-btn { background: #0088cc; }
.whatsapp-btn { background: #25d366; }

.float-btn:hover { transform: scale(1.05); color: #fff; }

/* Mobile Optimization: Screen ke niche patti ban jaye */
@media (max-width: 768px) {
    .floating-social-buttons {
        bottom: 0;
        right: 0;
        left: 0;
        flex-direction: row;
        gap: 0;
    }
    .float-btn {
        flex: 1;
        border-radius: 0;
        justify-content: center;
        padding: 15px;
    }
}

/* --- Homepage Filter Section Style --- */
.job-filter-bar {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-item { flex: 1; min-width: 200px; }
.filter-item select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

/* Single Post Styling */
.card-style {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.entry-title { font-size: 28px; color: #111; margin-bottom: 10px; line-height: 1.3; }
.entry-meta { font-size: 13px; color: #666; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }

/* Ad Slot inside Post */
.ad-slot-post { margin: 25px 0; text-align: center; background: #fafafa; border: 1px dashed #ccc; padding: 10px; }

/* Important Links Table Design */
.job-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 15px; }
.job-table th, .job-table td { border: 1px solid #dee2e6; padding: 12px; text-align: left; }
.job-table th { background-color: var(--primary-color); color: #fff; }
.job-table tr:nth-child(even) { background-color: #f8f9fa; }

/* Highlighted Action Buttons */
.btn-apply {
    display: inline-block;
    background: #e63946;
    color: #fff !important;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 4px 0 #b91c1c;
    transition: 0.2s;
}
.btn-apply:hover { transform: translateY(2px); box-shadow: 0 2px 0 #b91c1c; }

/* Social Share */
.share-box { margin-top: 40px; padding: 20px; background: #f0f4f8; border-radius: 8px; text-align: center; }
.share-btn { padding: 8px 15px; border-radius: 4px; color: #fff !important; margin: 0 5px; font-size: 14px; }
.share-btn.wa { background: #25d366; }
.share-btn.tg { background: #0088cc; }


/* --- Mobile Specific Fixes (Only for screens under 768px) --- */
@media screen and (max-width: 768px) {
    
    /* 1. Homepage Boxes ko full-width aur clean banayein */
    .sarkari-grid, .secondary-grid {
        display: block !important; /* Grid hata kar vertical list banayein */
    }
    
    .sarkari-box {
        margin-bottom: 25px; /* Har box ke beech gap */
        border-radius: 8px;
    }

    .sarkari-box-header {
        font-size: 18px;
        padding: 15px;
    }

    /* 2. Job Table ko Mobile par responsive banayein */
    .job-table {
        display: block;
        width: 100%;
        overflow-x: auto; /* Agar table badi ho to scroll ho jaye */
    }

    .job-table td {
        display: block; /* Rows ko stack karein */
        width: 100%;
        box-sizing: border-box;
        text-align: center !important;
        border-bottom: none;
    }

    .job-table tr {
        display: block;
        margin-bottom: 15px;
        border-bottom: 2px solid #eee;
    }

    /* 3. Apply Button ko ungli se dabane layak bada karein */
    .btn-apply {
        display: block;
        width: 100%;
        margin-top: 10px;
        padding: 15px;
        font-size: 16px;
    }

    /* 4. Single Post Heading size kam karein taaki screen se bahar na jaye */
    .entry-title {
        font-size: 22px !important;
        padding: 10px 0;
    }

    .card-style {
        padding: 15px; /* Mobile par padding kam karein */
    }

    /* 5. Trending Strip (Flash Cards) ko 2 columns mein karein */
    .trending-strip {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .flash-card {
        padding: 10px;
        font-size: 12px;
    }
}

/* header.php ki CSS mein ye add karein agar search bar bikhra hua hai */
@media screen and (max-width: 600px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    .header-search {
        width: 100%;
        margin: 15px 0;
    }
    .header-ad {
        display: none; /* Mobile par header ad aksar screen kharab karti hai, ise hide kar sakte hain */
    }
}

/* --- Final Mobile & Tablet Fixes --- */
@media screen and (max-width: 768px) {
    
    /* 1. Font Size Adjustments */
    body { font-size: 14px; } /* Overall text thoda chota */
    
    .entry-title { 
        font-size: 18px !important; 
        line-height: 1.4;
        font-weight: 700;
    }

    .sarkari-box-header {
        font-size: 15px !important;
        padding: 10px !important;
    }

    .sarkari-box ul li a {
        font-size: 13px; /* Links chote aur saaf */
        line-height: 1.3;
    }

    /* 2. Fix Overlapping Floating Buttons */
    .floating-social-buttons {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        flex-direction: row; /* Side-by-side buttons */
        gap: 0;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
        background: #fff; /* Border background */
    }

    .float-btn {
        flex: 1; /* Dono buttons barabar jagah lenge */
        border-radius: 0;
        padding: 12px 5px;
        font-size: 12px;
        justify-content: center;
        box-shadow: none;
    }

    /* Content ko overlap se bachane ke liye footer ke niche space */
    body {
        padding-bottom: 60px; /* Taki buttons content ko na chupayein */
    }

    /* 3. Layout Spacing */
    .container {
        padding: 0 10px; /* Side margins kam karein */
    }

    .sarkari-grid {
        gap: 15px;
        margin: 15px 0;
    }

    .card-style {
        padding: 12px;
        margin-bottom: 15px;
    }

    /* 4. Table Mobile Fix (Scrollable) */
    .job-table {
        font-size: 12px;
    }
    
    .btn-apply {
        padding: 8px 12px;
        font-size: 12px;
    }
}

@media screen and (max-width: 600px) {
    .header-inner {
        padding: 10px 0;
    }
    .site-branding h1 {
        font-size: 18px;
    }
    .header-search {
        margin: 10px 0;
    }
    /* Search field ko chota karein */
    .search-field {
        padding: 8px;
        font-size: 12px;
    }
}

/* Post Card & Typography */
.post-card { background: #fff; padding: 25px; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.post-header { margin-bottom: 20px; border-bottom: 2px solid #f0f0f0; padding-bottom: 15px; }
.post-meta-top { font-size: 13px; color: #777; display: flex; gap: 15px; flex-wrap: wrap; }

/* Quick Summary Box */
.quick-summary { 
    background: #fff9db; 
    border-left: 5px solid #fab005; 
    padding: 15px; 
    margin-bottom: 25px; 
    font-size: 14px; 
    color: #5c5f66;
}

/* Entry Content Customization */
.entry-content-body h2 { 
    background: var(--primary-color); 
    color: #fff; 
    padding: 10px 15px; 
    font-size: 20px; 
    border-radius: 5px; 
    margin-top: 30px;
}
.entry-content-body p { margin-bottom: 15px; line-height: 1.8; color: #333; }

/* Related Posts Section */
.related-jobs-section { margin-top: 40px; padding-top: 20px; border-top: 1px solid #eee; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.related-item { background: #f8f9fa; padding: 10px; border-radius: 5px; border: 1px solid #ddd; }
.related-item a { font-size: 13px; color: #333; }

/* Ad Space in Post */
.post-ad-space { background: #fdfdfd; border: 1px dashed #bbb; padding: 10px; margin: 20px 0; text-align: center; }

/* Mobile Optimizations for Post */
@media (max-width: 768px) {
    .post-card { padding: 15px; }
    .entry-title { font-size: 20px !important; }
    .entry-content-body h2 { font-size: 17px; }
}

/* Advanced Job Table Styling */
.job-summary-wrapper {
    margin: 25px 0;
    overflow-x: auto;
}

.sarkari-job-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 2px solid var(--primary-color);
}

.sarkari-job-table th {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    font-size: 18px;
    text-align: center;
}

.sarkari-job-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    font-size: 15px;
}

.sarkari-job-table td:first-child {
    background: #f9f9f9;
    width: 40%;
}

.highlight-red {
    color: #dc3545;
    font-weight: bold;
}

/* Mobile Fix */
@media screen and (max-width: 600px) {
    .sarkari-job-table th { font-size: 16px; }
    .sarkari-job-table td { font-size: 13px; padding: 10px; }
}

/* SEO Intro Box */
.site-intro-box {
    text-align: center;
    margin-bottom: 30px;
    border-top: 4px solid var(--primary-color);
}
.site-intro-box h1 { font-size: 24px; color: #333; margin-bottom: 10px; }
.site-intro-box p { color: #666; line-height: 1.6; max-width: 800px; margin: 0 auto; }

/* Box Category Colors (Visual Hierarchy) */
.admit-card { background: #6f42c1 !important; }
.latest-job { background: #e83e8c !important; }
.result-cat { background: #28a745 !important; }
.generic-cat { background: #17a2b8 !important; }

/* View More Link */
.view-all { text-align: right; border: none !important; }
.view-all a { color: var(--primary-color) !important; font-weight: bold; font-size: 12px; }

/* Homepage SEO Content at Bottom */
.homepage-seo-content { margin-top: 40px; border-bottom: 4px solid var(--primary-color); }
.homepage-seo-content h2 { font-size: 20px; margin-bottom: 15px; }

/* Trending Flash Cards */
.trending-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}
.card-wrap {
    padding: 20px;
    text-align: center;
    color: #fff;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}
.pink { background: #e91e63; } .blue { background: #2196f3; }
.green { background: #4caf50; } .orange { background: #ff9800; }

/* Qualification Filter */
.qualification-nav {
    background: #fff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.q-btn {
    display: inline-block;
    background: #f1f1f1;
    color: #333;
    padding: 5px 12px;
    margin: 3px;
    border-radius: 3px;
    font-size: 13px;
    text-decoration: none;
}
.q-btn:hover { background: var(--primary-color); color: #fff; }

/* New Tag Animation */
.new-tag {
    background: red;
    color: #fff;
    font-size: 9px;
    padding: 1px 4px;
    border-radius: 3px;
    animation: blink 1s infinite;
}
@keyframes blink { 0% {opacity: 1;} 50% {opacity: 0.3;} 100% {opacity: 1;} }

/* Color Overrides for Grid Headers */
.result-bg { background: #28a745 !important; }
.admit-bg { background: #ffc107 !important; color: #000 !important; }
.job-bg { background: #007bff !important; }


/* Ad Space Styling */
.top-ad-wrapper {
    text-align: center;
    margin-bottom: 25px;
    background: #fff;
    border: 1px dashed #bbb;
    padding: 15px;
}
.ad-label {
    display: block;
    font-size: 10px;
    color: #aaa;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* Qualification Nav Upgrade */
.qualification-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    background: #fdfdfd;
}
.nav-title { font-weight: bold; color: #333; }

/* Grid View More Button */
.view-more-li {
    text-align: center;
    background: #f8f9fa !important;
    border-top: 1px solid #eee !important;
}
.view-more-li a {
    color: var(--primary-color) !important;
    font-weight: bold !important;
    font-size: 13px !important;
}

/* Secondary Info Grid */
.secondary-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}
.info-box {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.info-box h3 { border-bottom: 2px solid var(--primary-color); padding-bottom: 10px; margin-bottom: 15px; }
.state-links a {
    display: inline-block;
    padding: 5px 15px;
    background: #eee;
    margin: 3px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    color: #444;
}

/* Mobile Fixes */
@media screen and (max-width: 768px) {
    .secondary-info-grid { grid-template-columns: 1fr; }
    .qualification-nav { flex-direction: column; text-align: center; }
}

/* Update Tracker Dot */
.update-tracker {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    background: #fff;
    border-left: 5px solid #28a745;
    margin-bottom: 20px;
    font-size: 14px;
}
.tracker-dot {
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* Notice Board */
.notice-board {
    display: flex;
    background: #333 !important;
    color: #fff;
    padding: 10px !important;
    margin-bottom: 25px;
    overflow: hidden;
}
.notice-head {
    background: red;
    padding: 0 15px;
    font-weight: bold;
    white-space: nowrap;
    margin-right: 15px;
}
.notice-board marquee a { color: #ffeb3b; text-decoration: none; font-weight: 500; }

/* Horizontal Extra Boxes */
.extra-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.mini-box ul li { font-size: 13px; }

/* Grid Background Colors */
.syllabus-bg { background: #607d8b !important; }
.answer-bg { background: #795548 !important; }
.admission-bg { background: #009688 !important; }

/* Featured Column - thoda bada dikhega */
.featured-column { transform: scale(1.02); z-index: 10; border: 1px solid var(--primary-color) !important; }

/* Bottom Ad Space */
.bottom-ad-wrapper {
    text-align: center;
    margin-top: 30px;
    background: #fff;
    border: 1px dashed #bbb;
    padding: 15px;
}

/* Social Join Section */
.social-join-box {
    background: #f0f4f8 !important;
    text-align: center;
    padding: 20px !important;
    margin-top: 20px;
    border: 2px solid #d1d9e6;
}
.social-text { font-weight: bold; margin-bottom: 10px; color: #333; }
.social-btns { display: flex; justify-content: center; gap: 15px; }
.social-btns a {
    padding: 10px 20px;
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}
.tg-btn { background: #0088cc; }
.wa-btn { background: #25d366; }
.tg-btn:hover, .wa-btn:hover { opacity: 0.8; transform: translateY(-2px); }

/* Improvement: Mobile Compatibility for Social Btns */
@media screen and (max-width: 600px) {
    .social-btns { flex-direction: column; }
    .social-btns a { width: 100%; }
}