@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700&family=Hind:wght@400;500;600;700&display=swap');
:root {
    --blue: #1E6FB2;
    --blue-dark: #0D3E70;
    --sky: #007bb6;
    --black: #161616;
    --paper: #FFFFFF;
    --paper-2: #F4F8FB;
    --ink: #1B1D1F;
    --ink-soft: #4F5A63;
    --line: #E1E8EF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind', system-ui, sans-serif;
    background: var(--paper-2);
    color: var(--ink);
    overflow-x: hidden;
    transition: transform 0.2s ease, zoom 0.2s ease;
    transform-origin: top center;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- OFFICIAL HEADER --- */
header.site {
    background: linear-gradient(to bottom, #ffffff 0%, #e0f2f1 50%, #b2dfdb 100%);
    border-bottom: 1px solid #333333;
    padding: 6px 0 8px 0;
    max-width: 1110px;
    border-radius: 5px 5px 0 0;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Top Controls Bar */
.top-controls-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px dashed rgba(0, 114, 188, 0.25);
}

.top-btn {
    font-size: 0.75rem;
    color: #0072bc;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #0072bc;
    padding: 2px 6px;
    border-radius: 3px;
    line-height: 1.2;
}

    .top-btn:hover {
        background: #0072bc;
        color: #ffffff;
    }

/* Top Right Controls Styling */
.top-right-controls {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px dashed rgba(0, 114, 188, 0.25);
}

.skip-to-content-btn,
.screen-reader-btn,
.feedback-top-btn {
    font-size: 0.75rem;
    color: #0072bc;
    font-weight: 600;
    background: #ffffff;
    border: 1px solid #0072bc;
    padding: 2px 8px;
    border-radius: 3px;
    line-height: 1.2;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .skip-to-content-btn:hover,
    .screen-reader-btn:hover,
    .feedback-top-btn:hover,
    .skip-to-content-btn:focus,
    .screen-reader-btn:focus,
    .feedback-top-btn:focus {
        background: #0072bc;
        color: #ffffff;
        outline: none;
    }

.zoom-box {
    display: flex;
    align-items: center;
    gap: 2px;
}

    .zoom-box button {
        background: #ffffff;
        border: 1px solid #0072bc;
        color: #0072bc;
        font-weight: 700;
        cursor: pointer;
        padding: 2px 6px;
        font-size: 0.75rem;
        border-radius: 3px;
        line-height: 1.2;
    }

        .zoom-box button:hover {
            background: #0072bc;
            color: #ffffff;
        }

/* Accessibility Focus Fix */
#main-content:focus {
    outline: none;
}

.top-btn:focus {
    outline: 2px solid #004d80;
    background: #0072bc;
    color: #ffffff;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: nowrap;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: none;
}

.official-logo {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.brand-sub {
    color: #0b51a0;
    font-weight: 700;
    font-size: 1.2rem;
    text-align: center;
    flex: 1;
}

/* Admin Login & Lang Toggle Box */
.admin-box {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: none;
}

.admin-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #007bb6;
    font-weight: 700;
    font-size: 0.88rem;
}

.admin-box .a-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #007bb6;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    padding: 2px; /* Inner padding added so edges don't cut */
}

.admin-box .avatar-img {
    width: 100%;
    height: 100%;
    /*object-fit: cover;*/
    object-fit: contain; /* 'cover' ki jagah 'contain' karne se image nahi kategi */
    border-radius: 50%;
}

.lang-toggle {
    display: flex;
    gap: 4px;
    align-items: center;
}

    .lang-toggle button {
        background: transparent;
        border: 1px solid #0072bc;
        color: #0072bc;
        font-weight: 600;
        cursor: pointer;
        padding: 2px 6px;
        font-size: 0.8rem;
        border-radius: 3px;
        margin: 0 1px;
    }

        .lang-toggle button:hover,
        .lang-toggle button.active {
            background: #0072bc;
            color: #ffffff;
        }

    .lang-toggle span {
        color: var(--line);
        font-size: 0.78rem;
    }

/* =========================================================
   NAVBAR DESIGN (Exact Match to Header & Footer Width: 1110px)
   ========================================================= */
.navbar {
    background: var(--black, #161616);
    width: 100%;
    max-width: 1110px; /* Matched exactly with header.site (1110px) */
    margin: 0 auto;
    border-radius: 0;
    box-sizing: border-box;
    position: relative;
    z-index: 1000;
}

/* Desktop Menu Layout - Single Row Setup */
nav.main {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.navbar .nav-item {
    position: relative;
    display: inline-block;
    flex: 1 1 auto;
    text-align: center;
}

    .navbar .nav-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 6px; /* Optimized padding for 1110px container width */
        color: #ffffff;
        font-size: 0.82rem;
        font-weight: 600;
        white-space: nowrap;
        transition: background 0.2s ease;
        text-align: center;
    }

        .navbar .nav-item > a:hover,
        .navbar .nav-item.open > a,
        .navbar .nav-item a.current {
            background: var(--blue, #0072bc);
        }

/* Duplicate Icon Fix */
.has-dd > a::after {
    content: "" !important;
}

/* Dropdown Submenu Design */
.nav-item.has-dd .dropdown {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--blue-dark, #0D3E70);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 12px 28px rgba(13, 62, 112, 0.25);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    padding: 0;
    margin: 0;
}

@media (min-width: 769px) {
    .nav-item.has-dd:hover .dropdown,
    .nav-item.has-dd.open .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        display: block !important;
    }
}

.nav-item.has-dd .dropdown li a {
    padding: 10px 14px !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 500 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    text-align: left !important;
    justify-content: flex-start !important;
}

.nav-item.has-dd .dropdown li:last-child a {
    border-bottom: none;
}

.nav-item.has-dd .dropdown li a:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

/* Mobile Toggle & Responsive Settings */
.menu-toggle {
    display: none;
    background: var(--black, #161616);
    border: 0;
    cursor: pointer;
    padding: 12px 16px;
    width: 100%;
    color: #fff;
    font-weight: 600;
    text-align: left;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav.main {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--black, #161616);
    }

        nav.main.open {
            display: flex;
        }

    .navbar .nav-item {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

        .navbar .nav-item a {
            justify-content: flex-start !important;
            padding: 12px 16px;
            text-align: left !important;
            font-size: 0.88rem;
        }

    .nav-item.has-dd .dropdown {
        position: static !important;
        width: 100% !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        display: none !important;
        background: #092a4c !important;
        border-radius: 0 !important;
        border: none !important;
    }

    .nav-item.has-dd.open .dropdown {
        display: block !important;
    }

    .nav-item.has-dd .dropdown li a {
        padding-left: 30px !important;
    }
}

/* --- INNER PAGE CONTENT --- */
.content-wrap {
    padding-top: 10px;
    padding-bottom: 45px;
}

.modal-content {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.modal-header {
    background: #0072bc;
    padding: 10px 0;
    text-align: center;
}

.modal-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-heading-box {
    background: linear-gradient(180deg, #d8f3f8 0%, #eef9fb 60%, #ffffff 100%);
    padding: 25px 20px;
    text-align: center;
}

.main-heading {
    color: #0077b6;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    font-family: 'Hind', sans-serif;
}

.htmlcontent-body {
    padding: 15px 25px 30px 25px;
}

.intro-p {
    color: #222222;
    font-size: 0.98rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.section-divider {
    border: 0;
    border-top: 1px solid #e2e8f0;
    margin: 18px 0;
}

.section-title {
    color: #0077b6;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.sub-title {
    color: #333333;
    font-size: 0.98rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.custom-list {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

    .custom-list li {
        position: relative;
        padding-left: 18px;
        font-size: 0.95rem;
        line-height: 1.7;
        color: #333333;
        margin-bottom: 8px;
    }

        .custom-list li::before {
            content: "›";
            position: absolute;
            left: 0;
            top: -2px;
            color: #0077b6;
            font-size: 1.3rem;
            font-weight: 700;
        }

/* --- FOOTER --- */
footer {
    background: var(--black);
    color: #C9CFD4;
    padding: 15px 0;
    max-width: 1110px;
    margin: 0 auto;
    border-radius: 0 0 6px 6px;
    box-sizing: border-box;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    padding: 0 15px;
}

.footer-links a {
    opacity: .9;
    color: #fff;
}

    .footer-links a:hover {
        opacity: 1;
        text-decoration: underline;
    }

.footer-links .sep {
    opacity: .4;
    margin: 0 6px;
}

/* =========================================================
   MOBILE RESPONSIVE ADJUSTMENTS (Max-Width: 768px)
   ========================================================= */
@media screen and (max-width: 768px) {
    header.site {
        padding: 8px 10px;
    }

    .top-controls-bar,
    .top-right-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }

    .header-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .brand-logo {
        justify-content: center;
    }

    .official-logo {
        height: 44px;
    }

    .brand-sub {
        font-size: 1rem;
        line-height: 1.3;
    }

    .admin-box {
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .admin-link span {
        font-size: 0.8rem;
    }

    .menu-toggle {
        display: block;
    }

    nav.main {
        display: none;
        flex-direction: column;
        width: 100%;
    }

        nav.main.open {
            display: flex;
        }

    .navbar .nav-item {
        width: 100%;
    }

        .navbar .nav-item a {
            padding: 10px 16px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        }

    .nav-item.has-dd .dropdown {
        position: static;
        width: 100%;
        box-shadow: none;
    }

    .main-heading {
        font-size: 1.4rem;
    }

    .htmlcontent-body {
        padding: 15px 12px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
}
/* *******************************************footer class*******************************************/

/* ==============================
   JKLMC RESPONSIVE FOOTER
============================== */

.site-footer {
    --black: #333333;
    --footer-bottom: #292929;
    --footer-accent: white;
    --footer-text: #C9CFD4;
    width: 100%;
    max-width: 1180px;
    min-height: 0;
    margin: 5px auto 0;
    padding: 0;
    color: var(--footer-text);
    background: var(--black);
    border-radius: 0 0 6px 6px;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-family: Arial, "Noto Sans", sans-serif;
    font-size: 13px;
    line-height: 1.45;
    box-sizing: border-box;
}

    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        box-sizing: border-box;
    }

    /* Gold top accent */

    .site-footer .footer-accent {
        width: 100%;
        height: 3px;
        background: var(--footer-accent);
    }

    /* Main footer layout */

    .site-footer .footer-inner {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
        gap: 26px;
        width: 100%;
        max-width: 1180px;
        min-width: 0;
        margin: 0 auto;
        padding: 15px 24px 13px;
        align-items: start;
    }

    .site-footer .footer-left,
    .site-footer .footer-right {
        min-width: 0;
    }

    /* Section headings */

    .site-footer .footer-heading {
        position: relative;
        margin: 0 0 9px;
        padding: 0 0 7px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 700;
        line-height: 1.3;
        border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    }

        .site-footer .footer-heading::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: -1px;
            width: 42px;
            height: 2px;
            background: var(--footer-accent);
        }

    /* Useful links */

    .site-footer .useful-links-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 14px;
        row-gap: 3px;
    }

        .site-footer .useful-links-grid a {
            display: flex;
            align-items: flex-start;
            gap: 6px;
            min-width: 0;
            padding: 2px 0;
            color: var(--footer-text);
            text-decoration: none;
            font-size: 13px;
            line-height: 1.4;
            transition: color 0.2s ease;
        }

            .site-footer .useful-links-grid a::before {
                content: "\203A";
                flex: 0 0 auto;
                color: var(--footer-accent);
                font-size: 19px;
                line-height: 1.05;
            }

            .site-footer .useful-links-grid a:hover {
                color: #ffffff;
                text-decoration: underline;
                text-underline-offset: 3px;
            }

    /* Last updated */

    .site-footer .last-updated {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 5px;
        margin-top: 9px;
        color: var(--footer-text);
        font-size: 12px;
        line-height: 1.4;
    }

    .site-footer .updated-label {
        color: #ffffff;
        font-weight: 700;
    }

    /* Right section separator */

    .site-footer .footer-right {
        padding-left: 22px;
        border-left: 1px solid rgba(255, 255, 255, 0.20);
    }

    /* Instagram row */

    .site-footer .social-links {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 6px;
        margin: 0 0 6px;
        line-height: 1.35;
    }

        .site-footer .social-links > span:first-child {
            color: var(--footer-text);
        }

        .site-footer .social-links a {
            display: inline-flex;
            flex: 0 0 27px;
            align-items: center;
            justify-content: center;
            width: 27px;
            height: 27px;
            background: #484848;
            border: 1px solid rgba(255, 255, 255, 0.13);
            border-radius: 6px;
            transition: background 0.2s ease, border-color 0.2s ease;
        }

            .site-footer .social-links a:hover {
                background: #505050;
                border-color: var(--footer-accent);
            }

        .site-footer .social-links img {
            display: block;
            width: 19px;
            height: 19px;
            object-fit: contain;
        }

    .site-footer .social-name {
        color: var(--footer-text);
    }

    /* Phone and email */

    .site-footer .contact-details {
        display: grid;
        gap: 4px;
        margin: 0;
    }

    .site-footer .contact-item {
        display: flex;
        align-items: center;
        gap: 7px;
        min-width: 0;
        line-height: 1.4;
    }

    .site-footer .contact-icon {
        display: inline-flex;
        flex: 0 0 25px;
        align-items: center;
        justify-content: center;
        width: 25px;
        height: 25px;
        color: #ffffff;
        background: #484848;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 50%;
        font-size: 14px;
    }

    .site-footer .contact-item a {
        min-width: 0;
        color: var(--footer-text);
        text-decoration: none;
        overflow-wrap: anywhere;
        word-break: break-word;
        transition: color 0.2s ease;
    }

        .site-footer .contact-item a:hover {
            color: #ffffff;
            text-decoration: underline;
            text-underline-offset: 3px;
        }

    /* Copyright strip */

    .site-footer .footer-copyright {
        width: 100%;
        margin: 0;
        padding: 8px 15px;
        color: var(--footer-text);
        background: var(--footer-bottom);
        border-top: 1px solid rgba(255, 255, 255, 0.09);
        text-align: center;
        font-size: 12px;
        line-height: 1.4;
    }

/* ==============================
   TABLETS
============================== */

@media (max-width: 800px) {

    .site-footer .footer-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
        padding: 14px 20px 12px;
    }

    .site-footer .footer-right {
        padding: 11px 0 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.20);
    }

    .site-footer .useful-links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 12px;
    }
}

/* ==============================
   MOBILE
============================== */

@media (max-width: 550px) {

    .site-footer {
        margin-top: 5px;
        font-size: 12px;
        border-radius: 0 0 5px 5px;
    }

        .site-footer .footer-inner {
            gap: 11px;
            padding: 12px 15px 11px;
        }

        .site-footer .footer-heading {
            margin-bottom: 7px;
            padding-bottom: 6px;
            font-size: 15px;
        }

        .site-footer .useful-links-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            column-gap: 12px;
            row-gap: 2px;
        }

            .site-footer .useful-links-grid a {
                gap: 5px;
                padding: 2px 0;
                font-size: 12px;
                line-height: 1.4;
            }

        .site-footer .last-updated {
            gap: 4px;
            margin-top: 8px;
            font-size: 11px;
        }

        .site-footer .footer-right {
            padding-top: 10px;
        }

        .site-footer .social-links {
            gap: 5px;
            margin-bottom: 5px;
        }

            .site-footer .social-links a {
                flex-basis: 25px;
                width: 25px;
                height: 25px;
            }

            .site-footer .social-links img {
                width: 18px;
                height: 18px;
            }

        .site-footer .contact-details {
            gap: 3px;
        }

        .site-footer .contact-item {
            gap: 7px;
        }

        .site-footer .contact-icon {
            flex-basis: 24px;
            width: 24px;
            height: 24px;
            font-size: 13px;
        }

        .site-footer .footer-copyright {
            padding: 8px 10px;
            font-size: 11px;
        }
}

/* VERY SMALL MOBILE SCREENS */

@media (max-width: 350px) {

    .site-footer .footer-inner {
        padding: 11px 12px 10px;
    }

    .site-footer .useful-links-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 2px;
    }

    .site-footer .footer-copyright {
        padding: 8px;
        font-size: 10px;
    }
}

/* Respect reduced-motion preference */

@media (prefers-reduced-motion: reduce) {

    .site-footer *,
    .site-footer *::before,
    .site-footer *::after {
        transition: none !important;
    }
}