/* ================================================================
   CSS VARIABLES — Light Mode (default)
================================================================ */
:root {
    --bg-body:           #ffffff;
    --bg-page:           #f4f7fb;
    --bg-card:           #ffffff;
    --bg-input:          #f9fbff;
    --bg-muted:          #f4f6fb;
    --bg-highlight:      #f0f5ff;
    --bg-section:        #f0f7ff;
    --bg-dark-panel:     #214aab;

    --text-primary:      #444444;
    --text-heading:      #0a1f4d;
    --text-muted:        #5a6f94;
    --text-body:         #333333;
    --text-label:        #333333;
    --text-on-dark:      #ffffff;

    --accent-blue:       #214aab;
    --accent-blue-dark:  #16397d;
    --accent-blue-light: #dbe7ff;
    --accent-gold:       #ffd35a;

    --border-color:      #e3eaf5;
    --border-muted:      #d0d7e2;
    --border-card:       #e6e9ee;
    --border-section:    #d7e3f8;

    --shadow-sm:         0 4px 8px rgba(0,0,0,0.08);
    --shadow-md:         0 8px 20px rgba(0,0,0,0.08);
    --shadow-lg:         0 15px 40px rgba(0,0,0,0.10);

    --scrollbar-track:   #f1f1f1;
    --scrollbar-thumb:   linear-gradient(180deg, #2a5298, #52a702);

    --top-bar-bg:        #e9ecef;
    --middle-bar-bg:     #ffffff;
    --middle-bar-border: #cccccc;

    --news-date-bg:      #f0f5ff;
    --news-date-border:  #d7e3f8;
    --news-item-hover:   #f8faff;

    --filter-panel-bg:   #ffffff;
    --filter-select-bg:  #f9fbff;

    --table-head-bg:     #214aab;
    --table-head-color:  #ffffff;
    --table-row-hover:   #f4f7ff;
    --table-border:      #eeeeee;

    --report-head-bg:    linear-gradient(90deg, #214aab, #2c62d6);
    --report-table-head: #f4f6fb;

    --contact-form-header-bg: linear-gradient(135deg, #214aab, #0d2c78);

    --glance-section-bg: linear-gradient(135deg, #0b3c91, #1d5fd1);

    --footer-bg:         linear-gradient(135deg, #2a5298, #006ccd);
    --footer-text:       #ffffff;
    --footer-link:       #ffffff;
    --footer-border:     rgba(255,255,255,0.2);

    --nkn-card-bg:       rgba(245,248,255,0.95);
    --intro-box-bg:      linear-gradient(135deg, #eef4ff, #ffffff);

    --who-card-bg:       #ffffff;
    --who-list-hover:    #f9fbff;
    --person-bg:         #f9fbff;

    --help-section-bg:   #ffffff;
    --help-section-border: #e3e8f0;
    --help-table-head:   #f4f7fb;

    --page-title-h1:     #214aab;
    --breadcrumb-color:  #214aab;

    --cta-box-bg:        #ffffff;
    --cta-box-image:     linear-gradient(135deg, #fff 60%, #f0f5ff 100%);
    --cta-heading:       #0a1f4d;
    --cta-text:          #5a6f94;

    --sitemap-panel-bg:  #ffffff;
    --sitemap-heading:   #0a1f4d;

    --pill-bg:           #f0f5ff;
    --pill-border:       #214aab;
    --pill-text:         #2c3e5a;

    --tech-card-bg:      linear-gradient(135deg, #f8fbff, #ffffff);

    --home-news-panel-bg: #ffffff;
    --home-news-list-bg:  #ffffff;
    --home-pillar-card-bg: #ffffff;
    --home-pillar-h3:     #0a1f4d;
    --home-pillar-p:      #4a5f7a;
    --home-pillar-border: #e3eaf5;
    --home-quicklink-bg:  #ffffff;
    --home-quicklink-border: #e3eaf5;
    --home-quicklink-color:  #1a2d5a;

    --section-wrapper-bg: #f0f7ff;
    --section-wrapper-border: #d7e3f8;

    --lhc-card-bg:       #ffffff;
    --lhc-card-border:   #e6e9ee;

    --collab-intro-bg:   #ffffff;
    --collab-h3-section-bg: #ffffff;

    --govt-card-bg:      #ffffff;
    --govt-card-border:  #eeeeee;
    --govt-section-h4-bg: #dbe7ff;
    --govt-section-h4-color: #214aab;
    --govt-section-text: #222222;

    --ns-card-bg:        #ffffff;

    --about-card-bg:     #ffffff;

    --service-card-bg:   #ffffff;

    --feature-tile-bg:   #ffffff;

    --glass-card-bg:     rgba(255,255,255,0.75);
    --highlight-card-bg: linear-gradient(135deg, #eef4ff, #f9fbff);

    --dd-visual-bg:      #ffffff;
    --dd-visual-border:  #e5e7eb;

    --cc-gallery-shadow: 0 8px 20px rgba(0,0,0,0.1);
    --downloads-btn-bg:  #214aab;

    --intro-text-summary-bg: #f0f5ff;
    --intro-text-summary-border: #214aab;
    --intro-text-summary-color: #2c3e5a;

    --news-card-bg:      #ffffff;
    --news-card-border:  #e6e6e6;
    --news-date-card-bg: #f4f6fb;
    --news-content-p:    #333333;

    --contact-info-bg:   #ffffff;
    --contact-form-bg:   #ffffff;
}

/* ================================================================
   CSS VARIABLES — Dark Mode
================================================================ */
[data-theme="dark"] {
    --bg-body:           #0f172a;
    --bg-page:           #0f172a;
    --bg-card:           #1e293b;
    --bg-input:          #1e293b;
    --bg-muted:          #1a2744;
    --bg-highlight:      #1a2744;
    --bg-section:        #111827;
    --bg-dark-panel:     #214aab;

    --text-primary:      #cbd5e1;
    --text-heading:      #e2e8f0;
    --text-muted:        #94a3b8;
    --text-body:         #c8d8f0;
    --text-label:        #e2e8f0;
    --text-on-dark:      #ffffff;

    --accent-blue:       #7db8ff;
    --accent-blue-dark:  #5a9ae0;
    --accent-blue-light: #1e2d4a;
    --accent-gold:       #ffd35a;

    --border-color:      #1e2d4a;
    --border-muted:      #2a3a5a;
    --border-card:       #1e2d4a;
    --border-section:    #1e2d4a;

    --shadow-sm:         0 4px 8px rgba(0,0,0,0.4);
    --shadow-md:         0 8px 20px rgba(0,0,0,0.4);
    --shadow-lg:         0 1px 1px 1px rgb(0 0 0 / 12%);

    --scrollbar-track:   #1e293b;
    --scrollbar-thumb:   linear-gradient(180deg, #2a5298, #52a702);

    --top-bar-bg:        #111827;
    --middle-bar-bg:     #1e293b;
    --middle-bar-border: #1e2d4a;

    --news-date-bg:      #1a2744;
    --news-date-border:  #1e2d4a;
    --news-item-hover:   #1a2744;

    --filter-panel-bg:   #1e293b;
    --filter-select-bg:  #1a2744;

    --table-head-bg:     #163a8c;
    --table-head-color:  #e2e8f0;
    --table-row-hover:   #1a2744;
    --table-border:      #1e2d4a;

    --report-head-bg:    linear-gradient(90deg, #163a8c, #1d4fba);
    --report-table-head: #1a2744;

    --contact-form-header-bg: linear-gradient(135deg, #163a8c, #0a1f4d);

    --glance-section-bg: linear-gradient(135deg, #071a45, #0d3082);

    --footer-bg:         linear-gradient(135deg, #1a2d5a, #0d2260);
    --footer-text:       #cbd5e1;
    --footer-link:       #cbd5e1;
    --footer-border:     rgba(255,255,255,0.1);

    --nkn-card-bg:       rgba(30, 41, 59, 0.95);
    --intro-box-bg:      linear-gradient(135deg, #1a2744, #1e293b);

    --who-card-bg:       #1e293b;
    --who-list-hover:    #1a2744;
    --person-bg:         #1a2744;

    --help-section-bg:   #1e293b;
    --help-section-border: #1e2d4a;
    --help-table-head:   #1a2744;

    --page-title-h1:     #7db8ff;
    --breadcrumb-color:  #7db8ff;

    --cta-box-bg:        #1e293b;
    --cta-box-image:     linear-gradient(135deg, #1e293b 60%, #1a2744 100%);
    --cta-heading:       #e2e8f0;
    --cta-text:          #94a3b8;

    --sitemap-panel-bg:  #1e293b;
    --sitemap-heading:   #e2e8f0;

    --pill-bg:           #1a2744;
    --pill-border:       #7db8ff;
    --pill-text:         #cbd5e1;

    --tech-card-bg:      linear-gradient(135deg, #1a2744, #1e293b);

    --home-news-panel-bg: #1e293b;
    --home-news-list-bg:  #1e293b;
    --home-pillar-card-bg: #1e293b;
    --home-pillar-h3:     #e2e8f0;
    --home-pillar-p:      #94a3b8;
    --home-pillar-border: #1e2d4a;
    --home-quicklink-bg:  #1e293b;
    --home-quicklink-border: #1e2d4a;
    --home-quicklink-color:  #cbd5e1;

    --section-wrapper-bg: #111827;
    --section-wrapper-border: #1e2d4a;

    --lhc-card-bg:       #1e293b;
    --lhc-card-border:   #1e2d4a;

    --collab-intro-bg:   #1e293b;
    --collab-h3-section-bg: #1e293b;

    --govt-card-bg:      #1e293b;
    --govt-card-border:  #1e2d4a;
    --govt-section-h4-bg: #1a2744;
    --govt-section-h4-color: #7db8ff;
    --govt-section-text: #c8d8f0;

    --ns-card-bg:        #1e293b;

    --about-card-bg:     #1e293b;

    --service-card-bg:   #1e293b;

    --feature-tile-bg:   #1e293b;

    --glass-card-bg:     rgba(30, 41, 59, 0.85);
    --highlight-card-bg: linear-gradient(135deg, #1a2744, #1e293b);

    --dd-visual-bg:      #1e293b;
    --dd-visual-border:  #1e2d4a;

    --cc-gallery-shadow: 0 8px 20px rgba(0,0,0,0.4);
    --downloads-btn-bg:  #163a8c;

    --intro-text-summary-bg: #1a2744;
    --intro-text-summary-border: #7db8ff;
    --intro-text-summary-color: #cbd5e1;

    --news-card-bg:      #1e293b;
    --news-card-border:  #1e2d4a;
    --news-date-card-bg: #1a2744;
    --news-content-p:    #c8d8f0;

    --contact-info-bg:   #1e293b;
    --contact-form-bg:   #1e293b;
}

/* ================================================================
   BASE
================================================================ */
body {
    font-family: "Open Sans", sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-page);
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

body {
    font-family: "Open Sans", sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-page);
    font-size: 100%; /* Base font size (usually 16px) */
}

h1 {
    font-family: "Raleway", sans-serif;
    font-size: 2rem;
}

h2 {
    font-family: "Raleway", sans-serif;
    font-size: 1.5rem;
}

h3 {
    font-family: "Raleway", sans-serif;
    font-size: 1.3rem;
}

h4 {
    font-family: "Raleway", sans-serif;
    font-size: 1.2rem;
}

h5 {
    font-family: "Raleway", sans-serif;
    font-size: 1.1rem;
}

h6 {
    font-family: "Raleway", sans-serif;
    font-size: 1rem;
}

p {
    font-size: 0.9rem;
    line-height: 1.6;
}


a {
    color: var(--accent-blue);
    text-decoration: none;
}

a:hover {
    color: #e6573f;
    text-decoration: none;
}


/* ================================================================
   SCROLLBAR
================================================================ */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--scrollbar-track); border-radius: 10px; }
::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 10px;
    border: 2px solid var(--scrollbar-track);
    transition: 0.3s ease;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #52a702, #2a5298); }
* { scrollbar-width: thin; scrollbar-color: #2a5298 var(--scrollbar-track); }

/* ================================================================
   BACK TO TOP
================================================================ */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 996;
    background: var(--accent-blue);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}
.back-to-top i { font-size: 14px; color: #fff; line-height: 0; }
.back-to-top:hover { background: var(--accent-blue); color: #fff; }
.back-to-top.active { visibility: visible; opacity: 1; }

/* ================================================================
   NAVBAR / TOP BAR
================================================================ */
.search-container { max-width: 500px; margin-top: 20px; }

.saerch-box {
    padding-left: 35px;
    width: 400px;
    box-shadow: none !important;
    border-radius: 10px;
    background-color: var(--bg-input);
    color: var(--text-primary);
    border: 1px solid var(--border-muted);
}
.saerch-box:focus { border: 1px solid var(--accent-blue); }

.form-control-icon { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #aaa; }

.top-bar {
    background-color: var(--top-bar-bg);
    font-size: 0.8rem;
    color: var(--text-primary);
}
.top-bar .container { height: 34px; }

.middle-bar {
    background-color: var(--middle-bar-bg);
    padding: 0;
    border-bottom: 1px solid var(--middle-bar-border);
}
.middle-bar h1 { font-size: 1.5rem; font-weight: bold; color: var(--text-heading); }

.gov-emblem { height: 60px; margin-right: 15px; }

.skip-link {
    position: absolute; top: -40px; left: 10px;
    background: var(--accent-blue); color: #ffffff;
    padding: 5px 10px; font-size: 1rem; text-decoration: none; border-radius: 5px;
}
.skip-link:focus { top: 0; outline: none; z-index: 1000; }

.header-actions { display: flex; align-items: center; gap: 8px; }
.header-actions .dropdown-menu {
    min-width: 100px;
    background-color: var(--bg-card);
    border-color: var(--border-color);
}
.header-actions a { display: flex; align-items: center; justify-content: center; font-weight: 500; color: var(--accent-blue); }
.header-actions a span { display: flex; align-items: center; }
.header-actions button { font-size: 15px; }
.header-actions .btn { padding: 3px 7px; font-size: 14px; cursor: pointer; transition: background-color 0.3s, color 0.3s; }
.header-actions .btn:hover { background-color: var(--bg-highlight); }

.card-hover:hover { transform: translateY(-1px); transition: 0.3s ease; box-shadow: 0 0 20px rgba(0,0,0,0.05); }

.custom-border {
    border-right: 2px solid #858585ff;
    height: 15px;
    align-self: center;
    display: flex;
    justify-content: center;
    padding-right: 10px;
    padding-left: 1px;
}

.login-button {
    display: inline-block;
    padding: 0px 15px;
    color: var(--accent-blue);
    border: 1px solid var(--accent-blue);
    background-color: var(--bg-card);
    text-decoration: none;
    border-radius: 3px;
    font-family: Arial, sans-serif;
    font-size: 15px;
    transition: background-color 0.3s, color 0.3s;
}
.login-button:hover { background-color: var(--accent-blue); color: #fff; }

/* Gov Dropdown */
.gov-dropdown .btn {
    color: var(--accent-blue);
    font-weight: 500;
    border-radius: 0.25rem;
    padding: 0rem .4rem;
    transition: all 0.3s ease;
    box-shadow: none !important;
}
.gov-dropdown .btn:hover { background-color: var(--bg-highlight) !important; }
.gov-dropdown .dropdown-menu {
    background: var(--bg-card);
    min-width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border-color: var(--border-color);
}
.gov-dropdown .dropdown-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.35rem 1rem; font-weight: 500; transition: all 0.2s;
    color: var(--text-primary);
}
.gov-dropdown .dropdown-item:hover { background: #0768c5; color: #67fa00; }
.gov-dropdown .dropdown-item.active { background: #0768c5; color: #67fa00; }
.gov-dropdown .dropdown-item i { margin-left: 8px; }
.lang-check { display: none; float: right; }
.dropdown-item.active .lang-check { display: inline-block; }

@media (max-width: 991px) {
    .middle-bar { display: none !important; }
    .navbar { background-color: var(--bg-card) !important; height: 60px; }
}

/* ================================================================
   HERO / CAROUSEL
================================================================ */
#main-content { margin-top: -1px !important; }

.carousel-caption {
    bottom: 20%;
    text-shadow: 1px 3px 11px rgb(41 83 153) !important;
    background: rgba(255,255,255,0.10) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 20px;
    color: #000;
    margin: 0 auto;
    max-width: 800px;
}

.carousel-home .carousel-item img {
    height: auto; width: 100%;
    background-color: var(--bg-muted);
    max-height: 600px; padding: 0;
}

.carousel-indicators {
    bottom: 20px;
    background: rgba(255,255,255,0.15);
    padding: 7px 12px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
    display: flex; justify-content: center; gap: 8px;
    margin: 0 auto; max-width: fit-content;
}
.carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%;
    background-color: #d1cfcf; border: none; transition: all 0.3s ease; opacity: 0.5;
}
.carousel-indicators .active {
    background-color: var(--accent-blue); opacity: 1; transform: scale(1.2);
    width: 25px !important; height: 10px !important;
    border-radius: 5px; transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .carousel-caption { font-size: 0.9rem; bottom: 10%; padding: 1rem; }
    .carousel-item img { height: 250px !important; width: 100%; background-color: var(--bg-muted); }
    .carousel-caption h3 { font-size: 13px; }
    .carousel-caption p { font-size: 10px; }
    .skip-hide, .logo-right, .govt-top { display: none !important; }
}

/* ================================================================
   SECTION WRAPPER (What's New strip)
================================================================ */
.section-wrapper {
    padding: 12px 0;
    background-color: var(--section-wrapper-bg);
    border-bottom: 1px solid var(--section-wrapper-border);
}
.whats-new-icon { display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--accent-blue); font-weight: bold; }
.carousel-content { text-align: center; }
.carousel-content h5 { margin: 10px 0 5px; font-size: 16px; color: var(--text-heading); }
.view-more-btn { display: flex; align-items: center; justify-content: center; }
.view-more-btn a {
    padding: 6px 12px;
    background-color: var(--accent-blue-light);
    color: var(--accent-blue);
    border-radius: 6px; text-decoration: none; transition: 0.3s ease; font-size: 14px; font-weight: 400;
}
.view-more-btn a:hover { background-color: var(--accent-blue); color: #fff !important; }
.section-wrapper .carousel-control-prev,
.section-wrapper .carousel-control-next {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--accent-blue); display: flex; justify-content: center; align-items: center;
    transition: all 0.3s ease; color: #ffffff !important; margin-top: 3px;
}
.section-wrapper .carousel-control-prev-icon,
.section-wrapper .carousel-control-next-icon { width: 18px; height: 18px; background-size: 100% 100%; }
.section-wrapper .carousel-control-prev:hover,
.section-wrapper .carousel-control-next:hover { background-color: var(--accent-blue-dark); }

/* ================================================================
   BREADCRUMBS / PAGE TITLE
================================================================ */
.page-title {
    background: url("assets/image/footer2.avif") no-repeat center center/cover;
    color: #fff; padding: 25px 0; position: relative;
    background-size: cover; background-position: center; background-repeat: no-repeat; margin-top: -1px;
}
.page-title::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 0;
}
.page-title h1.title { font-size: 2rem; margin-bottom: 5px; color: var(--page-title-h1); }
.page-title .container { position: relative; z-index: 1; }
.breadcrumbs ol {
    list-style: none; padding: 0; margin: 0;
    display: flex; justify-content: start; color: var(--breadcrumb-color);
}
.breadcrumbs li::after { content: ">"; margin: 0 8px; color: var(--breadcrumb-color); }
.breadcrumbs li:last-child::after { content: ""; margin: 0; }
.breadcrumbs li a { color: var(--breadcrumb-color); text-decoration: underline; }
.breadcrumbs .current { color: var(--breadcrumb-color); font-weight: bold; text-decoration: none; }

@media (max-width: 576px) { .page-title h1 { font-size: 2rem; } }

/* ================================================================
   HOME ABOUT CARDS
================================================================ */
.home-section .card {
    border: 1px solid var(--border-section) !important;
    border-radius: 6px !important;
    transition: all 0.35s ease;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
}
.home-section .card-hover:hover {
    box-shadow: 0 2px 5px rgba(0,60,136,0.1) !important;
    border-color: #94b7ff !important;
}
.home-section .card i { transition: 0.3s ease !important; }
.home-section .card-hover:hover i { transform: scale(1.12) !important; }
.home-section .card-title { color: var(--accent-blue); letter-spacing: .3px; }
.home-section .card:hover {
    box-shadow: 0 5px 10px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.12);
    border: 1px solid #729cfd !important;
}

/* ================================================================
   CLIENTS / BRAND SLIDE
================================================================ */
.brand-slide { background: #e3c8c8; padding: 30px 0px !important; box-shadow: 1px 1px 20px #949494; }
.brand-slide img { border-radius: 7px; box-shadow: 6px 10px 10px -3px rgba(0,0,0,0.1); }
[data-theme="dark"] .brand-slide { background: #1a1a2e; }

/* ================================================================
   FOOTER
================================================================ */
#footer {
    background: var(--footer-bg);
    padding: 10px 0 30px 0;
    color: var(--footer-text);
    font-size: 14px;
}
#footer .copyright { text-align: center; padding-top: 1px; }
#footer .credits { padding-top: 10px; text-align: center; font-size: 13px; color: var(--footer-text); }
#footer .credits a { color: #ffbf00; font-weight: bold; }
footer ul {
    display: flex; flex-wrap: wrap; justify-content: center;
    list-style: none; margin: 0; padding: 10px; gap: 0;
    border-radius: 6px; overflow: hidden;
}
footer ul li { flex: 1 1 auto; text-align: center; min-width: 80px; border-right: 1px solid var(--footer-border); }
footer ul li:last-child { border-right: none; }
footer ul li a { display: block; padding: 3px; color: var(--footer-link); font-size: 14px; text-decoration: none; transition: background 0.3s, color 0.3s; }
footer ul li a:hover { background: rgba(255,255,255,0.1); color: #7eff00; }

/* ================================================================
   SECTION GENERAL
================================================================ */
section { padding: 0 0 20px 0; }

/* ================================================================
   GOVT CARD
================================================================ */
.govt-card {
    border: 1px solid var(--govt-card-border);
    background: var(--govt-card-bg);
    padding: 1.5rem;
    border-radius: 5px;
    margin: 1px 0;
}
.govt-card h2 {
    font-size: 1.2rem; font-weight: 600; padding-bottom: 8px; gap: 8px;
    background-color: #214aab; color: #fff !important;
    padding: 8px 16px; border-radius: 4px; font-style: normal; line-height: normal;
}
.govt-section h4 {
    font-size: 15px; font-weight: 600;
    background: var(--govt-section-h4-bg);
    color: var(--govt-section-h4-color);
    padding: 6px 12px; border-radius: 4px;
    line-height: 1.5; letter-spacing: 0.4px; text-transform: uppercase;
}
.govt-section p,
.govt-section ul { color: var(--govt-section-text); line-height: 1.6; letter-spacing: 0.25px; }
.govt-section ul { list-style: none; padding-left: 0; }
.govt-section ul li { text-decoration: none; position: relative; padding-left: 18px; }
.govt-section ul li::before {
    content: "";
    border-color: transparent #214aab;
    border-style: solid;
    border-width: 0.35em 0 0.35em 0.45em;
    display: block; height: 0; width: 0;
    position: absolute; left: 0; top: 0.5em;
}

@media (max-width: 575.98px) { .govt-card { padding: 1rem; border-radius: 4px; } }
@media (min-width: 576px) and (max-width: 991.98px) { .govt-card { padding: 1.5rem; } }

/* ================================================================
   SERV / CONTACT CARDS
================================================================ */
.serv-section h3 { font-size: 1.25rem; color: var(--accent-blue); font-weight: 600; margin-bottom: 0.5rem; }
.cont-card { padding: 2rem 2rem 0 2rem; }
.cont-card h2 { font-size: 1.8rem; font-weight: 600; color: var(--accent-blue); border-bottom: 2px solid var(--border-color); padding-bottom: 8px; margin-bottom: 1rem; }

/* ================================================================
   CONTENT SECTION (About)
================================================================ */
.content-section { padding: 20px 0; }
.content-section h2 { font-size: 1.8rem; margin-bottom: 20px; color: var(--accent-blue); }
.content-section p { line-height: 1.8; color: var(--text-body); }

/* ================================================================
   CAPTCHA
================================================================ */
.captcha-img img { width: 150px; height: 36px; border-radius: 2px; display: inline-block; vertical-align: middle; }
.captcha-container { display: flex; align-items: center; }
.back-1 { background: #f0f7ff; padding: 5px; }
.back-2 { background: #e8f9f1; padding: 5px; }
.back-3 { background: #fbe7e9; padding: 5px; }
.back-4 { background: #fdf8e8; padding: 5px; }
[data-theme="dark"] .back-1 { background: #1a2744; }
[data-theme="dark"] .back-2 { background: #1a2d24; }
[data-theme="dark"] .back-3 { background: #2d1a1e; }
[data-theme="dark"] .back-4 { background: #2d2a1a; }

/* ================================================================
   NEWS BOX (old style)
================================================================ */
.news-box-section { padding: 50px 0; background: var(--bg-section); }
.news-box {
    display: flex; background: var(--bg-card);
    border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-md);
}
.news-box-left {
    width: 35%;
    background: linear-gradient(180deg, #214aab, #16397d);
    color: #ffffff; padding: 20px 30px; text-align: center;
}
.news-box-left h3 {  margin-bottom: 10px; color: #fff; }
.news-box-left p { font-size: 14px; opacity: 0.9; color: #fff; }
.news-box-right {
    width: 65%; height: 260px; padding: 25px;
    overflow: hidden; position: relative;
    background: var(--bg-card); color: var(--text-body);
}
.news-scroll { list-style: none; padding: 0; margin: 0; animation: verticalScroll 15s linear infinite; }
.news-scroll li { padding: 14px 0; font-size: 16px; color: var(--text-body); border-bottom: 1px dashed var(--border-color); cursor: pointer; }
.news-box-right:hover .news-scroll { animation-play-state: paused; }
@keyframes verticalScroll { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }

@media (max-width: 768px) {
    .news-box { flex-direction: column; }
    .news-box-left, .news-box-right { width: 100%; }
    .news-box-right { height: 220px; }
}

/* ================================================================
   NKN CARDS
================================================================ */
.nkn-section { padding: 40px 0; }
.nkn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 15px; }
.nkn-card {
    background: var(--nkn-card-bg);
    backdrop-filter: blur(10px);
    border-radius: 18px; padding: 25px; text-align: center;
    position: relative; overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all .35s ease;
    box-shadow: var(--shadow-md);
    display: flex; flex-direction: column;
    color: var(--text-body);
}
.nkn-card p { text-align: justify; color: var(--text-body); }
.nkn-card:hover { transform: translateY(-8px); border-color: #4d7cff; box-shadow: var(--shadow-lg); }
.nkn-card::after {
    content: ""; position: absolute; inset: 0;
    border-radius: 18px; border-left: 5px solid #3f6bfd; opacity: 0.6; pointer-events: none;
}
.nkn-card:hover { transform: translateY(-10px) scale(1.01); border-left: 0; }
.nkn-icon {
    font-size: 38px; width: 68px; height: 68px; margin: 0 auto 15px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(145deg, #6089e4, #ffffff);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}
.nkn-icon.green { background: linear-gradient(145deg, #58dd8d, #ffffff); }
.nkn-icon.red   { background: linear-gradient(145deg, #df526c, #ffffff); }
.nkn-icon.yellow { background: linear-gradient(145deg, #dcb965, #ffffff); }
.nkn-img { width: 100%; height: 160px; object-fit: contain; margin: 12px 0; border-radius: 12px; }
.nkn-btn {
    background: #3f6bfd; padding: 8px 16px; color: #fff !important;
    border-radius: 6px; text-decoration: none; transition: 0.3s; font-weight: 600;
    box-shadow: 0 6px 15px rgba(63,107,253,0.3); margin-top: auto; align-self: center;
}
.nkn-btn:hover { background: #2d50c9; }

/* ================================================================
   NKN GLANCE
================================================================ */
.nkn-glance-section {
    background: var(--glance-section-bg);
    padding: 42px 0 48px; color: #fff; text-align: center;
}
.nkn-glance-section .section-title { font-size: 28px; font-weight: 700; margin-bottom: 6px; color: #fff; }
.nkn-glance-section .section-subtitle { font-size: 14px; opacity: 0.9; margin-bottom: 22px; color: rgba(255,255,255,0.9); }
.glance-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px; max-width: 100%; margin: 0 auto;
}
.glance-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border-radius: 10px; padding: 12px 8px;
    transition: background 0.25s ease, transform 0.25s ease;
    position: relative; overflow: hidden; min-width: 0;
}
.glance-card i { font-size: 22px; margin-bottom: 6px; color: #ffd35a; display: block; }
.glance-card h3 { font-size: 1.15rem; font-weight: 700; margin: 4px 0 3px; font-variant-numeric: tabular-nums; line-height: 1.2; color: #fff; }
.glance-card p { font-size: 0.68rem; line-height: 1.25; opacity: 0.92; margin: 0; word-wrap: break-word; color: rgba(255,255,255,0.9); }
.glance-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.18); }

@media (max-width: 1199.98px) {
    .glance-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
    .glance-card { flex: 0 0 118px; }
}

/* ================================================================
   ABOUT HERO
================================================================ */
.about-hero {
    position: relative; color: #fff; padding: 40px 15px;
    background-color: #065f46;
    width: 100% !important;
    height: 180px;
    background-image: url("../images/headers/services-hero.png");
    background-position: center; background-repeat: no-repeat; overflow: hidden;
}
.about-hero::before {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(120deg, rgba(6,78,59,0.28) 0%, rgba(13,148,136,0.18) 40%, rgba(33,74,171,0.32) 100%);
    z-index: 1;
}
.about-hero .container { position: relative; z-index: 2; }
.about-hero h1 { font-weight: 700; margin-bottom: 10px; text-shadow: 1px 2px 4px black; }
.about-hero p { 
    /* max-width: 750px; */
    margin: auto; opacity: 0.9; text-shadow: 1px 2px 4px black; }

/* ================================================================
   ABOUT CARDS
================================================================ */
.about-card {
    display: flex; gap: 25px;
    background: var(--about-card-bg);
    padding: 30px; border-radius: 18px; margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.about-icon {
    min-width: 70px; height: 70px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 28px; color: #fff;
}
.about-icon.blue { background: #3f6bfd; }
.about-icon.green { background: #28a745; }
.about-icon.red { background: #e60026; }
.about-icon.yellow { background: #ffb400; }
.about-content h2 { margin-bottom: 10px; font-weight: 600; color: var(--text-heading); }
.about-content p { text-align: justify; color: var(--text-body); }
.about-list { margin-top: 15px; padding-left: 18px; }
.about-list li { margin-bottom: 8px; position: relative; padding-left: 8px; color: var(--text-body); }
.fade-up { animation: fadeUp 0.8s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 768px) {
    .about-card { flex-direction: column; text-align: justify; }
    .about-icon { margin: auto; }
    .about-content p { text-align: left; }
}

/* ================================================================
   FEATURES PAGE
================================================================ */
.features-page-card {
    background: var(--bg-card);
    border-radius: 14px; padding: 28px 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-card);
}
.features-page-heading { font-size: 1.5rem; font-weight: 700; color: var(--text-heading); margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.features-page-heading i { color: #3f6bfd; }
.features-govt-section { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
.features-govt-section:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.features-govt-section h4 { font-size: 1.1rem; font-weight: 700; color: var(--accent-blue); margin: 1.5rem 0 0.75rem; }
.features-govt-section p { text-align: justify; line-height: 1.7; color: var(--text-body); margin-bottom: 1rem; }
.features-bullet-list { padding-left: 1.25rem; margin: 0.75rem 0 0; }
.features-bullet-list li { margin-bottom: 0.65rem; line-height: 1.65; text-align: justify; color: var(--text-body); }
.features-img-collab { max-width: 50%; }
.features-img-network { max-width: 35%; }

@media (max-width: 768px) {
    .features-page-card { padding: 20px 18px; }
    .features-img-collab, .features-img-network { max-width: 100%; }
}

.features-intro .intro-box {
    background: var(--intro-box-bg);
    border-left: 6px solid #3f6bfd; padding: 30px; border-radius: 14px;
    display: flex; gap: 18px; align-items: flex-start;
}
.features-intro i { font-size: 32px; color: #3f6bfd; }
.section-title { font-weight: 600; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; color: var(--text-heading); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-tile {
    background: var(--feature-tile-bg);
    padding: 25px; border-radius: 16px; text-align: center;
    box-shadow: var(--shadow-md);
    color: var(--text-body);
}
.feature-tile i { font-size: 28px; color: #3f6bfd; margin-bottom: 10px; }
.feature-split { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; }
.split-image img { width: 100%; max-width: 320px; display: block; margin: auto; }
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.tech-card {
    background: var(--tech-card-bg);
    border-left: 5px solid #3f6bfd;
    padding: 18px 20px; border-radius: 12px; font-size: 15px; text-align: justify;
    color: var(--text-body);
}

@media (max-width: 768px) {
    .feature-split { grid-template-columns: 1fr; }
    .features-intro .intro-box { flex-wrap: wrap; }
    .section-title { flex-wrap: wrap; }
}

/* ================================================================
   TEAM / WHO SECTIONS
================================================================ */
.team-hero {
    padding: 80px 15px;
    background: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)), url("../images/hero.png") center/cover no-repeat;
    color: #fff;
}
.team-hero h1 { font-weight: 700; margin-bottom: 10px; }
.team-hero p { max-width: 700px; margin: auto; opacity: 0.9; }

.team-section {
    display: flex; gap: 30px; padding: 35px; margin-bottom: 40px; border-radius: 20px;
    align-items: flex-start; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-section:hover { transform: translateY(-6px); }
.glass-card { background: var(--glass-card-bg); backdrop-filter: blur(14px); box-shadow: var(--shadow-lg); }
.highlight-card { background: var(--highlight-card-bg); box-shadow: var(--shadow-md); }
.team-icon {
    min-width: 80px; height: 80px; border-radius: 50%;
    background: #2a5298; color: #fff; font-size: 30px;
    display: flex; align-items: center; justify-content: center;
}
.team-icon.blue  { background: #1e3c72; }
.team-icon.green { background: #2e8b57; }
.team-content h2 { font-weight: 600; margin-bottom: 12px; color: var(--text-heading); }
.team-content p  { color: var(--text-body); text-align: justify; }

@media (max-width: 768px) {
    .team-section { flex-direction: column; text-align: center; }
    .team-icon { margin: auto; }
}

.who-hero { padding: 80px 15px; background: linear-gradient(135deg, #1e3c72, #2a5298); color: #fff; }
.who-hero p { max-width: 700px; margin: auto; opacity: 0.9; }
.who-card { background: var(--who-card-bg); border-radius: 18px; padding: 35px; margin-bottom: 40px; box-shadow: var(--shadow-lg); color: var(--text-body); }
.chairman-card { background: var(--highlight-card-bg); }
.profile-row { display: flex; gap: 25px; align-items: center; }
.profile-row img { width: 110px; border-radius: 12px; border: 3px solid #214aab; }
.profile-row h2 { margin-bottom: 5px; color: var(--text-heading); }
.badge { display: inline-block; background: #214aab; color: #fff; padding: 6px 14px; border-radius: 30px; font-size: 13px; }
.who-list { list-style: none; padding-left: 0; }
.who-list li {
    padding: 10px 0 10px 12px;
    border-left: 5px solid var(--bg-card);
    border-radius: 5px; color: var(--text-body);
}
.who-list li:hover { background: var(--who-list-hover); box-shadow: var(--shadow-sm); border-left: 5px solid #2a5298; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; }
.person {
    background: var(--person-bg);
    padding: 20px; border-radius: 14px; transition: transform 0.3s ease;
}
.person:hover { transform: translateY(-6px); box-shadow: var(--shadow-md) !important; }
.person strong { display: block; color: var(--accent-blue); }
.person span { font-size: 13px; color: var(--text-muted); }

@media (max-width: 768px) { .profile-row { flex-direction: column; text-align: center; } }

.who-tabs { border-bottom: 2px solid var(--border-color); }
.who-tabs .nav-link {
    font-weight: 600; color: var(--accent-blue); border-radius: 8px 8px 0 0;
    padding: 10px 18px; position: relative;
    background: var(--bg-muted);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}
.who-tabs .nav-link:hover { background: var(--bg-highlight); color: var(--accent-blue-dark); transform: translateY(-2px); }
.who-tabs .nav-link.active {
    background: linear-gradient(135deg, #214aab, #163a8c);
    color: #fff; border-color: #214aab;
    box-shadow: 0 6px 18px rgba(33,74,171,0.25);
}
.who-tabs .nav-link.active::after {
    content: ""; position: absolute; bottom: -2px; left: 20%; width: 60%;
    height: 3px; background: #7eff00; border-radius: 3px;
}

/* ================================================================
   DD PAGE
================================================================ */
.dd-page { padding: 60px 15px; }
.dd-row { display: flex; align-items: center; gap: 40px; margin-bottom: 70px; }
.dd-row.reverse { flex-direction: row-reverse; }
.dd-content { flex: 1; border-left: 4px solid #1d4ed8; padding-left: 20px; }
.dd-content p { line-height: 1.5; text-align: justify; color: var(--text-body); }
.dd-content h3 { color: #1d4ed8; margin-bottom: 10px; font-weight: 700; }
.dd-visual {
    flex: 1; background: var(--dd-visual-bg);
    padding: 15px; border-radius: 10px;
    border: 1px solid var(--dd-visual-border); text-align: center;
}
.dd-visual img { width: 100%; height: 260px; object-fit: contain; }
.dd-visual span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 6px; }

@media (max-width: 768px) {
    .dd-row, .dd-row.reverse { flex-direction: column; }
    .dd-content { border-left: none; border-top: 4px solid #1d4ed8; padding-left: 0; padding-top: 15px; }
}

/* ================================================================
   SERVICES
================================================================ */
.services-hero { background: linear-gradient(120deg, #0f2a44, #1f5fa5); color: #fff; padding: 70px 15px; }
.services-hero h1 { font-weight: 700; letter-spacing: 0.5px; }
.services-wrapper { padding: 60px 0; display: grid; gap: 40px; }
.service-card {
    background: var(--service-card-bg);
    border-radius: 6px; padding: 35px;
    box-shadow: var(--shadow-lg);
    color: var(--text-body);
}
.intro-card p { font-size: 16px; line-height: 1.7; color: var(--text-body); text-align: justify; }
.visual-card { text-align: center; }
.visual-card img { max-width: 100%; height: auto; border-radius: 12px; box-shadow: var(--shadow-md); }
.feature-card h4, .intro-card h4 { margin-bottom: 20px; color: var(--accent-blue); font-weight: 600; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { 
    display: flex;
    align-items: flex-start;
    gap: 12px;
    /* padding: 12px 0; */
    color: var(--text-body);
}
.feature-list span { color: #1f8f3a; font-weight: bold; font-size: 18px; }

@media (max-width: 768px) {
    .services-hero { padding: 50px 15px; }
    .service-card { padding: 25px; }
}

/* ================================================================
   NS CARDS
================================================================ */
.ns-hero { background: linear-gradient(135deg, #214aab, #0d2f7a); color: #fff; padding: 60px 0; text-align: center; }
.ns-title { font-size: 2.4rem; font-weight: 700; }
.ns-title i { margin-right: 10px; }
.ns-subtitle { opacity: 0.9; margin-top: 10px; }
.ns-card {
    background: var(--ns-card-bg);
    border-radius: 14px; padding: 30px; margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-body);
}
.ns-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.ns-card.highlight { border-left: 6px solid var(--accent-blue); }
.ns-card-header { display: flex; align-items: center; margin-bottom: 15px; }
.ns-card-header i { font-size: 1.8rem; color: var(--accent-blue); margin-right: 12px; }
.ns-card-header h4, .ns-card-header h3 { color: var(--accent-blue); margin: 0; font-weight: 600; }
.ns-card-body p { color: var(--text-body); line-height: 1.7; text-align: justify; }
.doc-link a { color: var(--accent-blue); font-weight: 600; text-decoration: underline; }
.cc-section { margin-bottom: 40px; }
.cc-section p { color: var(--text-body); line-height: 1.7; text-align: justify; }
.cc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.cc-gallery img { width: 100%; height: 220px; object-fit: contain; border-radius: 10px; box-shadow: var(--cc-gallery-shadow); }
.downloads { display: flex; flex-wrap: wrap; gap: 15px; }
.downloads a { padding: 12px 22px; border-radius: 30px; background: var(--downloads-btn-bg); color: #fff; font-weight: 600; text-decoration: none; }
.downloads a:hover { background: #163a85; }

/* ================================================================
   GENERIC CARD (used in NS/CC pages)
================================================================ */
.card {
    background: var(--bg-card) !important;
    padding: 30px; border-radius: 14px;
    box-shadow: var(--shadow-md);
    color: var(--text-body);
}
.card.highlight { border-left: 5px solid var(--accent-blue); }
h3 { color: var(--accent-blue); margin-bottom: 15px; }

/* ================================================================
   COLLAB DDS
================================================================ */
.collabdds-wrapper { margin: 70px auto 90px; }
.content-card { background: transparent; }
.content-card > p:first-of-type,
.content-card > p:nth-of-type(2) {
    background: var(--collab-intro-bg);
    padding: 26px 32px; border-radius: 10px;
    box-shadow: var(--shadow-sm); margin-bottom: 30px;
    color: var(--text-body);
}
.content-card h3 {
    font-size: 1.25rem; font-weight: 600; color: var(--accent-blue);
    margin: 60px 0 18px; position: relative; padding-left: 14px;
}
.content-card h3::before {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 4px; height: 70%; background: #0b5ed7; border-radius: 2px;
}
.content-card h3 + p,
.content-card h3 ~ p,
.content-card h3 ~ ul,
.content-card h3 ~ .image-block,
.content-card h3 ~ .image-grid {
    background: var(--collab-h3-section-bg);
    padding: 26px 32px; border-radius: 12px;
    margin-bottom: 22px; box-shadow: var(--shadow-sm); text-align: justify;
    color: var(--text-body);
}
.content-card p { font-size: 0.96rem; line-height: 1.85; color: var(--text-body); }
.image-block img, .image-grid img { width: 50%; border-radius: 10px; border: 1px solid var(--border-card); }
.image-block { text-align: center; }
.image-block img { max-width: 50%; }
.image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.styled-list { list-style: none; padding: 0; }
.styled-list li {
    padding: 14px 18px; margin-bottom: 12px;
    background: var(--bg-muted);
    border-left: 4px solid #0b5ed7; border-radius: 8px;
    font-size: 0.95rem; color: var(--text-body);
}
.link-box {
    margin-top: 50px; display: flex; flex-wrap: wrap; gap: 20px;
    background: #0b5ed7; padding: 24px 30px; border-radius: 12px;
}
.link-box a { color: #ffffff; font-weight: 600; text-decoration: none; }
.link-box a:hover { text-decoration: underline; }

@media (max-width: 768px) {
    .content-card h3 + p, .content-card h3 ~ p, .content-card h3 ~ ul, .content-card h3 ~ .image-block, .content-card h3 ~ .image-grid { padding: 22px 20px; }
    .image-block img { max-width: 100%; }
}

/* ================================================================
   LHC PAGE
================================================================ */
.lhc-wrapper { margin-top: 40px; margin-bottom: 60px; }
.lhc-wrapper .content-cards p {
    background: var(--lhc-card-bg);
    border-radius: 14px; padding: 25px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--lhc-card-border);
    color: var(--text-body);
}
.lhc-wrapper .content-cards h3 {
    font-size: 1.25rem; font-weight: 600; color: var(--accent-blue);
    margin: 60px 0 18px; position: relative; padding-left: 14px;
}
.lhc-wrapper .content-cards h3::before {
    content: ""; position: absolute; left: 0; top: 6px;
    width: 4px; height: 70%; background: #0b5ed7; border-radius: 2px;
}

@media (max-width: 768px) {
    .lhc-wrapper .content-cards { padding: 25px 20px; }
    .lhc-wrapper .content-cards p { font-size: 15px; }
}

/* ================================================================
   INSTITUTE DASHBOARD / FILTER PANEL
================================================================ */
.institute-dashboard { margin-top: 40px; margin-bottom: 60px; }
.intro-text { width: 100%; margin-bottom: 28px; padding: 0 6px; }
.intro-text p {line-height: 1.75; color: var(--text-body); text-align: justify; text-justify: inter-word; margin-bottom: 14px; }
.intro-text p:last-child { margin-bottom: 0; }
.intro-text-summary {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px 20px; margin-top: 6px; padding: 14px 18px;
    background: var(--intro-text-summary-bg);
    border-left: 4px solid var(--intro-text-summary-border);
    border-radius: 8px; text-align: left;
}
.intro-text-summary span { flex: 1 1 240px; font-size: 15px; line-height: 1.5; color: var(--intro-text-summary-color); }
.intro-text-count { flex-shrink: 0; font-size: 1.6rem; font-weight: 700; color: var(--accent-blue); line-height: 1; }

.filter-panel {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    background: var(--filter-panel-bg);
    padding: 25px; border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid #214aab;
    color: var(--text-label);
}
.filter-item label {
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--accent-blue);
    margin-bottom: 6px; display: block;
}
.filter-item select,
.filter-item input {
    width: 100%; padding: 9px 12px;
    border: 1px solid var(--border-muted);
    border-radius: 6px; font-size: 14px;
    background: var(--filter-select-bg);
    color: var(--text-label);
    transition: all 0.25s ease;
}
.filter-item select:focus,
.filter-item input:focus {
    outline: none; border-color: var(--accent-blue);
    background: var(--bg-card);
    box-shadow: 0 0 0 3px rgba(33,74,171,0.15);
}
.search-box input {
    background-image: url("data:image/svg+xml,%3Csvg fill='%23999' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 20l-5.2-5.2a7 7 0 10-1.4 1.4L20 21zM10 16a6 6 0 110-12 6 6 0 010 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: 16px; background-position: 12px center; padding-left: 38px;
}

@media (max-width: 992px) { .filter-panel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 576px) {
    .filter-panel { grid-template-columns: 1fr; padding: 20px; }
    .intro-text-summary { flex-direction: column; align-items: flex-start; }
    .intro-text-count { font-size: 1.4rem; }
}

/* ================================================================
   DATA TABLE
================================================================ */
.table-wrapper {
    background: var(--bg-card);
    border-radius: 8px; overflow: hidden;
    box-shadow: var(--shadow-sm);
}
table.dataTable { border-collapse: collapse !important; width: 100% !important; }
table.dataTable thead th {
    background: var(--table-head-bg);
    color: var(--table-head-color);
    font-size: 14px; font-weight: 500; padding: 14px 12px; border: none; text-align: left;
}
table.dataTable tbody td {
    font-size: 14px; padding: 12px; color: var(--text-body);
    border-bottom: 1px solid var(--table-border);
    background: var(--bg-card);
}
table.dataTable tbody tr:hover { background: var(--table-row-hover) !important; }
.dataTables_paginate { padding: 15px; }
.dataTables_paginate .paginate_button {
    border-radius: 4px !important;
    border: 1px solid var(--border-muted) !important;
    background: var(--bg-card) !important;
    margin: 0 3px;
    color: var(--accent-blue) !important;
}
.dataTables_paginate .paginate_button.current,
.dataTables_paginate .paginate_button:hover {
    background: var(--accent-blue) !important;
    color: #ffffff !important;
    border-color: var(--accent-blue) !important;
}
.dataTables_info { padding: 15px; font-size: 13px; color: var(--text-muted); }

/* ================================================================
   MONTHLY STATUS REPORT
================================================================ */
.report-card {
    background: var(--bg-card);
    border-radius: 6px;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.report-header { padding: 18px 22px; background: var(--report-head-bg); }
.report-header h2 { margin: 0; color: #ffffff; font-size: 20px; font-weight: 600; }
.report-table { width: 100%; border-collapse: collapse; }
.report-table thead th {
    background: var(--report-table-head);
    color: var(--accent-blue);
    font-size: 14px; font-weight: 600; padding: 12px; text-align: left;
    border-bottom: 1px solid var(--border-card);
}
.report-table tbody td {
    padding: 14px 12px; font-size: 14px; color: var(--text-body);
    border-bottom: 1px solid var(--border-card);
    vertical-align: middle; background: var(--bg-card);
}
.report-table tbody tr:hover td { background: var(--table-row-hover); }
.month-badge { display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 600; color: var(--accent-blue); background: var(--accent-blue-light); border-radius: 20px; }
.download-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 14px; border-radius: 4px; font-size: 14px; font-weight: 500;
    color: var(--accent-blue); text-decoration: none;
    border: 1px solid var(--accent-blue);
    transition: all 0.25s ease;
    background: var(--bg-card);
}
.download-btn img { width: 18px; height: 18px; }
.download-btn:hover { background: var(--accent-blue); color: #ffffff; text-decoration: none; }

@media (max-width: 768px) {
    .report-header h2 { font-size: 18px; }
    .report-table thead { display: none; }
    .report-table tbody tr { display: flex; justify-content: space-between; margin-bottom: 12px; border: 1px solid var(--border-card); border-radius: 4px; padding: 10px; background: var(--bg-card); }
    .report-table tbody td { display: flex; justify-content: space-between; padding: 6px 0; border: none; font-size: 13px; background: transparent; }
    .report-table tbody td::before { content: attr(data-label); font-weight: 600; color: var(--accent-blue); }
}

/* ================================================================
   NEWS / MEDIA PAGE
================================================================ */
.news-search { position: relative; max-width: 400px; margin: 0 auto 40px; }
.news-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #888; }
.news-search input {
    width: 100%; padding: 10px 14px 10px 40px;
    border-radius: 30px; border: 1px solid var(--border-muted);
    font-size: 14px; background: var(--bg-card); color: var(--text-body);
}
.news-list { display: flex; flex-direction: column; gap: 25px; }
.news-card {
    display: flex;
    background: var(--news-card-bg);
    border: 1px solid var(--news-card-border);
    border-left: 5px solid var(--accent-blue);
    border-radius: 6px; padding: 18px;
    transition: all 0.3s ease;
}
.news-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.news-date {
    min-width: 90px; text-align: center;
    background: var(--news-date-card-bg);
    border-radius: 6px; padding: 10px; margin-right: 18px;
}
.news-date span { font-size: 22px; font-weight: 700; color: var(--accent-blue); display: block; }
.news-date small { font-size: 12px; color: var(--text-muted); }
.news-content h4 { font-weight: 600; color: var(--accent-blue); margin-bottom: 6px; }
.news-content p {  line-height: 1.6; color: var(--news-content-p); margin: 0; }

@media (max-width: 576px) {
    .news-card { flex-direction: column; }
    .news-date { margin-bottom: 12px; margin-right: 0; }
}

/* ================================================================
   CONTACT PAGE
================================================================ */
.contact-info-box {
    background: var(--contact-info-bg);
    border-radius: 12px; padding: 30px;
    border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm);
}
.contact-info-box h3 { font-size: 1.4rem; font-weight: 600; color: var(--accent-blue); margin-bottom: 15px; }
.contact-info-box h5 { font-size: 1.05rem; font-weight: 600; color: var(--accent-blue); margin-top: 25px; }
.contact-info-box p { font-size: 0.95rem; line-height: 1.65; color: var(--text-body); }
.contact-info-box hr { margin: 20px 0; border-top: 1px dashed var(--border-muted); }
.contact-info-box a { display: inline-block; margin-top: 15px; font-weight: 500; color: var(--accent-blue); text-decoration: underline; }
.contact-form-box {
    background: var(--contact-form-bg);
    border-radius: 12px; border: 1px solid var(--border-card);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.contact-form-header { background: var(--contact-form-header-bg); padding: 18px 24px; }
.contact-form-header h4 { margin: 0; font-size: 1.2rem; font-weight: 600; color: #fff; }
.contact-form-body { padding: 28px; background: var(--contact-form-bg); }
.contact-form-body label { font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; color: var(--text-label); }
.contact-form-body .form-control {
    border-radius: 8px; border: 1px solid var(--border-muted);
    font-size: 0.9rem; padding: 10px 12px; transition: 0.2s ease-in-out;
    background: var(--bg-input); color: var(--text-body);
}
.contact-form-body .form-control:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 0.15rem rgba(33,74,171,0.2); }
.contact-form-body .form-select {
    border-radius: 8px; border: 1px solid var(--border-muted);
    font-size: 0.9rem; padding: 10px 12px; transition: 0.2s ease-in-out;
    background: var(--bg-input); color: var(--text-body);
}
.contact-form-body .form-select:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 0.15rem rgba(33,74,171,0.2); }
.contact-form-body textarea.form-control { resize: none; }
.contact-form-body .btn-primary { background-color: #214aab; border: none; padding: 8px 22px; font-size: 0.9rem; border-radius: 8px; }
.contact-form-body .btn-primary:hover { background-color: #163b8a; }
.contact-form-body .btn-secondary { padding: 8px 22px; font-size: 0.9rem; border-radius: 8px; }
.contact-form-body small { font-size: 0.8rem; color: var(--text-muted); }
.connection-request-box .contact-form-header p { font-size: 0.9rem; margin-top: 8px; }
.page-heading-request { font-size: 1.2rem; font-weight: 600; color: #fff; }
.red-high-txt { color: #dc3545; }
.connection-request-box .form-label { font-size: 0.9rem; font-weight: 500; margin-bottom: 6px; color: var(--text-label); }
.connection-request-page .contact-form-body { padding: 28px 24px; }
.connection-request-page .contact-form-box { max-width: none; width: 100%; }

@media (max-width: 768px) {
    .contact-info-box, .contact-form-box { padding: 22px; }
    .contact-form-body { padding: 22px; }
}

/* ================================================================
   HELP PAGE
================================================================ */
.help-wrapper { max-width: 960px; }
.help-section {
    background: var(--help-section-bg);
    border: 1px solid var(--help-section-border);
    border-radius: 12px; padding: 28px; margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}
.help-section h3, .help-section h4, .help-section h5 { color: var(--accent-blue); font-weight: 600; }
.help-section p, .help-section li { color: var(--text-body); line-height: 1.7; }
.help-table { margin-top: 16px; font-size: 0.92rem; }
.help-table th { background: var(--help-table-head); color: var(--accent-blue); }
.help-table a { color: var(--accent-blue); text-decoration: none; }
.help-table a:hover { color: #e6573f; text-decoration: underline; }
.help-list { padding-left: 1.2rem; }
.help-list li { margin-bottom: 8px; color: var(--text-body); }

/* ================================================================
   HOME PAGE REDESIGN
================================================================ */
.home-page { background: var(--bg-page); }

/* Hero */
.home-hero { position: relative; background: #0a1f4d; }
.home-hero .carousel, .home-hero .carousel-inner { width: 100%; }
.home-hero .carousel-item { position: relative; overflow: hidden; background: #0a1f4d; }

.home-hero-media {
    position: relative;
    width: 100%;
    height: 600px;              /* ← fixed height — pehle line-height:0 tha, ab fixed box */
    z-index: 0;
    display: flex;               /* ← center karne ke liye */
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-hero-img {
    width: auto !important;                 /* ← 100% nahi, natural width */
    height: 100%;                /* ← height hamesha same (container ki) */
    max-width: 100%;
    display: block;
    border: 0;
    filter: none;
    object-fit: contain;         /* ← image apna ratio maintain karegi, crop nahi hogi */
    object-position: center center;
    margin: 0 auto;
}

.home-hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(7,18,48,0.08) 0%, rgba(7,18,48,0.12) 45%, rgba(7,18,48,0.38) 100%); }
.home-hero .carousel-caption { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: transparent !important; box-shadow: none !important; }
.home-hero .carousel-caption.home-hero-caption {
    position: absolute; left: 0; right: 0; bottom: auto !important; top: 50%; transform: translateY(-50%);
    text-align: center; max-width: 760px; margin: 0 auto;
    padding: 0 clamp(56px, 8vw, 90px); z-index: 3;
    background: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,0.65), 0 2px 10px rgba(0,0,0,0.35); display: block;
}
.home-hero-badge { display: inline-block; background: rgba(255,211,90,0.18); border: 1px solid rgba(255,211,90,0.45); color: #ffd35a; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 5px 12px; border-radius: 20px; margin-bottom: 14px; }
.home-hero-caption h2 { font-size: clamp(1.25rem, 2.5vw, 1.85rem); font-weight: 700; line-height: 1.25; margin-bottom: 8px; color: #fff; }
.home-hero-caption p { font-size: 0.92rem; line-height: 1.5; opacity: 0.92; margin: 0 auto 12px; max-width: 640px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-hero-btn { background: #ffd35a; color: #0a1f4d !important; border: none; font-weight: 600; padding: 10px 22px; border-radius: 8px; transition: background 0.2s ease, transform 0.2s ease; }
.home-hero-btn:hover { background: #ffdf7a; transform: translateY(-2px); color: #0a1f4d !important; }
.home-hero-indicators { bottom: 28px; z-index: 3; }
.home-hero-control { width: 44px; height: 44px; top: 50%; transform: translateY(-50%); opacity: 0.92; z-index: 4; }
.home-hero-control.carousel-control-prev { left: 12px; }
.home-hero-control.carousel-control-next { right: 12px; }
.home-hero-control .carousel-control-prev-icon, .home-hero-control .carousel-control-next-icon { width: 22px; height: 22px; }

/* Mobile pe height kam karo */
@media (max-width: 768px) {
    .home-hero-media { height: 320px; }
}

/* Quick Links */
.home-quicklinks { margin-top: -28px; position: relative; z-index: 10; padding-bottom: 4px; }
.home-quicklinks-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.home-quicklink {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-decoration: none; color: var(--home-quicklink-color);
    padding: 12px 8px; border-radius: 14px;
    border: 1px solid var(--home-quicklink-border);
    background: var(--home-quicklink-bg);
    box-shadow: 0 1px 1px 1px rgb(0 0 0 / 12%) !important;;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-quicklink:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.home-quicklink-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.home-quicklink-label { font-size: 0.82rem; font-weight: 600; text-align: center; line-height: 1.2; }
.home-quicklink--sky { background: linear-gradient(160deg, #f0f9ff, var(--bg-card)); border-color: #bae6fd; color: #0c4a6e; }
.home-quicklink--sky .home-quicklink-icon { background: linear-gradient(135deg, #38bdf8, #0ea5e9); color: #fff; border-radius: 50%; }
.home-quicklink--navy { background: linear-gradient(160deg, #eff6ff, var(--bg-card)); border-color: #bfdbfe; color: #1e3a8a; }
.home-quicklink--navy .home-quicklink-icon { background: #214aab; color: #fff; border-radius: 8px; }
.home-quicklink--gold { background: linear-gradient(160deg, #fffbeb, var(--bg-card)); border-color: #fde68a; color: #92400e; }
.home-quicklink--gold .home-quicklink-icon { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; border-radius: 14px 14px 4px 14px; }
.home-quicklink--teal { background: linear-gradient(160deg, #f0fdfa, var(--bg-card)); border-color: #99f6e4; color: #115e59; }
.home-quicklink--teal .home-quicklink-icon { background: linear-gradient(135deg, #14b8a6, #0d9488); color: #fff; border-radius: 50% 50% 12px 50%; }
.home-quicklink--plum { background: linear-gradient(160deg, #faf5ff, var(--bg-card)); border-color: #e9d5ff; color: #6b21a8; }
.home-quicklink--plum .home-quicklink-icon { background: linear-gradient(135deg, #a855f7, #7c3aed); color: #fff; border-radius: 12px; transform: rotate(-4deg); }
.home-quicklink--plum:hover .home-quicklink-icon { transform: rotate(0deg); }
.home-quicklink--action { background: linear-gradient(135deg, #214aab, #1d5fd1); border-color: #16397d; color: #fff; }
.home-quicklink--action .home-quicklink-icon { background: rgba(255,255,255,0.2); color: #ffd35a; border: 2px solid rgba(255,211,90,0.55); border-radius: 50%; }
.home-quicklink--action:hover { color: #fff; }

/* What's New */
.home-news { padding: 24px 0 12px; }
.home-news-panel {
    display: flex; align-items: stretch; min-height: 148px;
    background: var(--home-news-panel-bg);
    border-radius: 12px; border: 1px solid var(--border-color);
    box-shadow: 0 1px 1px 1px rgb(0 0 0 / 12%) !important; overflow: hidden;
}
.home-news-header {
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    width: 260px; flex-shrink: 0; padding: 12px 16px;
    background: linear-gradient(90deg, #214aab, #16397d);
    color: #fff;
}
.home-news-header h3, .home-news-header p { color: #fff !important; }
.home-news-brand { display: flex; align-items: center; gap: 10px; }
.home-news-icon { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.home-news-brand h3 { font-size: 1.05rem; font-weight: 700; margin: 0; line-height: 1.2; color: #fff; }
.home-news-brand p { margin: 0; font-size: 0.75rem; line-height: 1.35; color: rgba(255,255,255,0.92); opacity: 1; }
.home-news-viewall { color: #ffd35a; text-decoration: none; font-weight: 600; font-size: 0.78rem; white-space: nowrap; transition: opacity 0.2s ease; align-self: flex-start; }
.home-news-viewall:hover { color: #fff; opacity: 0.9; }
.home-news-list { flex: 1; min-height: 148px; max-height: 200px; overflow-y: auto; padding: 0; background: var(--home-news-list-bg); }
.home-news-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--border-color); transition: background 0.2s ease; min-height: 48px; }
.home-news-item:last-child { border-bottom: none; }
.home-news-item:hover { background: var(--news-item-hover); }
.home-news-date { flex-shrink: 0; width: 75px; text-align: center; background: var(--news-date-bg); border-radius: 6px; padding: 5px 4px; border: 1px solid var(--news-date-border); }
.home-news-day { display: block; font-size: 1rem; font-weight: 700; color: var(--accent-blue); line-height: 1.1; }
.home-news-month { display: block; font-size: 0.62rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em; }
.home-news-title { margin: 0; font-size: 0.86rem; color: var(--text-body) !important; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-news-empty { padding: 16px; margin: 0; color: var(--text-muted); text-align: center; font-size: 0.88rem; }

/* Pillars */
.home-pillars { padding: 32px 0 28px; }
.home-section-head h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: var(--text-heading); margin-bottom: 10px; }
.home-section-head p { color: var(--text-muted); max-width: 640px; margin: 0 auto 22px; font-size: 0.95rem; }
.home-pillars-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.home-pillar-card {
    background: var(--home-pillar-card-bg);
    border-radius: 14px;
    padding: 20px 18px;
    border: 1px solid #ff970063 !important;
    border-style: dashed !important;
    box-shadow: 0 1px 1px 1px rgb(0 0 0 / 12%) !important;
    display: flex; flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-pillar-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.home-pillar-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.home-pillar-icon--blue  { background: linear-gradient(135deg, #6089e4, #e8efff); color: #214aab; }
.home-pillar-icon--green { background: linear-gradient(135deg, #58dd8d, #e8faf0); color: #1a8a4a; }
.home-pillar-icon--red   { background: linear-gradient(135deg, #df526c, #fde8ec); color: #c0304a; }
.home-pillar-icon--gold  { background: linear-gradient(135deg, #dcb965, #fdf6e3); color: #9a7b20; }
.home-pillar-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--home-pillar-h3); margin-bottom: 12px; }
.home-pillar-card p { font-size: 0.9rem; color: var(--home-pillar-p); line-height: 1.65; flex-grow: 1; margin-bottom: 16px; }
.home-pillar-map { width: 100%; height: 120px; object-fit: contain; margin-bottom: 12px; border-radius: 8px; }
.home-pillar-link { color: var(--accent-blue); font-weight: 600; font-size: 0.88rem; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s ease; }
.home-pillar-link:hover { color: var(--accent-blue-dark); gap: 10px; }

/* Glance */
.home-glance { background: var(--glance-section-bg); padding: 36px 0 40px; color: #fff; }
.home-section-head--light h2 { color: #fff; }
.home-section-head--light p { color: rgba(255,255,255,0.88); }
.home-glance-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; }
.home-glance-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    text-decoration: none; color: #fff; border-radius: 12px; padding: 14px 8px;
    min-height: 108px; min-width: 0; text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-glance-card:hover { transform: translateY(-4px) scale(1.02); color: #fff; box-shadow: 0 12px 28px rgba(0,0,0,0.22); }
.home-glance-icon-wrap { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.05rem; }
.home-glance-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; width: 100%; }
.home-glance-count { font-size: 1.2rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; display: block; }
.home-glance-label { font-size: 0.64rem; line-height: 1.25; opacity: 0.92; display: block; word-wrap: break-word; }
.home-glance-card--ocean { background: linear-gradient(145deg, rgba(14,116,144,0.55), rgba(30,64,175,0.65)); }
.home-glance-card--ocean .home-glance-icon-wrap { background: rgba(125,211,252,0.25); color: #7dd3fc; }
.home-glance-card--forest { background: linear-gradient(145deg, rgba(6,95,70,0.6), rgba(21,128,61,0.5)); border-radius: 14px 14px 14px 4px; }
.home-glance-card--forest .home-glance-icon-wrap { background: rgba(134,239,172,0.22); color: #86efac; border-radius: 50%; }
.home-glance-card--sunrise { background: linear-gradient(145deg, rgba(217,119,6,0.55), rgba(220,38,38,0.45)); }
.home-glance-card--sunrise .home-glance-count { color: #fde68a; }
.home-glance-card--sunrise .home-glance-icon-wrap { background: rgba(253,224,71,0.25); color: #fde047; }
.home-glance-card--violet { background: linear-gradient(145deg, rgba(91,33,182,0.55), rgba(109,40,217,0.5)); border-style: dashed; }
.home-glance-card--violet .home-glance-icon-wrap { background: rgba(216,180,254,0.25); color: #e9d5ff; }
.home-glance-card--slate { background: rgba(15,23,42,0.45); backdrop-filter: blur(10px); border: 1px solid rgba(148,163,184,0.35); }
.home-glance-card--slate .home-glance-icon-wrap { background: rgba(148,163,184,0.2); color: #cbd5e1; border-radius: 8px; }
.home-glance-card--amber { background: linear-gradient(145deg, rgba(180,83,9,0.5), rgba(234,179,8,0.35)); }
.home-glance-card--amber .home-glance-icon-wrap { background: rgba(255,255,255,0.18); color: #fff; border-radius: 50% 50% 4px 50%; }
.home-glance-card--mint { background: linear-gradient(145deg, rgba(13,148,136,0.5), rgba(59,130,246,0.45)); }
.home-glance-card--mint .home-glance-icon-wrap { background: rgba(255,255,255,0.2); color: #ccfbf1; }
.home-glance-card--rose { background: linear-gradient(145deg, rgba(190,24,93,0.45), rgba(124,58,237,0.5)); }
.home-glance-card--rose .home-glance-icon-wrap { background: rgba(251,207,232,0.22); color: #fbcfe8; }
.home-glance-empty { grid-column: 1 / -1; text-align: center; opacity: 0.85; margin: 0; }

/* CTA */
.home-cta-box {
    background: var(--cta-box-bg);
    border-radius: 0 0 10px 10px;

    border-left: 1px solid rgba(238, 144, 4, 0.432);
    border-right: 1px solid rgba(238, 144, 4, 0.432);
    border-bottom: 1px solid rgba(238, 144, 4, 0.432);
    border-top: none !important;
    border-style: dashed;

    box-shadow: var(--shadow-sm);
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background-image: var(--cta-box-image);
}
.home-cta-text h3 { font-size: 1.3rem; font-weight: 700; color: var(--cta-heading); margin-bottom: 8px; }
.home-cta-text p { margin: 0; color: var(--cta-text); font-size: 0.95rem; max-width: 560px; }
.home-cta-btn { background: #214aab; color: #fff !important; border: none; font-weight: 600; padding: 12px 24px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; transition: background 0.2s ease, transform 0.2s ease; }
.home-cta-btn:hover { background: #16397d; transform: translateY(-2px); color: #fff !important; }

/* Home Responsive */
@media (max-width: 1199.98px) {
    .home-quicklinks-grid { grid-template-columns: repeat(3, 1fr); }
    .home-pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .home-glance-grid { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding-bottom: 6px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
    .home-glance-card { flex: 0 0 132px; }
}
@media (max-width: 767.98px) {
    .home-hero-img { height: 250px !important; width: 100%; max-height: none; object-fit: cover; }
    .home-hero .carousel-caption.home-hero-caption { top: 50%; left: 0; right: 0; bottom: auto !important; transform: translateY(-50%); padding: 0 44px; text-align: center; }
    .home-hero-control { top: 50%; transform: translateY(-50%); width: 36px; height: 36px; }
    .home-news-panel { flex-direction: column; height: 200px; }
    .home-news-header { width: 100%; flex-direction: row; align-items: center; justify-content: space-between; padding: 10px 14px; }
    .home-news-list { height: 132px; max-height: 132px; }
    .home-hero-caption p { font-size: 0.88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .home-quicklinks { margin-top: -20px; }
    .home-quicklinks-grid { grid-template-columns: repeat(2, 1fr); }
    .home-glance-card { flex: 0 0 118px; }
    .home-pillars-grid { grid-template-columns: 1fr; }
    .home-cta-box { flex-direction: column; text-align: center; padding: 24px 20px; }
}

/* ================================================================
   SITEMAP
================================================================ */
.sitemap-page { max-width: 960px; }
.sitemap-breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.88rem; color: var(--text-muted); }
.sitemap-breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-muted); }
.sitemap-breadcrumbs a { color: var(--accent-blue); text-decoration: none; }
.sitemap-breadcrumbs a:hover { text-decoration: underline; }
.sitemap-breadcrumbs .current { color: var(--text-body); font-weight: 600; }
.sitemap-panel { background: var(--sitemap-panel-bg); border: 1px solid var(--border-color); border-radius: 12px; padding: 24px 28px; box-shadow: var(--shadow-sm); }
.sitemap-heading { font-size: 1.75rem; font-weight: 700; color: var(--sitemap-heading); margin-bottom: 1rem; }
.sitemap-page ul { list-style: none; padding-left: 1rem; margin: 0; }
.sitemap-page > .sitemap-panel > ul { padding-left: 0; }
.sitemap-page li { margin: 6px 0; line-height: 1.5; }
.sitemap-page a { color: #0d6efd; text-decoration: none; font-size: 0.95rem; }
.sitemap-page a:hover { color: var(--accent-blue); text-decoration: underline; }
