*,
*::before,
*::after {
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: Arial, "Noto Sans Devanagari", sans-serif;
    margin: 0;
    padding: 0;
    background: #f2f4f7;
    color: #333;
}

img { max-width: 100%; }

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 30px;
    min-height: 150px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.header-left {
    width: 170px;
    flex: 0 0 170px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.logo {
    width: auto;
    height: 64px;
    object-fit: contain;
}

.time-display {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.header-center {
    flex: 1;
    text-align: center;
}

.header-center h1 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.5vw, 36px);
    line-height: 1.25;
}

.header-center h2 {
    margin: 0;
    color: #00a37a;
    font-size: 22px;
}

.navbar {
    background: #2c3e50;
    padding: 0;
}

nav ul.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin: 0;
    padding: 0;
}

nav ul.menu > li { position: relative; }

nav ul.menu > li > a {
    display: block;
    padding: 14px 18px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font-size: 16px;
}

nav ul.menu > li:hover > a { background: #e67e22; }

nav ul.menu .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #282323;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(0,0,0,.25);
}

nav ul.menu li:hover > .submenu { display: block; }

nav ul.menu .submenu li a {
    display: block;
    padding: 11px 14px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

nav ul.menu .submenu li a:hover { background: #e67e22; }

.breaking-news {
    position: relative;
    overflow: hidden;
    background: #110d09;
    color: #fff;
    min-height: 42px;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
}

.ticker-track {
    display: inline-flex;
    width: max-content;
    animation: ticker 55s linear infinite;
    gap: 70px;
    padding-left: 100%;
}

.ticker-track span { white-space: nowrap; }

.breaking-news:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

main { padding: 16px; }

.content-wrapper {
    display: grid;
    grid-template-columns: minmax(190px, 20%) minmax(0, 60%) minmax(190px, 20%);
    gap: 16px;
    align-items: start;
    max-width: 1600px;
    margin: 0 auto;
}

.sidebar,
.main-content {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.10);
}

.sidebar {
    padding: 16px;
    min-width: 0;
}

.main-content {
    padding: 16px;
    min-width: 0;
}

.center-text {
    text-align: center;
    margin: 8px 0;
}

.center-text h2,
.sidebar h2 {
    color: #007b5e;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card {
    width: 170px;
    max-width: 100%;
    background: #fff;
    border-radius: 15px;
    padding: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,.10);
    text-align: center;
}

.card img.sidebar-image {
    display: block;
    width: 145px;
    height: 145px;
    margin: 0 auto;
    border-radius: 50%;
    border: 3px solid #e67e22;
    object-fit: cover;
    object-position: top;
}

.box {
    margin-top: 16px;
    text-align: center;
}

.clickable-box a { display: block; }

.clickable-box img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== MAIN NAMLI SLIDER ===== */
.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 320px;
    max-height: 560px;
    overflow: hidden;
    border-radius: 12px;
    background: #111;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-in-out;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
}

.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 60px;
    border: 0;
    border-radius: 8px;
    background: rgba(0,0,0,.48);
    color: #fff;
    font-size: 32px;
    line-height: 60px;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .2s ease;
}

.slider-btn:hover {
    background: rgba(0,0,0,.75);
}

.slider-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

.slider-btn.prev { left: 14px; }
.slider-btn.next { right: 14px; }

.slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    z-index: 11;
    padding: 0 70px;
}

.slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.65);
    cursor: pointer;
    transition: all .2s ease;
}

.slider-dot.active {
    width: 28px;
    border-radius: 8px;
    background: #fff;
}

.content {
    margin-top: 20px;
    padding: 24px 26px 28px;
    background: #fff;
    border: 1px solid #e4e9e7;
    border-radius: 12px;
    text-align: justify;
    line-height: 1.8;
    box-shadow: 0 3px 12px rgba(0,0,0,.06);
}

.content h2 {
    margin: 0 0 16px;
    padding-bottom: 10px;
    color: #007b5e;
    font-size: 28px;
    border-bottom: 3px solid #e67e22;
}

.content h3 {
    color: #2c3e50;
    margin: 22px 0 7px;
    padding-left: 12px;
    border-left: 4px solid #007b5e;
}

.content p {
    margin: 8px 0 12px;
}

.content ul {
    margin-top: 8px;
    padding-left: 24px;
}

.content li {
    margin-bottom: 5px;
}
/* ================================
   COUNCIL MEMBERS TABLE
================================ */

.council-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 25px 0;
}

.council-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #d6d6d6;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    font-size: 16px;
}

.council-table th {
    background: #007b5e;
    color: #ffffff;
    font-weight: 700;
    text-align: center;
    padding: 13px 12px;
    border: 1px solid #006b52;
}

.council-table td {
    padding: 12px;
    border: 1px solid #d8d8d8;
    color: #333333;
    background: #ffffff;
    vertical-align: middle;
}

.council-table tbody tr:nth-child(even) td {
    background: #f7faf9;
}

.council-table tbody tr:hover td {
    background: #eef7f4;
}

/* क्रमांक */
.council-table th:first-child,
.council-table td:first-child {
    width: 70px;
    text-align: center;
    font-weight: 600;
}

/* नाम */
.council-table th:nth-child(2),
.council-table td:nth-child(2) {
    text-align: left;
}

/* पदनाम */
.council-table th:nth-child(3),
.council-table td:nth-child(3) {
    text-align: center;
    width: 150px;
}

/* Mobile */
@media (max-width: 768px) {

    .council-table {
        font-size: 14px;
        min-width: 550px;
    }

    .council-table th,
    .council-table td {
        padding: 9px 8px;
    }

    .council-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
.employee-section {
    width: 100%;
    margin: 30px auto;
}

.employee-section h1 {
    color: #00866f;
    font-size: 30px;
    margin-bottom: 35px;
}

.employee-section h2 {
    font-size: 26px;
    color: #263b50;
    border-left: 5px solid #00866f;
    padding: 12px 18px;
    background: #f1f7f5;
    margin-bottom: 25px;
}

.table-container {
    width: 100%;
    overflow-x: auto;
}

.employee-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    font-size: 18px;
}

.employee-table th {
    background: #00866f;
    color: white;
    padding: 16px 12px;
    text-align: left;
    border: 1px solid #00745f;
}

.employee-table td {
    padding: 15px 12px;
    border: 1px solid #d5dada;
}

.employee-table tbody tr:nth-child(even) {
    background: #f5f8f7;
}

.employee-table tbody tr:hover {
    background: #e8f4f0;
}

.employee-table th:first-child,
.employee-table td:first-child {
    width: 75px;
    text-align: center;
}

.employee-table th:last-child,
.employee-table td:last-child {
    width: 180px;
}
.updates {
    max-width: 1600px;
    margin: 18px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.update-box {
    background: #fff;
    padding: 16px;
    border-top: 4px solid #e67e22;
    box-shadow: 0 0 10px rgba(0,0,0,.08);
}

.update-box h3 { margin-top: 0; }

.update-box ul {
    list-style: none;
    padding: 0;
}

.update-box li { margin-bottom: 9px; }

.update-box a {
    color: #333;
    text-decoration: none;
}

.update-box button {
    background: #e67e22;
    border: 0;
    padding: 9px 16px;
    cursor: pointer;
}

.update-box button a { color: #fff; }
/* ===== INNER PAGES ===== */

.inner-page {
    max-width: 1250px;
    margin: 0 auto;
    padding: 35px 20px 50px;
}

.page-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 4px 18px rgba(0,0,0,.10);
}

.page-card > h1 {
    margin: 0 0 30px;
    color: #007b5e;
    font-size: 32px;
    border-bottom: 3px solid #e67e22;
    padding-bottom: 12px;
}

/* =========================================
   DISHA NIRDESH / POLICY DOCUMENTS
   ========================================= */

.guideline-section {
    margin-top: 10px;
}

/* Section heading */

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding: 16px 20px;
    background: #f4f8f6;
    border-left: 5px solid #007b5e;
    border-radius: 0 8px 8px 0;
}

.section-heading h2 {
    margin: 0;
    color: #2c3e50;
    font-size: 23px;
    font-weight: 700;
}

.section-heading p {
    margin: 6px 0 0;
    color: #666;
    font-size: 14px;
}


/* Main document list */

.guideline-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* Individual row */

.guideline-row {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 170px;
    align-items: center;

    min-height: 78px;
    padding: 10px 16px;

    background: #fff;
    border: 1px solid #dfe7e4;
    border-radius: 7px;

    text-decoration: none;
    color: #333;

    transition: all 0.25s ease;
}


/* Number */

.guideline-number {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #007b5e;
    color: #fff;

    border-radius: 6px;

    font-size: 16px;
    font-weight: 700;
}


/* Title */

.guideline-title {
    min-width: 0;
    padding-right: 20px;
}

.guideline-title strong {
    display: block;

    color: #2c3e50;
    font-size: 17px;
    line-height: 1.45;
    font-weight: 700;
}

.guideline-title span {
    display: block;

    margin-top: 4px;

    color: #777;
    font-size: 13px;
}


/* Right side button */

.guideline-action {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: 12px;

    padding: 9px 14px;

    border: 1px solid #007b5e;
    border-radius: 5px;

    color: #007b5e;

    font-size: 14px;
    font-weight: 600;

    transition: all 0.25s ease;
}

.guideline-action b {
    font-size: 19px;
    line-height: 1;
}


/* Hover */

.guideline-row:hover {
    border-color: #007b5e;
    background: #f7fbf9;

    box-shadow: 0 4px 12px rgba(0, 123, 94, 0.10);

    transform: translateY(-2px);
}

.guideline-row:hover .guideline-action {
    background: #007b5e;
    color: #fff;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {

    .section-heading {
        padding: 14px 15px;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .section-heading p {
        font-size: 13px;
    }

    .guideline-row {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 10px;

        padding: 13px;
    }

    .guideline-number {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .guideline-title {
        padding-right: 0;
    }

    .guideline-title strong {
        font-size: 15px;
    }

    .guideline-title span {
        font-size: 12px;
    }

    .guideline-action {
        grid-column: 2;
        justify-self: start;

        margin-top: 2px;

        padding: 7px 11px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .inner-page {
        padding: 20px 12px 35px;
    }

    .page-card {
        padding: 20px 15px;
    }

    .page-card > h1 {
        font-size: 26px;
    }

    .guideline-item {
        padding: 13px;
        gap: 12px;
    }

    .guideline-item strong {
        font-size: 15px;
    }
}
footer {
    margin-top: 20px;
    background: #2c3e50;
    color: #fff;
    padding: 28px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 1050px) {
    nav ul.menu > li > a {
        padding: 12px 10px;
        font-size: 14px;
    }

    .content-wrapper {
        grid-template-columns: 180px minmax(0, 1fr) 180px;
        gap: 12px;
    }

    .sidebar {
        padding: 12px;
    }

    .main-content {
        padding: 12px;
    }
}

@media (max-width: 850px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .header-left {
        width: auto;
        flex-basis: auto;
        align-items: center;
    }

    nav ul.menu { flex-wrap: wrap; }

    .content-wrapper { grid-template-columns: 1fr; }

    .sidebar,
    .main-content { width: 100%; }

    .updates { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    main { padding: 8px; }

    .main-content,
    .sidebar { padding: 10px; }

    .slider {
        aspect-ratio: 16 / 10;
        min-height: 230px;
        max-height: none;
    }

    .slider-btn {
        width: 38px;
        height: 48px;
        line-height: 48px;
        font-size: 25px;
    }

    .slider-btn.prev { left: 8px; }
    .slider-btn.next { right: 8px; }

    .slider-dots {
        bottom: 9px;
        padding: 0 50px;
    }

    .content {
        margin-top: 14px;
        padding: 18px 16px 22px;
        text-align: left;
    }

    .content h2 {
        font-size: 24px;
    }

    nav ul.menu > li > a {
        padding: 10px 8px;
        font-size: 13px;
    }
}