/* ===== GLOBAL FONT ===== */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

/* ===== GLOBAL CENTER WIDTH ===== */
.main-wrap-980 {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 10px;
}

/* ===== TOP HEADER (LOGO + MENU) ===== */
.top-header-wrap {
    width: 100%;
    background: #8b0000;
    text-align: center;
    padding: 25px 0 30px;
    color: #ffffff;
}

.top-header-title {
    font-size: 44px;
    font-weight: 700;
}

.top-header-subtitle {
    font-size: 22px;
    margin-top: 6px;
}

/* blue menu strip */
.main-menu-bar {
    background: #00194f;
    width: 100%;
}

.main-menu-inner {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.main-menu-inner a {
    color: #ffffff;
    padding: 10px 18px;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
}

.main-menu-inner a:hover {
    background: #002a80;
}

/* tagline row just below menu */
.header-tagline-wrap {
    max-width: 980px;
    margin: 8px auto 0;
    font-size: 14px;
}

/* blue pill button "Sarkari Job Notifications" */
.sarkari-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 4px 14px;
    border-radius: 20px;
    background: #0059d6;
    color: #ffffff;
    font-size: 13px;
    text-decoration: none;
}

.sarkari-pill-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: inline-block;
}

/* top description text */
.top-info-text {
    max-width: 980px;
    margin: 15px auto 5px;
    text-align: center;
    font-size: 13px;
}

/* LIVE blinking badge (desktop styles already inline in Blade, kept minimal here) */
.live-wrap {
    text-align: center;
    margin: 6px 0;
}

/* WhatsApp join button */
.whatsapp-wrap {
    text-align: center;
    margin: 12px 0 10px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    background: #25d366;
    border-radius: 25px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.whatsapp-icon-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
    font-size: 14px;
    font-weight: 700;
}

/* colored job tiles grid */
.job-tiles-wrap {
    margin: 0 auto 20px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
}

.job-tile {
    color: #ffffff;
    text-align: center;
    padding: 10px 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 8px;
    display: block;
}

/* row 1 colors */
.tile-rrb { background: #ff0000; }
.tile-lekhpal { background: #ff6600; }
.tile-gd { background: #ff00cc; }
.tile-dsssb { background: #0000cc; }

/* row 2 colors */
.tile-anganwadi { background: #808000; }
.tile-computer { background: #0044cc; }
.tile-inter { background: #800000; }
.tile-scholar { background: #006600; }

/* ===== THREE-COLUMN RESULT / ADMIT / ONLINE FORM (DESKTOP) ===== */
.result-admit-online-wrapper {
    max-width: 980px;
    margin: 30px auto;
    border-left: 1px solid #b30000;
    border-right: 1px solid #b30000;
    border-bottom: 1px solid #b30000;
    background: #ffffff;
}

.rao-header-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.rao-header {
    background-color: #b30000;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    padding: 10px 0;
    border-left: 1px solid #ffffff;
}

.rao-header:first-child {
    border-left: none;
}

.rao-body-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #b30000;
}

.rao-column {
    padding: 10px 15px 50px;
    border-left: 1px solid #b30000;
    border-bottom: 1px solid #b30000;
    position: relative;
    min-height: 250px;
}

.rao-column:first-child {
    border-left: none;
}

.rao-list {
    list-style-type: disc;
    padding-left: 18px;
    margin: 0 0 10px 0;
}

.rao-list li {
    margin-bottom: 6px;
}

.rao-list a {
    color: #0000cc;
    font-size: 14px;
    text-decoration: underline;
}

.rao-more-btn {
    position: absolute;
    bottom: 12px;
    right: 15px;
    background: #0d47a1;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
}

/* ===== THREE COLUMN: ANSWER KEY / DOCUMENTS / ADMISSION (DESKTOP) ===== */
.ans-doc-adm-wrapper {
    max-width: 980px;
    margin: 30px auto;
    border-left: 1px solid #b30000;
    border-right: 1px solid #b30000;
    border-bottom: 1px solid #b30000;
    background: #ffffff;
}

.ada-header-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.ada-header {
    background-color: #b30000;
    color: #ffffff;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    padding: 8px 0;
    border-left: 1px solid #ffffff;
}

.ada-header:first-child {
    border-left: none;
}

.ada-body-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #b30000;
}

.ada-column {
    padding: 10px 15px 50px;
    border-left: 1px solid #b30000;
    position: relative;
    min-height: 280px;
}

.ada-column:first-child {
    border-left: none;
}

.ada-list {
    list-style-type: disc;
    padding-left: 18px;
    margin: 0;
}

.ada-list li {
    margin-bottom: 6px;
}

.ada-list a {
    color: #0000cc;
    font-size: 14px;
    text-decoration: underline;
}

/* ===== MOBILE COMBINED BLOCKS (HIDDEN ON DESKTOP) ===== */
.rao-ada-mobile {
    display: none;
}

.rao-ada-mobile-block {
    border: 1px solid #b30000;
    background: #ffffff;
    margin-bottom: 18px;
    padding: 10px 12px;
}

.rao-ada-mobile-title {
    background: #b30000;
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    margin: 0 -12px 6px -12px;
    padding: 6px 10px;
    text-align: center;
}

/* ===== FOOTER ===== */
.footer {
    margin: 30px 0 0;
    background: #000000;
    color: #ffffff;
    padding: 18px 0;
    font-size: 13px;
    font-weight: 500;
    border-top: 3px solid #b30000;
}

.footer .main-wrap-980 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer-menu {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ===== RESPONSIVE MEDIA QUERIES ===== */

/* Tablets */
@media (max-width: 992px) {
    .job-tiles-wrap {
        grid-template-columns: repeat(3, 1fr);
    }
    .top-header-title { font-size: 32px; }
    .top-header-subtitle { font-size: 18px; }
}

/* Mobiles */
@media (max-width: 768px) {

    .main-wrap-980 {
        padding: 0 8px;
    }

    .main-menu-inner {
        justify-content: center;
    }

    .main-menu-inner a {
        padding: 8px 10px;
        font-size: 13px;
    }

    .job-tiles-wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .top-info-text {
        font-size: 12px;
        padding: 0 5px;
    }

    .whatsapp-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
    }

    .top-header-title { font-size: 26px; }
    .top-header-subtitle { font-size: 16px; }

    .footer .main-wrap-980 {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    /* Hide desktop 3-column sections */
    .result-admit-online-wrapper,
    .ans-doc-adm-wrapper {
        display: none;
    }

    /* Show mobile combined version */
    .rao-ada-mobile {
        display: block;
        max-width: 980px;
        margin: 20px auto;
        padding: 0 8px;
    }

    .rao-list,
    .ada-list {
        list-style-type: disc;
        padding-left: 18px;
        margin-bottom: 8px;
    }

    .rao-list a,
    .ada-list a {
        color: #0000cc;
        font-size: 14px;
        text-decoration: underline;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .job-tiles-wrap {
        grid-template-columns: 1fr;
    }
}
