/* ================================================ */
/* Global Styles & Resets                         */
/* ================================================ */
body {
    font-family: 'Mukta', 'Noto Sans Devanagari', Arial, sans-serif;
    background: linear-gradient(135deg, #e3f0ff 0%, #f8fbff 100%);
    margin: 0;
    padding: 0;
    color: #333; /* Default text color */
    min-height: 100vh;
    display: flex; /* For sticky footer */
    flex-direction: column; /* For sticky footer */
    font-size: 16px; /* Base font size */
    line-height: 1.6; /* Base line height */
}

/* General .container for centering content blocks */
.container {
    width: 100%; /* Full width by default */
    max-width: 1200px; /* Max width of content area */
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box; /* Include padding in width calculation */
}

main {
    flex-grow: 1; /* For sticky footer - main content takes available space */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
    color: #005baa; /* Default heading color */
    margin-top: 0;
    margin-bottom: 0.75em;
}

p {
    margin-top: 0;
    margin-bottom: 1em;
}

a {
    color: #007bff; /* Default link color */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

ul, ol {
    margin-top: 0;
    margin-bottom: 1em;
    padding-left: 20px; /* Indent list items */
}

img {
    max-width: 100%; /* Responsive images by default */
    height: auto;
    display: block; /* Remove extra space below images */
}

/* ================================================ */
/* Buttons Styles (Improved)                      */
/* ================================================ */
.button, .btn {
    display: inline-block;
    font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
    font-weight: 600;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    outline: none;
}

.button:hover, .btn:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
    color: #ffffff;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15), 0 3px 6px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.button:active, .btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}


/* ================================================ */
/* Header Section Styles                          */
/* ================================================ */
header.site-header {
    background: linear-gradient(90deg, #005baa 0%, #00c6fb 100%);
    color: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.site-header .header-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-header .logo-name-group {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header .logo-img {
    height: 60px;
    width: auto;
    flex-shrink: 0;
    border-radius: 4px;
    background-color: #fff;
    padding: 3px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.site-header .school-details {
    text-align: center; /* Nara lai center align garna */
}

.site-header .school-details h1 {
    font-size: 1.6em;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px 0;
    line-height: 1.2;
}

.site-header .school-details p {
    font-size: 1em;
    color: #e0f7fa;
    margin: 0;
    line-height: 1.3;
    font-weight: 400;
}

/* ================================================ */
/* Navigation Section Styles                      */
/* ================================================ */
nav.main-navigation {
    background: linear-gradient(90deg, #003d80 0%, #005baa 100%);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    padding: 5px 0;
}

.main-navigation .nav-list-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-navigation ul.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.main-navigation ul.nav-menu li {
    margin: 0;
}

.main-navigation ul.nav-menu li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 12px 18px;
    font-weight: 600;
    font-size: 1.0em;
    border-radius: 4px;
    transition: background 0.2s ease-in-out, transform 0.15s ease-in-out;
    position: relative;
}

.main-navigation ul.nav-menu li a:hover,
.main-navigation ul.nav-menu li a:focus,
.main-navigation ul.nav-menu li a.active {
    background: linear-gradient(90deg, #00c6fb 0%, #005baa 100%);
    transform: translateY(-1px);
}

/* ================================================ */
/* Main Content Area for Inner Pages              */
/* ================================================ */
main.page-content { /* For about, notice, results etc. pages */
    background-color: #ffffff;
    padding-top: 25px;
    padding-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 20px; /* Space from nav */
    margin-bottom: 30px; /* Space before footer */
}

.main-page-title { /* For H1 titles on inner pages */
    font-size: 2.2em;
    margin-bottom: 30px;
    color: #003d80;
    border-bottom: 2px solid #00c6fb;
    padding-bottom: 10px;
    display: table;         /* Changed from inline-block */
    margin-left: auto;      /* Added for centering */
    margin-right: auto;     /* Added for centering */
    /* text-align: center; /* This can be kept or removed if display:table centers it */
    /* position: relative;    /* Removed */
    /* left: 50%;             /* Removed */
    /* transform: translateX(-50%); /* Removed */
}


/* ================================================ */
/* Index Page Specific Sections                   */
/* ================================================ */
main.container:not(.page-content) #notice-ticker-section {
    margin-bottom: 25px;
    padding-top: 10px;
}
main.container:not(.page-content) .notice-ticker-wrapper {
    display: flex;
    align-items: center;
    background-color: #e3f2fd;
    padding: 10px 15px;
    border-radius: 6px;
    border: 1px solid #bbdefb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
main.container:not(.page-content) .notice-ticker-wrapper .material-icons {
    margin-right: 10px;
    color: #007bff;
    font-size: 22px;
}
main.container:not(.page-content) .notice-ticker {
    flex-grow: 1;
    overflow: hidden;
}
main.container:not(.page-content) .notice-ticker marquee a {
    color: #D90429;
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.2s ease-in-out; 
}
main.container:not(.page-content) .notice-ticker marquee a:hover {
    text-decoration: underline;
    color: #A90321;
}

main.container:not(.page-content) #welcome {
    margin-bottom: 25px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
main.container:not(.page-content) #welcome h2 {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #004a8f;
}
main.container:not(.page-content) #welcome p {
    font-size: 1.05em;
    line-height: 1.7;
    color: #444;
    text-align: justify;
}

main.container:not(.page-content) .school-photo-section-container {
    padding: 0;
    margin-bottom: 25px;
}
main.container:not(.page-content) .school-photo-section {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
main.container:not(.page-content) .photo-slideshow {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 50%;
    background-color: #e0e0e0;
    overflow: hidden;
}
main.container:not(.page-content) .photo-slideshow .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    visibility: hidden;
}
main.container:not(.page-content) .photo-slideshow .slide.active {
    opacity: 1;
    visibility: visible;
}

main.container:not(.page-content) #quick-links {
    margin-bottom: 25px;
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}
main.container:not(.page-content) #quick-links h2 {
    text-align: center;
    font-size: 1.6em;
    margin-bottom: 20px;
    color: #004a8f;
}
main.container:not(.page-content) #quick-links ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}
main.container:not(.page-content) #quick-links ul li a {
    display: block;
    background-color: #fff;
    color: #005baa;
    padding: 12px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #ced4da;
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}
main.container:not(.page-content) #quick-links ul li a:hover {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,123,255,0.2);
}


/* ================================================ */
/* Content Page Specific Styles (e.g., About Us)  */
/* ================================================ */
.about-section section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #e0e0e0;
}
.about-section section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.about-section h2 {
    font-size: 1.6em;
    color: #005baa;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #eee;
}
.about-section h3 {
    font-size: 1.3em;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}
.about-section p {
    line-height: 1.75;
    text-align: justify;
    margin-bottom: 15px;
    color: #454545;
}
.about-section strong {
    color: #004a8f;
    font-weight: 600;
}
.about-section .data-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}
.about-section .data-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ================================================ */
/* Notice Board Page Styles                       */
/* ================================================ */
#notice-board-page {
    padding-top: 10px;
}
.notice-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-left: 5px solid #007bff;
    border-radius: 6px;
    margin-bottom: 25px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
}
.notice-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}
.notice-header {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #eeeeee;
}
.notice-header h3 {
    font-size: 1.4em;
    color: #005baa;
    margin: 0 0 5px 0;
}
.notice-date {
    font-size: 0.85em;
    color: #757575;
    font-style: italic;
    margin: 0;
}
.notice-content p {
    line-height: 1.7;
    margin-bottom: 12px;
    color: #424242;
    text-align: justify;
}
.notice-content p:last-child {
    margin-bottom: 0;
}
.notice-details-list {
    list-style-type: disc;
    padding-left: 25px;
    margin-top: 10px;
    margin-bottom: 15px;
}
.notice-details-list li {
    margin-bottom: 6px;
    line-height: 1.6;
    color: #555;
}
.notice-content strong {
    color: #004a8f;
    font-weight: 600;
}

/* ================================================ */
/* Results Page Styles                            */
/* ================================================ */
#results-page {
    padding-top: 10px;
    /* text-align: center; /* Removed from here, as .main-page-title will center itself */
}
.result-links-section {
    margin-bottom: 35px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center; /* Center the h3 and ul inside this section */
}
.result-links-section h3 {
    font-size: 1.5em;
    color: #005baa;
    margin-bottom: 20px;
}
.class-result-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 0;
    list-style: none;
    margin-top: 10px;
}
.result-btn {
    padding: 12px 25px;
    font-size: 1.05em;
    min-width: 120px;
}
.result-btn.special-result {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
    box-shadow: 0 4px 6px rgba(40, 167, 69, 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
}
.result-btn.special-result:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #155724 100%);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3), 0 3px 6px rgba(0, 0, 0, 0.1);
}
.instructions-section {
    margin-top: 30px;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    text-align: left;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.instructions-section h3 {
    font-size: 1.4em;
    color: #005baa;
    margin-bottom: 15px;
    text-align: center;
}
.instructions-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin: 0;
}
.instructions-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #444;
}

/* ================================================ */
/* Teachers Page Styles                           */
/* ================================================ */
#teachers-staff-page {
    padding-top: 10px;
}
.teachers-table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}
.teachers-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95em;
}
.teachers-table th,
.teachers-table td {
    border: 1px solid #e0e0e0;
    padding: 12px 15px;
    text-align: left;
    vertical-align: middle;
}
.teachers-table thead th {
    background-color: #007bff;
    color: white;
    font-weight: 600;
    font-size: 1em;
    white-space: nowrap;
}
.teachers-table tbody tr:nth-child(even) {
    background-color: #f8f9fa;
}
.teachers-table tbody tr:hover {
    background-color: #e9ecef;
    transition: background-color 0.2s ease-in-out;
}
.teachers-table td a {
    color: #0056b3;
}

/* ================================================ */
/* Photo Gallery Page Styles                      */
/* ================================================ */
#gallery-page {
    padding-top: 10px;
}
.gallery-intro {
    text-align: center;
    margin-bottom: 25px;
    font-size: 1.05em;
    color: #555;
}
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    position: relative;
}
.gallery-item:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid #f0f0f0;
}
.gallery-item .caption {
    padding: 12px 15px;
    font-size: 0.9em;
    color: #333;
    text-align: center;
    background-color: #f8f9fa;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.4;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-loading-placeholder {
    text-align: center;
    padding: 30px 15px;
    font-style: italic;
    color: #777;
    grid-column: 1 / -1;
}

/* ================================================ */
/* Contact Page Styles                            */
/* ================================================ */
#contact-page {
    padding-top: 10px;
}
.contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 20px;
}
@media (min-width: 992px) {
    .contact-content-wrapper {
        grid-template-columns: 1fr 1fr;
    }
}
.contact-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.06);
}
.contact-card h2 {
    font-size: 1.5em;
    color: #005baa;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}
.contact-card h2 .section-icon {
    margin-right: 10px;
    font-size: 1.3em;
    color: #007bff;
}
.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    font-size: 1.05em;
    line-height: 1.6;
    color: #333;
}
.contact-info-list li:last-child {
    margin-bottom: 0;
}
.contact-info-list .contact-icon {
    font-size: 22px;
    margin-right: 12px;
    color: #007bff;
    margin-top: 2px;
    flex-shrink: 0;
}
.contact-info-list li div {
    flex-grow: 1;
}
.contact-info-list li strong {
    font-weight: 600;
    color: #111;
}
.contact-info-list li a {
    color: #0056b3;
}
.contact-info-list li a:hover {
    color: #003f7f;
}
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #ddd;
}
.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}


/* ================================================ */
/* Footer Styles                                  */
/* ================================================ */
footer.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #4a6baf 100%);
    color: #e0e0e0;
    padding: 25px 0;
    text-align: center;
    font-family: 'Mukta', sans-serif;
    margin-top: auto;
    width: 100%;
    font-size: 0.9em;
}
footer.site-footer .container p {
    margin: 5px 0;
    line-height: 1.5;
}
footer.site-footer #current-year {
    font-weight: bold;
    color: #f1c40f;
}
footer.site-footer a {
    color: #f1c40f;
}
footer.site-footer a:hover {
    color: #fff;
}

/* ================================================ */
/* Responsive Adjustments                         */
/* ================================================ */
@media (max-width: 992px) {
    .site-header .school-details h1 {
        font-size: 1.4em;
    }
    .site-header .school-details p {
        font-size: 0.95em;
    }
    .main-navigation ul.nav-menu li a {
        padding: 12px 15px;
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    .site-header {
        padding: 10px 0;
        position: static;
    }
    .site-header .logo-name-group {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    .site-header .logo-img {
        height: 50px;
        margin: 0 auto 5px auto;
    }
    .site-header .school-details {
        text-align: center;
    }
    .site-header .school-details h1 {
        font-size: 1.3em;
    }
    .site-header .school-details p {
        font-size: 0.9em;
    }

    nav.main-navigation {
        padding: 5px 0;
    }
    .main-navigation ul.nav-menu {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }
    .main-navigation ul.nav-menu li {
        width: 100%;
        text-align: center;
    }
    .main-navigation ul.nav-menu li a {
        padding: 10px 12px;
        font-size: 0.9em;
        width: auto;
        display: inline-block;
    }
    .main-navigation ul.nav-menu li a:hover,
    .main-navigation ul.nav-menu li a:focus,
    .main-navigation ul.nav-menu li a.active {
        transform: none;
    }

    .main-page-title {
        font-size: 1.8em;
    }
    main.container:not(.page-content) #welcome h2,
    main.container:not(.page-content) #quick-links h2 {
        font-size: 1.5em;
    }
    main.container:not(.page-content) #welcome p {
        font-size: 1em;
    }
    main.container:not(.page-content) #quick-links ul {
        grid-template-columns: 1fr;
    }
    main.container:not(.page-content) .photo-slideshow {
        padding-bottom: 60%;
    }

    .about-section h2 {
        font-size: 1.4em;
    }
    .about-section h3 {
        font-size: 1.2em;
    }
    .about-section p {
        line-height: 1.7;
    }

    .notice-item {
        padding: 15px;
    }
    .notice-header h3 {
        font-size: 1.25em;
    }

    .result-links-section h3 {
        font-size: 1.3em;
    }
    .instructions-section h3 {
        font-size: 1.25em;
    }
    .result-btn {
        padding: 10px 20px;
        font-size: 1em;
        min-width: 100px;
    }

    /* Responsive for Teachers Table (already in the provided CSS) */
    .teachers-table thead {
        display: none;
    }
    .teachers-table,
    .teachers-table tbody,
    .teachers-table tr,
    .teachers-table td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    .teachers-table tr {
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 15px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
    }
    .teachers-table tr:nth-child(even) {
        background-color: #fff;
    }
    .teachers-table tr:hover {
        background-color: #f9f9f9;
    }
    .teachers-table td {
        padding: 10px 5px;
        border: none;
        border-bottom: 1px dashed #eee;
        text-align: right;
        position: relative;
        padding-left: 45%;
        min-height: 24px;
    }
    .teachers-table td:last-child {
        border-bottom: none;
    }
    .teachers-table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        width: calc(40% - 10px);
        padding-right: 10px;
        font-weight: 600;
        color: #333;
        text-align: left;
        white-space: nowrap;
    }
    
    /* Responsive for Gallery Page */
    .photo-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    .gallery-item img {
        height: 160px;
    }
    .gallery-item .caption {
        font-size: 0.85em;
        padding: 10px;
        min-height: 40px;
    }

    /* Responsive for Contact Page */
    .contact-card {
        padding: 20px;
    }
    .contact-card h2 {
        font-size: 1.3em;
    }
    .contact-info-list li {
        font-size: 1em;
        margin-bottom: 15px;
    }
    .map-container {
        height: 300px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 14px;
    }
    .site-header .school-details h1 {
        font-size: 1.2em;
    }
    .site-header .school-details p {
        font-size: 0.85em;
    }
    .main-navigation ul.nav-menu li a {
        padding: 8px 10px;
    }
    footer.site-footer {
        font-size: 0.85em;
    }

    /* Results page buttons on very small screens */
    .class-result-buttons {
        gap: 10px;
    }
    .class-result-buttons li {
        width: calc(50% - 5px);
    }
    .class-result-buttons li:last-child:nth-child(odd) {
        width: 100%;
    }

    /* Gallery on very small screens */
    .photo-gallery-grid {
        grid-template-columns: 1fr;
    }
     .gallery-item img {
        height: 220px;
    }
}
/* ================================================ */
/* Committee & SMC/PTA Page Styles                */
/* ================================================ */

/* समितिहरूको मुख्य पेज (Hub Page) को लागि कार्ड डिजाइन */
.committee-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.committee-card {
    display: block;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06);
}

.committee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 91, 170, 0.15);
    text-decoration: none;
}

.committee-card h3 {
    font-size: 1.4em;
    color: #005baa;
    margin-bottom: 10px;
    margin-top: 0;
}

.committee-card p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    margin-bottom: 0;
}

/* समितिहरूको विस्तृत पेजको लागि */
.formation-date {
    text-align: center;
    font-size: 1em;
    font-style: italic;
    color: #666;
    margin-top: -20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

/* सदस्यहरूको सूचीको लागि स्टाइल */
.committee-member-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 768px) {
    .committee-member-list {
        grid-template-columns: 1fr 1fr;
    }
}

.committee-member-list li {
    background-color: #f8f9fa;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid #007bff;
    font-size: 1.05em;
    color: #333;
    transition: background-color 0.2s, transform 0.2s;
}

.committee-member-list li:hover {
    background-color: #e9ecef;
    transform: translateX(4px);
}

/* सदन विभाजन पेजको लागि विशेष स्टाइल */
.house-details-section {
    margin-bottom: 25px;
}

.house-details-section h3 {
    font-size: 1.5em;
    color: #005baa;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.house-details-section p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-left: 15px;
}
