html,
body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/*.department-badge {*/
/*    display: inline-block;*/
/*    background: #8b1a1a;*/
/*    color: #fff;*/
/*    font-size: 11px;*/
/*    font-weight: 600;*/
/*    letter-spacing: 1px;*/
/*    padding: 3px 10px;*/
/*    border-radius: 20px;*/
/*    margin: 3px 0;*/
/*    text-transform: uppercase;*/
/*}*/

.gallery-section {
    background: #f4f6f9;
    padding: 60px 0 80px;
}

/* Filter Box */

.gallery-filter-wrapper {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 45px;
}

.gallery-filter {
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gallery-filter:hover {
    transform: translateY(-2px);
}

/* Gallery Card */

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
    transition: all 0.35s ease;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16);
}

/* Image */

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.07);
}

/* Image Overlay */

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.35),
        transparent 55%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover::after {
    opacity: 1;
}

/* Gallery Item */

.gallery-item {
    margin-bottom: 30px;
}


/* ==========================================================================
   News / Notices section — government institute style
   Scoped under .news-section so it cannot leak into the rest of the site
   ========================================================================== */

.news-section {
    background-color: #F7F8FA;
}

/* Filter bar */
.news-filter-bar {
    background-color: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 16px 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.news-search-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.news-search-wrap i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #9CA3AF;
}

.news-search-input {
    padding-left: 38px;
    border-radius: 8px;
    border-color: #E5E7EB;
}

.news-category-select {
    max-width: 190px;
    border-radius: 8px;
    border-color: #E5E7EB;
}

/* News item */
.news-item {
    background-color: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 22px 24px;
    margin-bottom: 18px;
    display: flex;
    gap: 22px;
    align-items: flex-start;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.news-item:hover {
    box-shadow: 0 0.5rem 1.25rem rgba(31, 41, 55, 0.08);
    transform: translateY(-2px);
}

.news-item:last-child {
    margin-bottom: 0;
}

/* Date box — notice-board style */
.news-date {
    flex-shrink: 0;
    width: 78px;
    background-color: #1F2937;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.news-date-day {
    font-size: 1.5rem;
    font-weight: 700;
}

.news-date-month {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-top: 2px;
}

.news-date-year {
    font-size: 0.7rem;
    color: #9CA3AF;
    margin-top: 2px;
}

.news-body {
    flex: 1;
    min-width: 0;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.news-badge {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 999px;
}

.news-badge-notice   { background-color: rgba(31, 78, 120, 0.1); color: #1F4E78; }
.news-badge-result   { background-color: rgba(25, 135, 84, 0.1); color: #198754; }
.news-badge-circular { background-color: rgba(111, 66, 193, 0.1); color: #6F42C1; }
.news-badge-event    { background-color: rgba(47, 107, 138, 0.1); color: #2F6B8A; }
.news-badge-tender   { background-color: rgba(220, 53, 69, 0.1); color: #DC3545; }

.news-badge-new {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #fff;
    background-color: #DC3545;
    padding: 3px 8px;
    border-radius: 999px;
}

.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 6px;
}

.news-excerpt {
    font-size: 0.92rem;
    color: #6B7280;
    line-height: 1.65;
    margin-bottom: 12px;
}

.news-pdf-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #1F4E78;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 8px 14px;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.news-pdf-link i {
    color: #DC3545;
    font-size: 1.05rem;
}

.news-pdf-link:hover {
    background-color: #F7F8FA;
    border-color: #1F4E78;
    color: #1F4E78;
}

.news-empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #9CA3AF;
}

.news-empty-state i {
    font-size: 2.2rem;
    display: block;
    margin-bottom: 10px;
}

.certificate-image {
    display: inline-block;
    transition: 0.3s;
}

.certificate-image img {
    max-height: 600px;
    width: auto;
    border-radius: 5px;
}

.certificate-image:hover {
    transform: translateY(-5px);
}

.staff-img-wrap {
    width: 100%;
    overflow: hidden;
}

.staff-img-top {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

/* Responsive */
@media (max-width: 575.98px) {
    .news-item {
        flex-direction: column;
        gap: 12px;
    }

    .news-date {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        gap: 8px;
        padding: 8px;
    }

    .news-date-day,
    .news-date-month,
    .news-date-year {
        margin-top: 0;
    }

    .news-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .news-category-select {
        max-width: none;
    }
    
    .staff-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.staff-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

html,
body {
    overflow-x: hidden !important;
}
    .gallery-section {
        padding: 40px 15px 60px;
    }

    .gallery-filter-wrapper {
        border-radius: 15px;
        width: 100%;
        padding: 12px;
    }

    .gallery-filter {
        flex: 1;
        padding: 9px 12px;
        font-size: 14px;
    }

    .gallery-card img {
        height: 220px;
    }
}


.home-slider {
    position: relative;
}

.home-slider .slider-item {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 750px;
}

.home-slider .overlay {
    pointer-events: none;
}

.home-slider .container,
.home-slider .slider-text,
.home-slider .col-md-7 {
    position: relative;
    z-index: 2;
}

.simple-slider {
    position: relative;
    width: 100%;
}

.simple-slide {
    display: none;
    position: relative;
    min-height: 750px;
    background-size: cover;
    background-position: center;
}

.simple-slide.active {
    display: block;
    animation: fadeSlide 0.8s ease;
}

.simple-slide .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

.simple-slide .container {
    position: relative;
    z-index: 2;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
.simple-slide .slider-text {
    min-height: 750px;
    display: flex;
    align-items: center;
}

.simple-slide h1 {
    color: #ffffff !important;
    font-size: 52px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.simple-slide p {
    color: #ffffff !important;
    font-size: 18px;
    line-height: 1.7;
    max-width: 650px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.staff-img-wrap {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.staff-img-top {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
}

.staff-img-wrap {
    margin: 10px 10px 0;
    width: calc(100% - 20px);
    height: 260px;
    overflow: hidden;
    border-radius: 12px;
}


@media (max-width: 767px) {
    .staff-img-wrap {
        height: 300px;
    }
}
@media (max-width: 767px) {

    .simple-slide {
        min-height: 100vh;
        padding: 80px 0 50px;
    }

    .simple-slide .slider-text {
        min-height: auto;
        display: flex;
        align-items: center;
    }

    .simple-slide h1 {
        font-size: 34px;
        line-height: 1.2;
        margin-bottom: 20px;
    }

    .simple-slide p {
        font-size: 16px;
        line-height: 1.6;
    }
  
    
}

.director-message {
    width: 100%;
}

.director-heading-line {
    width: 60px;
    height: 3px;
    background: #dc3545;
    margin: 15px auto 0;
}

/* Director Profile */
.director-profile-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 35px;
    border-left: 5px solid #dc3545;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.director-photo {
    width: 600px;
    height: 350px;
    object-fit: cover;
}

.director-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.director-qualification {
    color: #666;
    font-size: 16px;
    margin-bottom: 12px;
}

/* Full Width Content */
.director-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.director-content p {
    font-size: 16px;
    line-height: 1.95;
    color: #444;
    text-align: justify;
    margin-bottom: 24px;
}

.director-content strong {
    color: #333;
}


/* Quote */
.director-quote {
    background: #fff5f5;
    border-left: 5px solid #dc3545;
    border-radius: 8px;
    padding: 30px 35px;
    margin: 40px 0;
    text-align: center;
}

.quote-mark {
    color: #dc3545;
    font-size: 22px;
    margin-bottom: 10px;
}

.director-quote p {
    font-size: 21px;
    font-weight: 600;
    line-height: 1.7;
    text-align: center;
    color: #333;
    margin: 0;
}


/* Closing */
.director-closing {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 22px 30px;
    margin-top: 30px;
    text-align: center;
}

.director-closing p {
    color: #b21f2d;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    text-align: center;
}


/* Mobile */
@media (max-width: 767px) {

    .director-profile-card {
        padding: 25px 20px;
    }

    .director-photo {
        width: 210px;
        height: 250px;
    }

    .director-name {
        font-size: 23px;
        margin-top: 15px;
    }

    .director-content p {
        font-size: 15px;
        line-height: 1.85;
        text-align: left;
    }

    .director-quote {
        padding: 22px 18px;
    }

    .director-quote p {
        font-size: 17px;
    }

    .director-closing {
        padding: 18px 15px;
    }

}



@media (max-width: 767px) {

    .simple-slider {
        width: 100%;
        overflow: hidden;
    }

    .simple-slide {
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: 16 / 9;
        background-size: cover !important;        /* contain -> cover */
        background-position: center top !important; /* faces/top part cut na ho */
        background-repeat: no-repeat !important;
    }

    .ftco-services {
        position: relative;
        z-index: 2;
    }
}

.simple-slider {
    position: relative;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.slider-arrow:hover {
    background: #007bff;
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

@media (max-width: 767px) {
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }
}

.institute-logo-wrapper {
    width: 100%;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    overflow: hidden;
}

.institute-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .institute-logo-wrapper {
        height: 350px;
        margin-bottom: 25px;
    }
}


/* Newspaper Section */

.newspaper-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.newspaper-section .subheading {
    color: #fd7e14;
    font-weight: 600;
    letter-spacing: 1px;
}

.newspaper-slider-wrapper {
    position: relative;
    padding: 0 45px;
}

.newspaper-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 10px 5px 20px;
}

.newspaper-slider::-webkit-scrollbar {
    display: none;
}

.newspaper-card {
    flex: 0 0 calc(33.333% - 17px);
    height: 350px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    padding: 12px;
    transition: 0.3s ease;
}

.newspaper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.16);
}

.newspaper-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.newspaper-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #fd7e14;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    z-index: 5;
    transition: 0.3s;
}

.newspaper-arrow:hover {
    background: #007bff;
}

.newspaper-prev {
    left: 0;
}

.newspaper-next {
    right: 0;
}

/* Tablet */
@media (max-width: 991px) {
    .newspaper-card {
        flex: 0 0 calc(50% - 13px);
    }
}

/* Mobile */
@media (max-width: 767px) {

    .newspaper-slider-wrapper {
        padding: 0 35px;
    }

    .newspaper-card {
        flex: 0 0 100%;
        height: 320px;
    }

    .newspaper-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

}


/* Clickable Newspaper */
.newspaper-card {
    cursor: pointer;
}

/* Modal Background */
.newspaper-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    padding: 50px 70px;
}

.newspaper-modal.active {
    display: flex;
}

/* Modal Image */
.newspaper-modal img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 5px;
    background: #fff;
}

/* Close Button */
.newspaper-modal-close {
    position: absolute;
    top: 15px;
    right: 30px;
    color: #fff;
    background: transparent;
    border: none;
    font-size: 45px;
    cursor: pointer;
    z-index: 10;
}

/* Previous / Next */
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
}

.modal-prev {
    left: 15px;
}

.modal-next {
    right: 15px;
}

.modal-nav:hover {
    background: #fd7e14;
}

/* Mobile */
@media(max-width: 767px) {

    .newspaper-modal {
        padding: 40px 45px;
    }

    .newspaper-modal img {
        max-height: 80vh;
    }

    .modal-nav {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .modal-prev {
        left: 5px;
    }

    .modal-next {
        right: 5px;
    }
}


/* ===== SISE Dignitaries Section ===== */

.sise-dignitaries-section {
    padding: 65px 15px;
    background: #f5f6f9;
}

.sise-section-heading {
    margin-bottom: 35px;
}

.sise-section-heading span {
    color: #800f12;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.sise-section-heading h2 {
    color: #172b55;
    font-size: 30px;
    font-weight: 700;
    margin-top: 10px;
}

.sise-heading-line {
    width: 65px;
    height: 4px;
    background: #f4a340;
    margin: 15px auto 0;
    border-radius: 5px;
}

/* Category Heading */
.sise-category-heading {
    text-align: center;
    margin: 35px 0 30px;
}

.sise-category-heading h3 {
    display: inline-block;
    color: #800f12;
    font-size: 26px;
    font-weight: 700;
    padding: 0 25px 8px;
    border-bottom: 2px solid #f4a340;
}

.inspiration-heading {
    margin-top: 50px;
}

/* Top Three Cards */
.sise-person-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    border: 1px solid #e5e8ef;
    box-shadow: 0 5px 20px rgba(23, 43, 85, 0.07);
    transition: all 0.3s ease;
}

.sise-person-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(23, 43, 85, 0.13);
}

/* Circular Images */
.sise-person-photo {
    width: 155px;
    height: 155px;
    margin: 0 auto 20px;
    padding: 5px;
    border: 3px solid #172b55;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
}

.sise-person-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
}

/* Top Card Text */
.sise-person-card h4 {
    color: #172b55;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 7px;
}

.sise-person-designation {
    display: block;
    color: #800f12;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.sise-person-card p {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Bottom Two Cards */
.sise-inspiration-card {
    height: 100%;
    background: #fff;
    text-align: center;
    padding: 22px 15px;
    border-radius: 10px;
    border: 1px solid #e5e8ef;
    box-shadow: 0 5px 18px rgba(23, 43, 85, 0.06);
    transition: all 0.3s ease;
}

.sise-inspiration-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(23, 43, 85, 0.12);
}

/* Smaller Images */
.sise-inspiration-photo {
    width: 115px;
    height: 115px;
    margin: 0 auto 15px;
    padding: 4px;
    border: 2px solid #800f12;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-sizing: border-box;
}

.sise-inspiration-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    display: block;
}

.sise-inspiration-card h4 {
    color: #172b55;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.sise-inspiration-card span {
    color: #800f12;
    font-size: 13px;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 767px) {

    .sise-dignitaries-section {
        padding: 40px 12px;
    }

    .sise-section-heading h2 {
        font-size: 24px;
    }

    .sise-person-card {
        padding: 20px 12px;
    }

    .sise-person-photo {
        width: 120px;
        height: 120px;
    }

    .sise-person-card h4 {
        font-size: 16px;
    }

    .sise-person-card p {
        font-size: 12px;
    }

   
/* Bottom Two Circular Images */
.sise-inspiration-photo {
    width: 100px;
    height: 115px;
    border-radius: 10px;
}

.sise-inspiration-photo img {
    border-radius: 6px;
}


    .sise-inspiration-card {
        padding: 16px 8px;
    }

    .sise-inspiration-card h4 {
        font-size: 14px;
    }

}
/* Dignitaries Cards Spacing Fix */

.sise-dignitaries-section .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 30px;
    margin-bottom: 30px !important;
}

/* Equal card height */
.sise-person-card,
.sise-inspiration-card {
    height: 100%;
    box-sizing: border-box;
}

/* Image spacing */
.sise-person-photo,
.sise-inspiration-photo {
    margin-bottom: 20px;
}

/* Mobile spacing */
@media (max-width: 576px) {
    .sise-dignitaries-section .row {
        --bs-gutter-x: 14px;
        --bs-gutter-y: 20px;
        margin-bottom: 20px !important;
    }
}

.sise-section-heading .sise-institute-name {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #243b64;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

@media (max-width: 576px) {
    .sise-section-heading .sise-institute-name {
        font-size: 19px;
    }
}
