/* ============================================================
   app.css - แผนกเทคโนโลยีดิจิทัล มหาวิทยาลัยนครพนม
   Theme: Navy Blue + Teal | Font: Sarabun
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
    --navy: #0d47a1;
    /* IT Deep Blue */
    --navy-dark: #002171;
    --navy-soft: #5472d3;
    --gold: #00bcd4;
    /* IT Light Blue / Cyan */
    --gold-light: #62efff;
    --gold-dark: #008ba3;
    --text-main: #2c3e50;
    --text-muted: #6c757d;
    --bg-light: #f5f7fa;
    --bg-card: #ffffff;
    --border: #e3e8ef;
    --shadow-sm: 0 2px 8px rgba(13, 71, 161, .08);
    --shadow-md: 0 4px 20px rgba(13, 71, 161, .12);
    --shadow-lg: 0 8px 40px rgba(13, 71, 161, .18);
    --radius: 10px;
    --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

html.mourning {
    filter: grayscale(100%);
    --navy: #1a1a1a;
    --navy-dark: #000000;
    --navy-soft: #333333;
    --gold: #6c757d;
    --gold-light: #adb5bd;
    --gold-dark: #495057;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, .12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .18);
}

/* ---- Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Kanit', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text-main);
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--navy);
}

a {
    color: var(--navy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold);
}

img {
    max-width: 100%;
}

/* ---- Top Bar ---- */
.topbar {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, .85);
    font-size: .82rem;
    padding: 6px 0;
}

.topbar a {
    color: rgba(255, 255, 255, .85);
}

.topbar a:hover {
    color: var(--gold);
}

/* ---- Navbar ---- */
.navbar-main {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
    border-bottom: 3px solid var(--gold);
    z-index: 1030;
}

.navbar-main .nav-link {
    font-size: .95rem;
    font-weight: 500;
    color: var(--navy) !important;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: var(--transition);
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--gold-dark) !important;
    background: rgba(200, 169, 81, .08);
}

.brand-logo-wrap {
    display: flex;
    align-items: center;
}

.brand-icon-placeholder {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.6rem;
    box-shadow: var(--shadow-sm);
}

.brand-name-th {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
}

.brand-name-sub {
    font-size: .8rem;
    font-weight: 500;
    color: var(--navy-soft);
    line-height: 1.3;
}

.brand-name-en {
    font-size: .7rem;
    color: var(--text-muted);
}

.dropdown-menu-styled {
    border: none;
    border-top: 3px solid var(--gold);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    min-width: 230px;
}

.dropdown-item {
    padding: 10px 20px;
    font-size: .92rem;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: rgba(26, 58, 92, .06);
    color: var(--navy-dark);
    padding-left: 28px;
}

/* ---- Buttons ---- */
.btn-gold {
    background: var(--gold);
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 6px;
    transition: var(--transition);
}

.btn-gold:hover {
    background: var(--gold-dark);
    color: #fff;
    transform: translateY(-1px);
}

.btn-hero {
    background: var(--gold);
    color: var(--navy-dark);
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    border: 2px solid var(--gold);
    transition: var(--transition);
}

.btn-hero:hover {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-hero-outline {
    background: transparent;
    color: white;
    font-weight: 700;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, .7);
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: rgba(255, 255, 255, .15);
    color: white;
}

/* ---- Hero ---- */
.hero-section {
    position: relative;
}

.heroSwiper,
.default-hero {
    min-height: 520px;
}

.hero-slide,
.default-hero {
    min-height: 520px;
    background-size: cover;
    background-position: center;
    background-color: var(--navy-dark);
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 38, 64, .82) 0%, rgba(26, 58, 92, .6) 60%, rgba(26, 58, 92, .3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(200, 169, 81, .25);
    color: var(--gold-light);
    border: 1px solid rgba(200, 169, 81, .4);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: .85rem;
}

.hero-title {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 2rem;
}

.swiper-button-prev,
.swiper-button-next {
    color: white !important;
}

.swiper-pagination-bullet-active {
    background: var(--gold) !important;
}

.animate-fade-up {
    animation: fadeUp .8s ease forwards;
}

.delay-1 {
    animation-delay: .2s;
    opacity: 0;
}

.delay-2 {
    animation-delay: .4s;
    opacity: 0;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---- Stats Bar ---- */
.stats-bar {
    background: var(--navy);
    color: white;
    padding: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 28px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    transition: var(--transition);
}

.stat-item:hover {
    background: rgba(255, 255, 255, .05);
}

.stat-item>i {
    font-size: 2rem;
    color: var(--gold);
}

.stat-num {
    font-size: 1.7rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    color: rgba(255, 255, 255, .7);
}

/* ---- Sections ---- */
.section-padding {
    padding: 75px 0;
}

.bg-light-subtle {
    background: var(--bg-light);
}

.bg-navy-soft {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy-soft));
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.section-badge {
    display: inline-block;
    background: rgba(200, 169, 81, .15);
    color: var(--gold-dark);
    border-left: 3px solid var(--gold);
    padding: 2px 12px;
    font-size: .8rem;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
    margin-bottom: 8px;
}

.section-badge-light {
    background: rgba(255, 255, 255, .15);
    color: var(--gold-light);
    border-color: var(--gold-light);
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}

/* ---- News Cards ---- */
.news-card-featured {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.news-card-featured:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.featured-thumb {
    height: 220px;
    overflow: hidden;
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.news-card-featured:hover .featured-thumb img {
    transform: scale(1.05);
}

.news-body {
    padding: 20px;
}

.news-body h3 {
    font-size: 1.1rem;
    margin: 10px 0;
}

.news-body h3 a {
    color: var(--navy);
}

.news-body h3 a:hover {
    color: var(--gold-dark);
}

.news-excerpt {
    font-size: .9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.news-card-sm {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.news-card-sm:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(200, 169, 81, .4);
}

.news-card-sm h6 a {
    color: var(--text-main);
    font-size: .9rem;
    line-height: 1.5;
}

.news-card-sm h6 a:hover {
    color: var(--navy);
}

.news-date-box {
    min-width: 50px;
    background: var(--navy);
    color: white;
    border-radius: 8px;
    padding: 6px;
}

.date-day {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.date-month {
    font-size: .7rem;
}

.news-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.badge-news {
    background: rgba(26, 58, 92, .1);
    color: var(--navy);
}

.badge-announcement {
    background: rgba(220, 53, 69, .1);
    color: #dc3545;
}

.badge-order {
    background: rgba(255, 193, 7, .15);
    color: #856404;
}

.badge-notice {
    background: rgba(13, 202, 240, .1);
    color: #087990;
}

.news-meta {
    display: flex;
    gap: 16px;
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 10px;
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ---- Units ---- */
.unit-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 28px 24px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    height: 100%;
}

.unit-card:hover {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--gold);
    transform: translateY(-4px);
}

.unit-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.7rem;
    color: var(--gold);
    box-shadow: 0 4px 12px rgba(26, 58, 92, .2);
}

.unit-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.unit-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.btn-unit-more {
    color: var(--navy);
    border-color: var(--navy);
    font-size: .82rem;
}

.btn-unit-more:hover {
    background: var(--navy);
    color: white;
}

/* ---- Documents ---- */
.doc-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.doc-cat-btn {
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .85);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: .85rem;
    transition: var(--transition);
}

.doc-cat-btn:hover {
    background: var(--gold);
    color: var(--navy-dark);
    border-color: var(--gold);
}

.doc-item-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: var(--radius);
    padding: 14px 16px;
    transition: var(--transition);
}

.doc-item-card:hover {
    background: rgba(255, 255, 255, .18);
    border-color: var(--gold);
}

.doc-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold);
    flex-shrink: 0;
}

.doc-title {
    font-size: .9rem;
    color: white;
    font-weight: 500;
    line-height: 1.4;
}

.doc-meta {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 4px;
}

.doc-badge {
    font-size: .7rem;
    padding: 1px 8px;
    border-radius: 4px;
    background: rgba(200, 169, 81, .25);
    color: var(--gold-light);
}

.doc-download-btn {
    background: var(--gold);
    color: var(--navy-dark);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.doc-download-btn:hover {
    background: var(--gold-dark);
    color: white;
}

.flex-1 {
    flex: 1;
    min-width: 0;
}

/* ---- Articles ---- */
.article-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 24px 20px;
    border-left: 4px solid var(--gold);
    transition: var(--transition);
}

.article-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.article-icon {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 12px;
}

.article-card h6 a {
    color: var(--navy);
    font-size: .95rem;
    line-height: 1.5;
}

.article-card h6 a:hover {
    color: var(--gold-dark);
}

.article-date {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 10px;
}

/* ---- FAQ ---- */
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius) !important;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-item .accordion-button {
    background: white;
    color: var(--navy);
    font-weight: 500;
    font-size: .95rem;
}

.faq-item .accordion-button:not(.collapsed) {
    background: rgba(26, 58, 92, .04);
    color: var(--navy-dark);
    box-shadow: none;
}

.faq-item .accordion-button::after {
    filter: hue-rotate(200deg);
}

.faq-item .accordion-body {
    background: var(--bg-light);
    font-size: .92rem;
    color: var(--text-muted);
}

/* ---- Links ---- */
.link-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-muted);
    font-size: .82rem;
    transition: var(--transition);
    height: 100%;
}

.link-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(26, 58, 92, .3);
    color: var(--navy);
    transform: translateY(-3px);
}

.link-card img {
    max-height: 50px;
    object-fit: contain;
}

.link-icon {
    font-size: 2rem;
    color: var(--navy-soft);
}

/* ---- Contact ---- */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-info-icon {
    width: 38px;
    height: 38px;
    background: var(--navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-info-item a {
    color: var(--text-main);
}

.contact-info-item a:hover {
    color: var(--navy);
}

.map-container {
    box-shadow: var(--shadow-lg);
}

/* ---- Footer ---- */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, .75);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-text {
    font-size: .88rem;
    line-height: 1.7;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, .7);
    font-size: .88rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.footer-links a::before {
    content: '›';
    color: var(--gold);
    font-size: 1.1rem;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: .88rem;
}

.footer-contact li i {
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    background: rgba(0, 0, 0, .3);
}

.footer-bottom a:hover {
    color: var(--gold) !important;
}

.social-btn {
    display: inline-flex;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, .1);
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gold);
    color: var(--navy-dark);
}

/* ---- Admin Layout ---- */
.admin-sidebar {
    width: 260px;
    min-height: 100vh;
    background: var(--navy-dark) !important;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.admin-main {
    margin-left: 260px;
    min-height: 100vh;
    background: #f1f5f9;
}

.admin-topbar {
    background: white;
    padding: 14px 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-brand {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.sidebar-brand span {
    color: var(--gold);
}

.sidebar-nav {
    list-style: none;
    padding: 12px;
    margin: 0;
    flex: 1;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, .7);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: .92rem;
    transition: var(--transition);
}

.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: rgba(255, 255, 255, .1);
    color: white;
}

.sidebar-nav li a i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: var(--gold);
}

.sidebar-separator {
    padding: 6px 12px;
    font-size: .72rem;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 8px;
}

/* ---- Admin Cards ---- */
.stat-card {
    background: white;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--navy);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
}

.stat-card .stat-name {
    font-size: .85rem;
    color: var(--text-muted);
}

/* ---- Breadcrumb ---- */
.page-header-bar {
    background: linear-gradient(to right, var(--navy), var(--navy-soft));
    color: white;
    padding: 30px 0;
    margin-bottom: 0;
}

.page-header-bar h1 {
    color: white;
    font-size: 1.6rem;
    margin: 0;
}

.page-header-bar .breadcrumb-item,
.page-header-bar .breadcrumb-item a {
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
}

.page-header-bar .breadcrumb-item.active {
    color: var(--gold-light);
}

.page-header-bar .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .4);
}

/* ---- Tables ---- */
.table-styled th {
    background: var(--navy);
    color: white;
    font-weight: 500;
    font-size: .85rem;
    border: none;
    padding: 12px 16px;
}

.table-styled td {
    padding: 12px 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border);
}

.table-styled tr:hover td {
    background: rgba(26, 58, 92, .03);
}

/* ---- Alerts ---- */
.alert-flash {
    border-left: 4px solid;
    border-radius: var(--radius);
}

/* ---- Forms ---- */
.form-control,
.form-select {
    border-radius: 8px;
    border: 1.5px solid var(--border);
    padding: 10px 14px;
    font-family: 'Sarabun', sans-serif;
    transition: var(--transition);
    font-size: .95rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(26, 58, 92, .12);
}

.form-label {
    font-weight: 600;
    font-size: .88rem;
    color: var(--navy);
    margin-bottom: 6px;
}

/* ---- Pagination ---- */
.pagination .page-link {
    color: var(--navy);
    border-color: var(--border);
    border-radius: 6px !important;
    margin: 0 2px;
}

.pagination .page-item.active .page-link {
    background: var(--navy);
    border-color: var(--navy);
}

.pagination .page-link:hover {
    background: var(--bg-light);
    color: var(--navy);
}

/* ---- Personnel ---- */
.personnel-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    padding: 28px 20px;
    transition: var(--transition);
    border-top: 4px solid transparent;
}

.personnel-card:hover {
    box-shadow: var(--shadow-md);
    border-top-color: var(--gold);
    transform: translateY(-3px);
}

.personnel-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(26, 58, 92, .1);
    margin-bottom: 16px;
}

.personnel-photo-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 2.2rem;
    color: var(--gold);
}

.personnel-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.personnel-pos {
    font-size: .82rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.personnel-contact a {
    font-size: .8rem;
    color: var(--text-muted);
    display: block;
}

.personnel-contact a:hover {
    color: var(--navy);
}

/* ---- About Sidebar Active State ---- */
.sidebar-active {
    background-color: rgba(26, 58, 92, 0.07) !important;
    color: var(--navy) !important;
    font-weight: 700 !important;
    border-left: 4px solid var(--gold) !important;
    border-left-color: var(--gold) !important;
}

.sidebar-active i {
    color: var(--gold) !important;
}

/* ---- Responsive ---- */
@media (max-width: 991.98px) {
    .admin-sidebar {
        position: static;
        width: 100%;
        min-height: auto;
    }

    .admin-main {
        margin-left: 0;
    }

    .section-padding {
        padding: 50px 0;
    }

    .stats-bar .stat-item {
        padding: 16px;
    }

    .hero-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 767.98px) {
    .section-header {
        flex-direction: column;
        gap: 12px;
    }

    .stats-bar .col-6.col-md-3:last-child {
        border-right: none;
    }

    .stats-bar .col-6.col-md-3:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: .95rem;
    }

    .heroSwiper,
    .default-hero {
        min-height: 380px;
    }
}