.top-access-bar {
    background: #002c72;
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
}

.gov-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.gov-title img {
    width: 30px;
}

.access-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.access-links a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
}

.access-links a:hover {
    color: #f5a623;
}

.access-links .sep {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.font-resizers {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.btn-resizer {
    background: none;
    border: none;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    opacity: 0.85;
    transition: all .15s ease;
}

.btn-resizer:hover {
    opacity: 1;
    color: #f5a623;
}

.contrast-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    padding: 2px 4px;
    line-height: 1;
    opacity: 0.85;
    transition: all .15s ease;
}

.contrast-btn:hover {
    opacity: 1;
    color: #f5a623;
}

.lang-switch {
    gap: 4px;
}

.lang-btn-pill {
    background: #f5a623;
    color: #002c72 !important;
    font-weight: 700;
    border: none;
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    font-size: 13px;
    transition: all .2s ease;
    display: inline-block;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.lang-btn-pill:hover {
    background: #e59613;
    color: #001d4a !important;
}

.lang-btn-pill:not(.active) {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
}

.lang-btn-pill:not(.active):hover {
    background: #f5a623;
    color: #002c72 !important;
}

/* =====================================
MAIN HEADER - PREMIUM GOV DESIGN
===================================== */

.main-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

/* =====================================
LOGO
===================================== */

.header-logo {
    height: 78px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

/* =====================================
DEPARTMENT INFO
===================================== */

.dept-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gov-line {
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.dept-title {
    color: #0f2d6d;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0;
}

.dept-division {
    margin: 0;
}

.dept-sub {
    color: #6b7280;
    font-size: 13px;
    margin-top: 4px;
    font-style: italic;
}

/* =====================================
HEADER RIGHT CARDS (OATH + HELPLINE + CM PHOTO)
===================================== */

.header-right-cards {
    display: flex;
    align-items: center;
    gap: 16px;
}

.oath-card {
    background: #0b2d71;
    color: #fff;
    border-radius: 12px;
    padding: 10px 16px;
    max-width: 280px;
    box-shadow: 0 3px 10px rgba(11, 45, 113, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.oath-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 4px;
}

.oath-title i {
    font-size: 13px;
    color: #ffffff;
}

.oath-text {
    font-size: 12px;
    line-height: 1.4;
    color: #e2e8f0;
    font-weight: 400;
    font-style: normal;
}


/* =====================================
HELPLINE CARD
===================================== */

.helpline-mini {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 8px 16px;
    min-width: 420px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.helpline-title {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #dc2626;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
    letter-spacing: .5px;
}

.helpline-title i {
    font-size: 16px;
}

.helpline-split {
    display: flex;
    align-items: center;
}

.help-box {
    flex: 1;
    text-align: center;
}

.help-divider {
    width: 1px;
    height: 40px;
    background: #dbe1e8;
    margin: 0 14px;
}

.help-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
}

.help-label.scholarship {
    color: #2563eb;
}

.help-label.atrocity {
    color: #ef4444;
}

.help-number {
    color: #111827;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

/* Scrolling Helpline Box (left side of Helpline card) */

.help-scroll {
    height: 40px;
    overflow: hidden;
    position: relative;
}

.help-scroll-track {
    display: flex;
    flex-direction: column;
    animation: helplineScroll 9s cubic-bezier(.65, 0, .35, 1) infinite;
}

.help-scroll-item {
    height: 40px;
    flex-shrink: 0;
    text-align: center;
}

.help-label.child {
    color: #16a34a;
}

.help-label.police {
    color: #7c3aed;
}

@keyframes helplineScroll {

    0%,
    25% {
        transform: translateY(0);
    }

    33.33%,
    58.33% {
        transform: translateY(-40px);
    }

    66.66%,
    91.66% {
        transform: translateY(-80px);
    }

    100% {
        transform: translateY(-120px);
    }
}

/* Static 2-column helpline (like live site: Scholarship | Atrocity) */

.help-col {
    flex: 1;
    text-align: center;
    padding: 2px 6px;
}

/* =====================================
CM / MINISTER PHOTO
===================================== */

.cm-photo-wrap {
    flex-shrink: 0;
    margin-left: 12px;
}

.cm-photo {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    border: 3px solid #f5a623;
    box-shadow: 0 0 0 3px #002c72, 0 4px 16px rgba(0, 44, 114, .25);
    display: block;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width:991px) {

    .dept-title {
        font-size: 22px;
    }

    .helpline-mini {
        min-width: 360px;
    }

}

@media (max-width:768px) {

    /* Center Header Content */

    .main-header .col {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    /* Center Logo */

    .header-logo {
        display: block;
        margin: 0 auto 10px auto !important;
        height: 65px;
    }

    /* Center Department Area */

    .dept-area {
        align-items: center;
        text-align: center;
    }

    .gov-line {
        text-align: center;
    }

    .dept-title {
        text-align: center;
        font-size: 18px;
    }

    .dept-division {
        font-size: 10px;
        text-align: center;
    }

    .dept-sub {
        text-align: center;
    }

    /* Helpline Full Width */

    .col-auto {
        width: 100%;
        margin-top: 12px;
    }

    .helpline-mini {
        width: 100%;
        min-width: auto;
    }

    .helpline-split {
        flex-direction: column;
        gap: 12px;
    }

    .help-divider {
        display: none;
    }

    .help-number {
        white-space: normal;
    }
}


.header-right-cards {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

/* Oath Card */

.oath-card {
    width: 260px;
    background: linear-gradient(135deg, #0f2d6d, #17479d);
    color: #fff;
    border-radius: 14px;
    padding: 12px 15px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .08);
}

.oath-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.oath-text {
    font-size: 12px;
    line-height: 1.5;
    opacity: .95;
}

/* Mobile */

@media (max-width:991px) {

    .header-right-cards {
        flex-direction: column;
        width: 100%;
    }

    .oath-card,
    .helpline-mini {
        width: 100%;
        min-width: auto;
    }
}



/* =====================================
CM CARD
===================================== */

.cm-card {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
}

.cm-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #0f2f73;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}


/* Mobile */

@media (max-width:768px) {

    .cm-card {
        justify-content: center;
        margin-top: 15px;
    }

    .cm-photo {
        width: 70px;
        height: 70px;
    }
}

/* Navbar */
.custom-navbar {
    background: #022f78;
}

.custom-navbar .nav-link {
    color: #fff !important;
    padding: 16px 14px !important;
    font-weight: 500;
    transition: 0.2s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    font-weight: 600;
}

.custom-navbar .dropdown-item.active,
.custom-navbar .dropdown-item:active {
    background: #0f2f73;
    color: #ffffff !important;
    font-weight: 600;
}

/* =========================
RESPONSIVE DESIGN
========================= */

@media (max-width: 768px) {

    .dept-area {
        text-align: center;
        margin-top: 10px;
        align-items: center;
    }

    .dept-area h4,
    .dept-area h5 {
        font-size: 16px;
    }

    .dept-area p,
    .dept-area .badge {
        font-size: 13px;
    }

    .header-logo {
        height: 60px;
        margin: 0 auto;
        display: block;
    }

    .helpline-box {
        margin-top: 10px;
    }
}

/* =====================================
BREAKING NEWS BAR
===================================== */

.breaking-news-bar {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.breaking-news-container {
    display: flex;
    align-items: center;
    height: 56px;
    overflow: hidden;
}

/* Left Label */

.news-label {
    display: flex;
    align-items: center;
    gap: 8px;

    background: linear-gradient(135deg, #032b73, #0f4db8);

    color: #fff;

    padding: 10px 18px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    flex-shrink: 0;
}

.news-label i {
    color: #ffc107;
}

/* Ticker Area */

.news-ticker {
    flex: 1;
    overflow: hidden;
    margin: 0 20px;
    position: relative;
}

.news-track {
    display: flex;
    align-items: center;
    width: max-content;

    animation: tickerScroll 35s linear infinite;
}

.news-ticker:hover .news-track,
.news-track:hover,
.news-track:focus-within {
    animation-play-state: paused;
}

.news-track span {
    white-space: nowrap;

    margin-right: 60px;

    color: #374151;

    font-size: 14px;
    font-weight: 500;
}

/* View All */

.view-all-news {
    color: #032b73;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    flex-shrink: 0;
}

.view-all-news:hover {
    color: #c89224;
}

/* Animation */

@keyframes tickerScroll {

    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width:768px) {

    .breaking-news-container {
        height: 50px;
    }

    .news-label {
        padding: 8px 12px;
        font-size: 12px;
    }

    .news-track span {
        font-size: 12px;
        margin-right: 40px;
    }

    .view-all-news {
        display: none;
    }
}

/* =====================================
HERO BANNER SECTION
===================================== */

.hero-banner-small {
    background: linear-gradient(135deg,
            #eef5ff 0%,
            #dcecff 50%,
            #f8fbff 100%);
    padding: 24px 0;
    position: relative;
    overflow: hidden;
}

/* Decorative Shapes */

.hero-banner-small::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(15, 47, 115, .05);
    top: -150px;
    right: -120px;
}

.hero-banner-small::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(0, 123, 255, .05);
    bottom: -120px;
    left: -80px;
}


/* =====================================
LEFT CONTENT & CAROUSEL WRAPPER
===================================== */

.hero-content-small {
    position: relative;
    z-index: 2;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-carousel-wrapper {
    position: relative;
    z-index: 2;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =====================================
PREMIUM PORTAL CARDS
===================================== */

.hero-buttons {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.hero-buttons .btn {
    position: relative;
    min-height: 66px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 12px 14px 12px 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 3px 10px rgba(15, 47, 115, .06);
    transition: all .25s ease;
    overflow: hidden;
    text-decoration: none;
}

.hero-buttons .btn span {
    flex: 1;
    line-height: 1.35;
}

.hero-buttons .btn i {
    font-size: 18px;
    margin-right: 10px;
    flex-shrink: 0;
    transition: color .25s ease;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(15, 47, 115, .12);
}

/* Left Accent Bar */
.hero-buttons .btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    border-radius: 12px 0 0 12px;
    background: var(--portal-accent, #2563eb);
}

/* Arrow */
.hero-buttons .btn::after {
    content: '→';
    margin-left: 8px;
    font-size: 17px;
    color: #94a3b8;
    transition: transform .25s ease, color .25s ease, opacity .25s ease;
    flex-shrink: 0;
}

.hero-buttons .btn:hover::after {
    transform: translateX(4px);
    color: #ffffff;
    opacity: 1;
}

/* ── Dynamic accent-color portal buttons ── */
.hero-buttons .hero-portal-btn::before {
    background: var(--portal-accent, #2563eb);
}

.hero-buttons .hero-portal-btn i {
    color: var(--portal-accent, #2563eb);
}

.hero-buttons .hero-portal-btn:hover {
    background: var(--portal-accent, #2563eb);
    color: #fff;
    border-color: var(--portal-accent, #2563eb);
}

/* ── Disabled portal card ── */
.hero-buttons .portal-card-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(60%);
}

.portal-badge-disabled {
    font-size: 10px;
    background: #e2e8f0;
    color: #64748b;
    border-radius: 4px;
    padding: 2px 6px;
    margin-left: 6px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Accent Colors (legacy btn-* support) ── */
.hero-buttons .btn-success::before { background: #10b981; }
.hero-buttons .btn-primary::before { background: #2563eb; }
.hero-buttons .btn-warning::before { background: #f59e0b; }
.hero-buttons .btn-info::before    { background: #06b6d4; }
.hero-buttons .btn-danger::before  { background: #ef4444; }
.hero-buttons .btn-dark::before    { background: #334155; }

.hero-buttons .btn-success:hover { background: #10b981; color: #fff; border-color: #10b981; }
.hero-buttons .btn-primary:hover { background: #2563eb; color: #fff; border-color: #2563eb; }
.hero-buttons .btn-warning:hover { background: #f59e0b; color: #fff; border-color: #f59e0b; }
.hero-buttons .btn-info:hover    { background: #06b6d4; color: #fff; border-color: #06b6d4; }
.hero-buttons .btn-danger:hover  { background: #ef4444; color: #fff; border-color: #ef4444; }
.hero-buttons .btn-dark:hover    { background: #334155; color: #fff; border-color: #334155; }

.hero-buttons .btn:hover i   { color: #fff !important; }
.hero-buttons .btn:hover span { color: #fff !important; }


/* =====================================
CAROUSEL CARD
===================================== */

.hero-image-card {
    background: #0f172a;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 47, 115, .08);
    position: relative;
    border: 1px solid #e5e7eb;
    width: 100%;
    aspect-ratio: 1518 / 610;
    display: flex;
}

.hero-image-card .carousel-inner,
.hero-image-card .carousel-item {
    width: 100%;
    height: 100%;
}

.hero-small-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    display: block;
}

/* =====================================
CAROUSEL CONTROLS
===================================== */

.hero-image-card .carousel-control-prev,
.hero-image-card .carousel-control-next {
    width: 50px;
    opacity: 0;
    transition: .3s;
}

.hero-image-card:hover .carousel-control-prev,
.hero-image-card:hover .carousel-control-next {
    opacity: 1;
}

.hero-image-card .carousel-control-prev-icon,
.hero-image-card .carousel-control-next-icon {
    background-color: rgba(15, 47, 115, .8);
    border-radius: 50%;
    padding: 18px;
}

/* =====================================
INDICATORS
===================================== */

.hero-image-card .carousel-indicators {
    margin-bottom: 12px;
}

.hero-image-card .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    margin: 0 4px;
}

.hero-image-card .carousel-indicators .active {
    background-color: #0f2f73;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width:991px) {

    .hero-content-small {
        padding: 0 0 16px 0;
        text-align: center;
        margin-bottom: 0;
        height: auto;
    }

    .hero-carousel-wrapper {
        padding: 0;
        height: auto;
    }

    .hero-content-small h1 {
        font-size: 34px;
    }

    .hero-buttons {
        height: auto;
        grid-template-rows: auto;
        justify-content: center;
    }

    .hero-buttons .btn {
        height: auto;
        min-height: 64px;
        padding: 12px 16px;
    }

    .hero-image-card {
        width: 100%;
        aspect-ratio: 1518 / 610;
        max-height: 340px;
    }

    .hero-image-card .carousel-inner,
    .hero-image-card .carousel-item,
    .hero-small-image {
        width: 100%;
        height: 100%;
    }
}

@media (max-width:768px) {

    .hero-banner-small {
        padding: 16px 0 20px 0;
    }

    .hero-image-card {
        aspect-ratio: 1518 / 610;
        min-height: 160px;
        border-radius: 14px;
    }

    .hero-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-content-small {
        margin-bottom: 0;
        padding: 0 0 14px 0;
    }
}

@media (max-width:480px) {
    .hero-image-card {
        aspect-ratio: 1518 / 610;
        min-height: 140px;
        border-radius: 12px;
    }
}

/* =====================================
QUICK SERVICES
===================================== */

.quick-services-section {
    margin-top: 22px;
    position: relative;
    z-index: 5;
}

.services-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.service-box {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    min-height: 170px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: .3s;
    background: #fff;
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.service-box i {
    font-size: 48px;
    color: #0f3f9d;
    margin-bottom: 15px;
}

.service-box h6 {
    color: #162b63;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.5;
}

/* =====================================
RESPONSIVE
===================================== */

@media(max-width:991px) {

    .hero-content {
        padding: 40px 25px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-section {
        text-align: center;
    }

    .quick-services-section {
        margin-top: 20px;
    }

}

/* =====================================
IMPORTANT LINKS ROW (Home Page)
===================================== */

.important-links-section {
    margin-top: 22px;
}

.important-links-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.important-links-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #162b63;
    font-weight: 700;
    font-size: 17px;
    margin-bottom: 14px;
}

.important-links-title i {
    color: #c89224;
    font-size: 20px;
}

.important-link-box {
    text-decoration: none;
    min-height: 130px;
    padding: 14px 10px;
}

.important-link-box i {
    font-size: 34px;
    color: #0f3f9d;
    margin-bottom: 12px;
}

.important-link-box h6 {
    color: #162b63;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.4;
}

/* =====================================
PARTNER ORGANIZATIONS - SCROLLING STRIP
===================================== */

.partners-scroll-section {
    margin-top: 20px;
}

.partners-scroll-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
}

.partners-label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #032b73, #0f4db8);
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

.partners-label i {
    color: #ffc107;
}

.partners-track-outer {
    flex: 1;
    overflow: hidden;
    margin-left: 20px;
    position: relative;
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: partnersScroll 28s linear infinite;
}

.partner-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    margin-right: 34px;
    padding: 10px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    color: #162b63;
    font-weight: 600;
    font-size: 14px;
    background: #f8f9fb;
    text-decoration: none;
    transition: .25s;
}

.partner-badge:hover {
    background: #eef2ff;
    color: #0f3f9d;
    border-color: #c7d2fe;
}

.partner-badge i {
    font-size: 20px;
    color: #0f3f9d;
}

@keyframes partnersScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width:768px) {

    .important-link-box {
        min-height: 110px;
    }

    .partners-scroll-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .partners-track-outer {
        margin-left: 0;
        width: 100%;
    }
}


/* =====================================
MODERN STATISTICS BAR
===================================== */

.stats-section {
    padding: 20px 0;
    background: #f8fbff;
}

.stats-wrapper {
    background: linear-gradient(135deg,
            #0f2f73,
            #1646a3);
    border-radius: 20px;
    padding: 15px 10px;
    box-shadow: 0 10px 25px rgba(15, 47, 115, .15);
}

.stat-item {
    position: relative;
    padding: 10px;
    color: #fff;
    transition: .35s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    width: 1px;
    height: 70%;
    background: rgba(255, 255, 255, .18);
}

.col-lg-2:last-child .stat-item::after {
    display: none;
}

.stat-item i {
    font-size: 28px;
    margin-bottom: 8px;
    display: block;
    color: #ffffff;
    transition: .3s;
}

.stat-item:hover i {
    transform: scale(1.15);
}

.stat-item h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}

.stat-item p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    opacity: .95;
}

/* Mobile */

@media(max-width:768px) {

    .stats-wrapper {
        padding: 10px;
    }

    .stat-item {
        margin-bottom: 15px;
    }

    .stat-item::after {
        display: none;
    }

    .stat-item h2 {
        font-size: 24px;
    }

}

/* =====================================
FEATURED SCHEMES
===================================== */

.featured-schemes {
    padding: 40px 0;
    background: #f7f8fb;
}

.section-title-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title-area h3 {
    color: #0f2f73;
    font-weight: 700;
}

.section-title-area a {
    text-decoration: none;
    color: #0f2f73;
    font-weight: 600;
}

.scheme-card {
    border-radius: 18px;
    padding: 35px;
    min-height: 380px;
    transition: .3s;
}

.scheme-card:hover {
    transform: translateY(-6px);
}

.education-card {
    background: #eef5ff;
}

.housing-card {
    background: #eef8ef;
}

.economic-card {
    background: #fff6e7;
}

.tribal-card {
    background: #f6eefc;
}

.scheme-icon {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.education-card .scheme-icon {
    background: #0f55d5;
    color: #fff;
}

.housing-card .scheme-icon {
    background: #2e9a36;
    color: #fff;
}

.economic-card .scheme-icon {
    background: #f59b16;
    color: #fff;
}

.tribal-card .scheme-icon {
    background: #9b4fd4;
    color: #fff;
}

.scheme-icon i {
    font-size: 38px;
}

.scheme-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
}

.scheme-card ul {
    padding-left: 18px;
    margin-bottom: 25px;
}

.scheme-card ul li {
    margin-bottom: 12px;
    color: #333;
}

.scheme-card a {
    text-decoration: none;
    font-weight: 600;
    color: #0f3f9d;
}

/* =====================================
INFO SECTION
===================================== */

.info-section {
    padding: 10px 0 40px;
    background: #f7f8fb;
}

.info-card {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .05);
}

.card-header-custom {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.card-header-custom h5 {
    color: #0f2f73;
    font-weight: 700;
}

.card-header-custom a {
    text-decoration: none;
    color: #0f2f73;
    font-size: 14px;
}

.success-story {
    display: flex;
    gap: 15px;
}

.success-story img {
    width: 90px;
    height: 130px;
    object-fit: cover;
    border-radius: 8px;
}

.story-text {
    font-size: 13px;
    margin-top: 10px;
}

.announcement-list-new,
.download-list-new {
    list-style: none;
    padding: 0;
}

.announcement-list-new li,
.download-list-new li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.announcement-list-new i,
.download-list-new i {
    color: #ef4444;
    margin-right: 8px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
}

/* =====================================
FOOTER
===================================== */

.main-footer {

    background:
        linear-gradient(135deg,
            #0b1f4d,
            #032b73);

    color: #fff;

    margin-top: 10px;

    border-top: 4px solid #c89224;
}

/* =====================================
TOP AREA
===================================== */

.footer-top {
    padding: 35px 0 20px;
}

/* =====================================
WIDGET
===================================== */

.footer-widget h5 {

    font-size: 18px;

    font-weight: 700;

    margin-bottom: 18px;

    color: #fff;

    position: relative;
}

.footer-widget h5::after {

    content: '';

    width: 40px;
    height: 3px;

    background: #c89224;

    display: block;

    margin-top: 8px;

    border-radius: 10px;
}

/* =====================================
LOGO AREA
===================================== */

.footer-logo-area {

    display: flex;

    align-items: center;

    gap: 15px;

    margin-bottom: 15px;
}

.footer-logo-area img {

    width: 60px;
}

.footer-logo-area h4 {

    font-size: 18px;

    font-weight: 700;

    margin: 0;

    line-height: 1.4;
}

.footer-logo-area p {

    margin: 0;

    color: rgba(255, 255, 255, .7);

    font-size: 13px;
}

.footer-desc {

    color: rgba(255, 255, 255, .75);

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 20px;
}

/* =====================================
SOCIAL
===================================== */

.social-icons {

    display: flex;

    gap: 10px;
}

.social-icons a {

    width: 42px;
    height: 42px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    color: #fff;

    background: rgba(255, 255, 255, .08);

    transition: .3s;
}

.social-icons a:hover {

    background: #c89224;

    transform: translateY(-3px);
}

/* =====================================
LINKS
===================================== */

.footer-widget ul {

    list-style: none;

    padding: 0;
    margin: 0;
}

.footer-widget ul li {

    margin-bottom: 10px;
}

.footer-widget ul li a {

    color: rgba(255, 255, 255, .78);

    text-decoration: none;

    transition: .3s;

    font-size: 14px;
}

.footer-widget ul li a:hover {

    color: #fff;

    padding-left: 8px;
}

/* =====================================
CONTACT
===================================== */

.contact-item {

    display: flex;

    gap: 12px;

    margin-bottom: 14px;

    align-items: flex-start;
}

.contact-item i {

    color: #c89224;

    font-size: 16px;

    margin-top: 3px;
}

.contact-item span {

    color: rgba(255, 255, 255, .82);

    font-size: 14px;

    line-height: 1.6;
}

/* =====================================
VISITOR CARD
===================================== */

.visitor-box {

    margin-top: 20px;

    background:
        rgba(255, 255, 255, .08);

    border: 1px solid rgba(255, 255, 255, .08);

    border-radius: 16px;

    padding: 15px 18px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.visitor-box small {

    color: rgba(255, 255, 255, .65);
}

.visitor-box h4 {

    margin: 4px 0 0;

    font-size: 24px;

    font-weight: 800;

    color: #fff;
}

.visitor-box i {

    font-size: 34px;

    color: #c89224;
}

/* =====================================
FOOTER BOTTOM
===================================== */

.footer-bottom {
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 20px;
}

.footer-disclaimer {
    text-align: center;
    max-width: 1100px;
    margin: 0 auto 20px;
    font-size: 13px;
    line-height: 1.8;
    color: #94a3b8;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 15px;
    font-size: 15px;
    color: #cbd5e1;
}

.footer-bottom-bar strong {
    color: #ffffff;
    font-weight: 600;
}

.footer-admin-sep {
    margin: 0 10px;
    color: rgba(255, 255, 255, .25);
}

.footer-admin-link {
    color: #8fb4ff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .2px;
}

.footer-admin-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

@media(max-width:991px) {

    .footer-disclaimer {
        font-size: 12px;
        line-height: 1.7;
        margin-bottom: 15px;
    }

    .footer-bottom-bar {
        text-align: center;
    }

    .footer-bottom-bar .col-lg-6:first-child {
        margin-bottom: 8px;
    }
}

.footer-heart {
    color: #ff1744;
    font-size: 16px;
    vertical-align: middle;

    text-shadow:
        0 1px 0 #e0002d,
        0 2px 0 #c70028,
        0 3px 6px rgba(255, 23, 68, .45);

    animation: heartbeat 1.5s ease-in-out infinite;
}

.footer-credit-link,
.footer-credit-link:hover,
.footer-credit-link:focus,
.footer-credit-link:active {
    color: inherit;
    text-decoration: none !important;
}

/* =====================================
RESPONSIVE
===================================== */

@media(max-width:991px) {

    .footer-top {
        padding: 25px 0 15px;
    }

    .footer-widget {
        margin-bottom: 15px;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-lg-end {
        text-align: center !important;
    }
}

/* =====================================
LEADERSHIP SECTION
===================================== */

.leadership-section {
    background: #f7f9fc;
}

.section-title {
    color: #0f2f73;
    font-weight: 700;
    font-size: 2rem;
}

.leadership-card {
    background: #fff;
    border-radius: 20px;
    padding: 35px 30px 30px;
    text-align: center;
    height: 100%;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.leadership-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(15, 47, 115, .14);
}

/* Profile Circle */
.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 22px;
    border: 4px solid #e5e7eb;
    background: #e8edf5;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .10);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Placeholder icon when no photo uploaded */
.profile-image .profile-placeholder-icon {
    font-size: 72px;
    color: #b0bcd1;
    line-height: 1;
}

.designation-badge {
    display: inline-block;
    background: #0f2f73;
    color: #fff;
    padding: 7px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: .3px;
}

.leadership-card h5 {
    color: #0f2f73;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.leadership-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 0;
}


#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border: none;
    border-radius: 50%;
    background: #032b73;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .2);
}

#scrollTopBtn:hover {
    background: #d39b25;
}

/* =====================================
BILINGUAL TOGGLE
===================================== */

.lang-btn.active {
    background: #c89224;
    border-color: #c89224;
    font-weight: 700;
}

:lang(ta),
[lang="ta"] {
    font-family: 'Noto Sans Tamil', 'Noto Sans', sans-serif;
}

body {
    font-family: 'Noto Sans', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* =====================================
PAGE BANNER (INNER PAGES)
===================================== */

.page-banner {
    background: linear-gradient(135deg, #0f2f73, #17479d);
    padding: 40px 0 30px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    top: -140px;
    right: -100px;
}

.page-banner h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 8px;
}

.page-banner .breadcrumb {
    margin-bottom: 0;
    background: transparent;
    padding: 0;
}

.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
    color: rgba(255, 255, 255, .8);
    font-size: 14px;
    text-decoration: none;
}

.page-banner .breadcrumb-item.active {
    color: #ffd166;
}

.page-banner .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}

/* =====================================
INNER PAGE CONTENT SECTION
===================================== */

.page-section {
    padding: 50px 0;
}

.page-section.bg-alt {
    background: #f7f8fb;
}

.content-heading {
    color: #0f2f73;
    font-weight: 800;
    margin-bottom: 15px;
}

.content-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #c89224;
    margin-top: 12px;
    border-radius: 10px;
}

/* =====================================
FILTER BAR (SCHOOLS / HOSTELS)
===================================== */

.filter-bar {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .06);
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

.filter-bar label {
    font-weight: 600;
    color: #0f2f73;
    font-size: 13px;
    margin-bottom: 6px;
    display: block;
}

.filter-bar .form-select,
.filter-bar .form-control {
    border-radius: 10px;
    border: 1px solid #d7dee8;
}

.result-count {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Listing cards */

.listing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
    transition: .3s;
}

.listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.listing-card .listing-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eef5ff;
    color: #0f3f9d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 14px;
}

.listing-card h6 {
    color: #0f2f73;
    font-weight: 700;
    margin-bottom: 6px;
}

.listing-card .district-tag {
    display: inline-block;
    background: #eef5ff;
    color: #0f3f9d;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.listing-card ul {
    list-style: none;
    padding: 0;
    margin: 12px 0 0;
    font-size: 13px;
    color: #444;
}

.listing-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.listing-card ul li i {
    color: #c89224;
}

.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #6b7280;
}

.no-results i {
    font-size: 48px;
    color: #dbe1e8;
    margin-bottom: 15px;
    display: block;
}

/* =====================================
SCHEME / SCHOLARSHIP DETAIL CARDS
===================================== */

.scholarship-detail-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    padding: 28px;
    height: 100%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}

.scholarship-detail-card .sch-amount {
    display: inline-block;
    background: #eef8ef;
    color: #1a7d2b;
    font-weight: 700;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.scholarship-detail-card table {
    width: 100%;
    font-size: 13px;
    margin-top: 10px;
}

.scholarship-detail-card table td {
    padding: 6px 0;
    color: #444;
    vertical-align: top;
}

.scholarship-detail-card table td:first-child {
    font-weight: 600;
    color: #0f2f73;
    width: 40%;
}

/* =====================================
ORG CHART / DIRECTOR MESSAGE
===================================== */

.org-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.org-list li {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #0f2f73;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 600;
    color: #0f2f73;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .03);
}

.org-list li span.org-level {
    background: #eef5ff;
    color: #0f3f9d;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.director-message-box {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;
    position: relative;
}

.director-message-box i.bi-quote {
    font-size: 40px;
    color: #eef5ff;
    position: absolute;
    top: 20px;
    right: 30px;
}

.director-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #eef5ff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .1);
}

.mission-vision-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    height: 100%;
    border: 1px solid #e5e7eb;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .05);
}

.mission-vision-card .mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #0f2f73, #17479d);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
}

/* =====================================
CONTACT PAGE
===================================== */

.contact-form-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 10px;
    border: 1px solid #d7dee8;
    padding: 10px 14px;
}

.contact-form-card label {
    font-weight: 600;
    color: #0f2f73;
    font-size: 13px;
    margin-bottom: 6px;
}

.contact-info-card {
    background: linear-gradient(135deg, #0f2f73, #17479d);
    border-radius: 18px;
    padding: 32px;
    color: #fff;
    height: 100%;
}

.contact-info-card .contact-item i {
    color: #ffd166;
}

.contact-info-card .contact-item span {
    color: rgba(255, 255, 255, .9);
}

.map-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;
    margin-top: 30px;
}

.map-frame iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

.form-success-alert {
    display: none;
}

/* =====================================
GALLERY PAGE
===================================== */

.gallery-full-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-full-item {
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
}

.gallery-full-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: .4s;
    display: block;
}

.gallery-full-item:hover img {
    transform: scale(1.08);
}

.gallery-full-item .gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    color: #fff;
    padding: 24px 12px 10px;
    font-size: 13px;
    font-weight: 600;
}

@media(max-width:991px) {
    .gallery-full-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:576px) {
    .gallery-full-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================
GALLERY LIGHTBOX SLIDER MODAL
===================================== */

.gallery-lightbox-modal .modal-content {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.gallery-lightbox-modal .modal-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 20px;
    display: flex;
    align-items: center;
}

.gallery-lightbox-modal .modal-title {
    color: #0f172a;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
}

.gallery-lightbox-modal .btn-close {
    opacity: 0.7;
    transition: all 0.2s ease;
}

.gallery-lightbox-modal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Equal width & height for every image in the popup without cutting */
.gallery-lightbox-slide {
    width: 100%;
    height: 500px;
    background: #090d16;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.gallery-slide-backdrop {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.35);
    transform: scale(1.18);
    z-index: 1;
    pointer-events: none;
}

.gallery-slide-img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-modal .carousel-control-prev,
.gallery-lightbox-modal .carousel-control-next {
    z-index: 10;
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    opacity: 0.9;
    transition: all 0.25s ease;
    margin: 0 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-lightbox-modal .carousel-control-prev:hover,
.gallery-lightbox-modal .carousel-control-next:hover {
    background: #2563eb;
    border-color: #ffffff;
    opacity: 1;
    transform: translateY(-50%) scale(1.12);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.6);
}

.gallery-lightbox-modal .carousel-control-prev-icon,
.gallery-lightbox-modal .carousel-control-next-icon {
    width: 22px;
    height: 22px;
}

.gallery-lightbox-modal .modal-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 12px 20px;
}

.gallery-counter-badge {
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #bfdbfe;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .gallery-lightbox-slide {
        height: 320px;
    }
    .gallery-lightbox-modal .carousel-control-prev,
    .gallery-lightbox-modal .carousel-control-next {
        width: 40px;
        height: 40px;
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .gallery-lightbox-slide {
        height: 240px;
    }
}

/* =====================================
UPDATES / ANNOUNCEMENTS / DOWNLOADS LIST PAGES
===================================== */

.list-page-item {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .03);
    transition: .25s;
}

.list-page-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.list-page-item .list-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef5ff;
    color: #0f3f9d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.list-page-item .list-body {
    flex: 1;
}

.list-page-item h6 {
    color: #0f2f73;
    font-weight: 700;
    margin-bottom: 4px;
}

.list-page-item small {
    color: #6b7280;
}

.list-page-item .list-tag {
    background: #f0f0f0;
    color: #374151;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.list-page-item .list-tag.new {
    background: #fde8e8;
    color: #dc2626;
}

.list-page-item .btn-download {
    background: #0f2f73;
    color: #fff;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.list-page-item .btn-download:hover {
    background: #c89224;
    color: #fff;
}

@media(max-width:576px) {
    .list-page-item {
        flex-wrap: wrap;
    }
}

/* =====================================
DETAIL PAGE TEMPLATES (query-string driven)
===================================== */

.detail-content-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;
}

.detail-content-card h2 {
    color: #0f2f73;
    font-weight: 800;
    margin-bottom: 6px;
}

.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 14px 0 20px;
}

.detail-meta-row .tag-pill {
    background: #eef5ff;
    color: #0f3f9d;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
}

.detail-section-title {
    color: #0f2f73;
    font-weight: 700;
    font-size: 17px;
    margin: 26px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section-title i {
    color: #c89224;
}

.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detail-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14.5px;
    color: #374151;
}

.detail-list li i {
    color: #1a7d2b;
    margin-top: 3px;
    flex-shrink: 0;
}

.related-card-strip {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.related-card-strip a {
    background: #f7f8fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 10px 16px;
    color: #0f2f73;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: .25s;
}

.related-card-strip a:hover {
    background: #0f2f73;
    color: #fff;
}

/* Data driven table (services / schemes) */

.data-table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.data-table th {
    background: #0f2f73;
    color: #fff;
    text-align: left;
    padding: 14px 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eef0f3;
    font-size: 14px;
    color: #374151;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: #f7f8fb;
}

data-table-contact .data-table-contact {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.data-table-contact th {
    background: #0f2f73;
    color: #fff;
    text-align: left;
    padding: 14px 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.data-table-contact td {
    padding: 14px 9px;
    border-bottom: 1px solid #eef0f3;
    font-size: 14px;
    color: #374151;
}

.data-table-contact tr:last-child td {
    border-bottom: none;
}

.data-table-contact tr:hover td {
    background: #f7f8fb;
}

.doc-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-link-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #f7f8fb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 12px;
}

.doc-link-list .doc-name {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #0f2f73;
    font-size: 14px;
}

.doc-link-list .doc-name i {
    color: #dc2626;
    font-size: 20px;
}

.story-detail-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;
}

.story-detail-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.story-detail-body {
    padding: 32px;
}

.story-card-mini {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
    height: 100%;
    transition: .3s;
}

.story-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.story-card-mini img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.story-card-mini .story-card-body {
    padding: 18px;
}

.story-card-mini h6 {
    color: #0f2f73;
    font-weight: 700;
    margin-bottom: 4px;
}

.story-card-mini .story-excerpt {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.scheme-listing-card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    height: 100%;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
    transition: .3s;
}

.scheme-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .1);
}

.scheme-listing-card .scheme-icon-sm {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eef5ff;
    color: #0f3f9d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 14px;
}

.scheme-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.scheme-category-tabs button {
    border: 1px solid #d7dee8;
    background: #fff;
    color: #0f2f73;
    font-weight: 600;
    font-size: 13px;
    padding: 9px 18px;
    border-radius: 24px;
    cursor: pointer;
    transition: .25s;
}

.scheme-category-tabs button.active,
.scheme-category-tabs button:hover {
    background: #0f2f73;
    color: #fff;
    border-color: #0f2f73;
}

.not-found-box {
    text-align: center;
    padding: 70px 20px;
}

.not-found-box i {
    font-size: 56px;
    color: #dbe1e8;
    margin-bottom: 18px;
    display: block;
}

/* =====================================
CONTACT PAGE — QUICK INFO CARDS + DIRECTORY LINK
===================================== */

.quick-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.quick-info-card .qi-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.quick-info-card .qi-icon.blue {
    background: #1a73e8;
}

.quick-info-card .qi-icon.green {
    background: #1a9c4b;
}

.quick-info-card .qi-icon.purple {
    background: #7c3aed;
}

.quick-info-card .qi-icon.red {
    background: #dc2626;
}

.quick-info-card h6 {
    color: #0f2f73;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.quick-info-card p {
    font-size: 13px;
    color: #374151;
    margin-bottom: 0;
    line-height: 1.5;
}

.office-timing-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
}

.office-timing-box .ot-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eef5ff;
    color: #0f3f9d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.office-timing-box h6 {
    color: #0f2f73;
    font-weight: 700;
    margin-bottom: 4px;
}

.office-timing-box p {
    font-size: 13.5px;
    color: #374151;
    margin-bottom: 0;
}

.directory-link-box {
    background: #fdf3e0;
    border: 1px solid #f0dcae;
    border-radius: 16px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.directory-link-box .dl-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #c89224;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.directory-link-box .dl-body {
    flex: 1;
    min-width: 200px;
}

.directory-link-box h6 {
    color: #8a6116;
    font-weight: 700;
    margin-bottom: 4px;
}

.directory-link-box p {
    font-size: 13px;
    color: #6b5a34;
    margin-bottom: 0;
}

.directory-link-box .btn-directory {
    background: #fff;
    border: 1px solid #c89224;
    color: #8a6116;
    font-weight: 600;
    font-size: 13.5px;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: .25s;
}

.directory-link-box .btn-directory:hover {
    background: #c89224;
    color: #fff;
}

/* =====================================
LEADERSHIP SECTION
===================================== */

.leadership-section {
    padding: 20px 0;
    background: #f8fafc;
}

/* Heading */

.section-heading-center {
    text-align: center;
    margin-bottom: 20px;
}

.section-heading-center span {
    background: #eef4ff;
    color: #032b73;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.section-heading-center h2 {
    margin: 10px 0 5px;
    color: #032b73;
    font-size: 28px;
    font-weight: 800;
}

.section-heading-center p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* =====================================
LEADER CARD
===================================== */

.leader-card {

    background: #fff;

    border-radius: 18px;

    padding: 15px;

    display: flex;
    align-items: center;
    gap: 15px;

    border: 1px solid #edf1f7;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, .05);

    transition: .3s;

    height: 100%;
}

.leader-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 12px 25px rgba(0, 0, 0, .08);
}

/* =====================================
IMAGE
===================================== */

.leader-image {

    width: 90px;
    height: 90px;

    min-width: 90px;

    border-radius: 50%;

    overflow: hidden;

    border: 4px solid #f1f5f9;

    background: #fff;
}

.leader-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;
}

/* =====================================
CONTENT
===================================== */

.leader-content {
    flex: 1;
}

.leader-badge {

    display: inline-block;

    padding: 4px 10px;

    border-radius: 30px;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 8px;
}

.minister {
    background: #fff7ed;
    color: #ea580c;
}

.secretary {
    background: #eff6ff;
    color: #2563eb;
}

.director {
    background: #ecfdf5;
    color: #16a34a;
}

.leader-content h4 {

    margin: 0 0 5px;

    font-size: 17px;

    font-weight: 800;

    color: #0f172a;
}

.leader-content p {

    margin: 0;

    font-size: 13px;

    color: #64748b;

    line-height: 1.5;
}

/* =====================================
RESPONSIVE
===================================== */

@media(max-width:991px) {

    .leader-card {
        padding: 12px;
    }

    .leader-image {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    .leader-content h4 {
        font-size: 15px;
    }

    .leader-content p {
        font-size: 12px;
    }
}

@media(max-width:576px) {

    .leader-card {
        flex-direction: column;
        text-align: center;
    }

    .leader-image {
        margin-bottom: 10px;
    }
}


/* =====================================
BREAKING NEWS TICKER LINKS
===================================== */

.news-ticker-link {
    color: #ffffff;
    text-decoration: none;
    transition: opacity .2s ease;
    display: inline-block;
    padding: 0 4px;
}

.news-ticker-link:hover {
    color: #fde047;
    text-decoration: underline;
}

/* =====================================
ABOUT PAGE (MATCHING LIVE SITE EXACTLY)
===================================== */

/* Administration Pill */
.badge-admin-tag {
    display: inline-block;
    background: #e0f2fe;
    color: #0284c7;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
}

/* Leadership Horizontal Cards */
.about-leadership-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.about-leadership-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 47, 115, 0.10);
}

.about-leader-avatar {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #f1f5f9;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    flex-shrink: 0;
}

.about-leader-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.about-leader-avatar .avatar-placeholder {
    font-size: 40px;
    color: #94a3b8;
}

.about-leader-info {
    flex: 1;
    min-width: 0;
}

.about-leader-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.about-leader-badge.minister {
    background: #ffedd5;
    color: #c2410c;
}

.about-leader-badge.secretary {
    background: #e0f2fe;
    color: #0369a1;
}

.about-leader-badge.director {
    background: #dcfce7;
    color: #15803d;
}

.about-leader-badge.default {
    background: #f1f5f9;
    color: #475569;
}

.about-leader-name {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 3px;
    line-height: 1.3;
}

.about-leader-desc {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

/* Headings & Orange Accent Bars */
.about-section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #0f2f73;
    text-align: center;
    margin-bottom: 0;
}

.about-heading-accent {
    width: 55px;
    height: 4px;
    background: #d97706;
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Vision & Mission Cards */
.about-vm-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 30px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-vm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.about-vm-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: #0f2f73;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}

.about-vm-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f2f73;
    margin-bottom: 6px;
}

.about-vm-accent {
    width: 45px;
    height: 3px;
    background: #d97706;
    border-radius: 2px;
    margin-bottom: 18px;
}

.about-vm-text {
    font-size: 14.5px;
    line-height: 1.75;
    color: #4b5563;
    margin: 0;
}

/* Organization Hierarchy */
.about-org-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #0f2f73;
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 14px;
    transition: all 0.2s ease;
}

.about-org-card:hover {
    transform: translateX(4px);
    border-left-color: #d97706;
    box-shadow: 0 4px 14px rgba(15, 47, 115, 0.08);
}

.about-org-num {
    font-size: 16px;
    font-weight: 700;
    color: #0f2f73;
    min-width: 24px;
}

.about-org-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f2f73;
    margin: 0;
}

@media(max-width: 576px) {
    .about-leadership-card {
        flex-direction: column;
        text-align: center;
    }

    .about-leader-avatar {
        margin: 0 auto 6px;
    }
}

/* =====================================
CONTACT PAGE — QUICK INFO CARDS & CONTACT TABLE
===================================== */

.quick-info-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.quick-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.quick-info-card .qi-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    flex-shrink: 0;
}

.quick-info-card .qi-icon.blue { background: #1a73e8; }
.quick-info-card .qi-icon.green { background: #1a9c4b; }
.quick-info-card .qi-icon.purple { background: #7c3aed; }
.quick-info-card .qi-icon.red { background: #dc2626; }

.quick-info-card h6 {
    color: #0f2f73;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
}

.quick-info-card p {
    font-size: 13px;
    color: #374151;
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-form-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 32px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;
}

.content-heading {
    color: #0f2f73;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* =====================================
RTI & DATA TABLES
===================================== */

.data-table-wrap {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.data-table th {
    background: #0f2f73;
    color: #fff;
    text-align: left;
    padding: 14px 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.data-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #eef0f3;
    font-size: 14px;
    color: #374151;
    white-space: pre-line;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: #f7f8fb;
}

.data-table-contact {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
}

.data-table-contact th {
    background: #0f2f73;
    color: #fff;
    text-align: left;
    padding: 14px 18px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.data-table-contact td {
    padding: 14px 18px;
    border-bottom: 1px solid #eef0f3;
    font-size: 14px;
    color: #374151;
    white-space: pre-line;
}

.data-table-contact tr:last-child td {
    border-bottom: none;
}

.data-table-contact tr:hover td {
    background: #f7f8fb;
}

.detail-content-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
    border: 1px solid #e5e7eb;
}

/* =====================================
   SCROLL TO TOP BUTTON
===================================== */
#scrollTopBtn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: #d39b25;
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 9999;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    background: #032b73;
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}