:root {
    --brand-navy: #0e2238;
    --brand-navy-2: #122f4d;
    --brand-gold: #c9a15d;
    --brand-ice: #f4f7fb;
    --text-soft: #627181;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #1a2530;
    background: #f8fafc;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title {
    font-family: 'Playfair Display', serif;
}

.navbar-premium {
    background: linear-gradient(120deg, rgba(11, 27, 44, 0.96), rgba(18, 49, 78, 0.94));
    backdrop-filter: blur(6px);
}

.navbar-premium .nav-link {
    color: #d7e6f7;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-premium .nav-link:hover {
    color: #ffffff;
}

.navbar-premium .dropdown-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.navbar-premium .dropdown-item i,
.navbar-premium .nav-link i {
    opacity: 0.9;
}

.navbar-premium .profile-submenu .dropdown-toggle::after {
    margin-left: auto;
}

.navbar-premium .profile-submenu:hover > .dropdown-menu {
    display: block;
}

@media (min-width: 992px) {
    .navbar-premium .profile-submenu .dropdown-menu {
        margin-top: -0.25rem;
        margin-left: 0.1rem;
    }
}

@media (max-width: 991.98px) {
    .navbar-premium .profile-submenu .dropdown-menu {
        margin-left: 1rem;
        margin-top: 0.35rem;
    }
}

.brand-badge {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-gold), #f0cc8f);
    color: #1f2833;
}

.hero-premium {
    background: radial-gradient(circle at 20% 20%, #1f4f7e 0%, var(--brand-navy) 48%, #081525 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(35deg, rgba(201, 161, 93, 0.14), transparent 35%),
        linear-gradient(140deg, rgba(255, 255, 255, 0.1), transparent 42%);
}

.hero-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    letter-spacing: 0.04em;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.1;
}

.hero-subtitle {
    max-width: 640px;
    color: #d6e3ef;
}

.btn-gold {
    background: linear-gradient(135deg, #c9a15d, #e5c585);
    color: #172130;
    border: none;
}

.hero-carousel .hero-slide-card {
    min-height: 260px;
    padding: 2rem;
    color: #fff;
    background: linear-gradient(135deg, rgba(17, 36, 58, 0.9), rgba(50, 76, 106, 0.8));
}

.section-space {
    padding: 4.2rem 0;
}

.section-soft {
    background: linear-gradient(180deg, #f4f8fd 0%, #edf3f8 100%);
}

.section-title {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.stats-strip {
    background: linear-gradient(90deg, #f4f7fb, #eaf2fb);
}

.stat-card {
    border-radius: 14px;
    background: #fff;
    padding: 1.2rem;
    box-shadow: 0 8px 25px rgba(20, 43, 67, 0.08);
}

.stat-card h3 {
    margin: 0;
    color: var(--brand-navy);
}

.news-card {
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(20, 43, 67, 0.09);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 34px rgba(20, 43, 67, 0.18);
}

.news-thumb {
    min-height: 190px;
    background-size: cover;
    background-position: center;
}

.facility-card {
    display: block;
    height: 100%;
    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    color: #1a2530;
    box-shadow: 0 10px 24px rgba(18, 49, 78, 0.08);
}

.facility-card i {
    font-size: 1.4rem;
    color: var(--brand-navy);
}

.facility-card p {
    color: var(--text-soft);
    margin-bottom: 0;
    font-size: 0.92rem;
}

.org-card {
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(16, 39, 62, 0.09);
    padding: 1.2rem;
}

.footer-premium {
    background: linear-gradient(120deg, #09182a, #0f2945);
    color: #d5dfeb;
}

.content-article {
    line-height: 1.85;
    color: #253545;
}

.vision-card {
    border: 1px solid #dde7f2;
    overflow: hidden;
}

.vision-thumb {
    min-height: 340px;
    background-size: cover;
    background-position: center;
}

.vision-text {
    color: #2a3d50;
    font-size: 1rem;
}

.vision-text p:last-child {
    margin-bottom: 0;
}

.section-struktur-full {
    padding-top: 2rem;
    background: linear-gradient(180deg, #f7fbff 0%, #eef4fb 100%);
}

.section-struktur-full .badge,
.section-struktur-full .section-title {
    margin-left: clamp(1rem, 3vw, 2.5rem);
}

.struktur-fullscreen {
    width: 100%;
    min-height: calc(100vh - 330px);
    background: #f4f8fd;
    border: 1px solid #d4e1ef;
    border-radius: 18px;
    box-shadow: 0 16px 38px rgba(19, 49, 79, 0.12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    overflow: hidden;
}

.struktur-meta-wrap {
    max-width: 1200px;
}

.struktur-meta-card {
    background: #ffffff;
    border: 1px solid #dbe6f1;
    border-radius: 14px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 20px rgba(20, 43, 67, 0.07);
}

.struktur-meta-card h5 {
    color: #133654;
}

.struktur-meta-card p {
    color: #526476;
}

.struktur-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #d7e4f2;
    background: linear-gradient(180deg, #f9fcff 0%, #f1f7ff 100%);
}

.struktur-toolbar-title {
    color: #12395d;
    font-weight: 700;
}

.struktur-fullscreen-image {
    width: 100%;
    height: min(100vh - 390px, 980px);
    object-fit: contain;
    object-position: center;
    background:
        linear-gradient(45deg, rgba(19, 55, 91, 0.03) 25%, transparent 25%, transparent 50%, rgba(19, 55, 91, 0.03) 50%, rgba(19, 55, 91, 0.03) 75%, transparent 75%, transparent),
        #f8fbff;
    background-size: 16px 16px;
}

.struktur-fullscreen-empty {
    color: #4d6175;
    font-weight: 500;
    text-align: center;
    padding: 2.5rem 1rem;
}

.bagan-prodi-section {
    background: #fff;
    border: 1px solid #dbe6f1;
    border-radius: 18px;
    box-shadow: 0 12px 28px rgba(20, 43, 67, 0.09);
    padding: 1.35rem;
}

.bagan-prodi-head {
    border-bottom: 1px solid #e5edf7;
    margin-bottom: 1.1rem;
    padding-bottom: 0.9rem;
}

.bagan-prodi-head h4 {
    color: #12395d;
}

.bagan-prodi-filter-wrap {
    border: 1px solid #d9e4f0;
    border-radius: 16px;
    background: #f8fbff;
    padding: 1rem;
}

.bagan-prodi-filter-head h5 {
    color: #12395d;
}

.bagan-prodi-filter-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.bagan-prodi-canvas {
    min-height: 420px;
    margin-bottom: 1.05rem !important;
}

.bagan-prodi-card {
    background: #fbfdff;
    border: 1px solid #e4ecf6;
    border-radius: 14px;
    padding: 1.15rem 1.2rem;
}

.bagan-prodi-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bagan-prodi-card-wide {
    width: 100%;
}

.bagan-prodi-card h6 {
    color: #15395b;
}

.bagan-prodi-visi-image {
    width: 100%;
    max-height: 620px;
    object-fit: contain;
    border-radius: 10px;
    border: 1px solid #dbe6f2;
    background: #f5f9fe;
    padding: 0.75rem;
}

.bagan-akreditasi-table th {
    color: #163c60;
    font-weight: 700;
    background: #eff5fc;
    border-bottom: 1px solid #d8e3f0;
}

.bagan-akreditasi-table td,
.bagan-akreditasi-table th {
    vertical-align: middle;
    padding: 0.8rem 0.95rem;
}

.bagan-akreditasi-table .akr-col-name {
    width: auto;
    text-align: left;
}

.bagan-akreditasi-table .akr-col-file {
    width: 210px;
    text-align: center;
}

.dosen-table-wrap {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 12px 30px rgba(14, 34, 56, 0.09);
    border: 1px solid #e3ebf4;
}

.dosen-toolbar {
    background: #fff;
    border: 1px solid #e2eaf4;
    border-radius: 14px;
    padding: 0.8rem;
}

.dosen-toolbar .form-label {
    font-size: 0.86rem;
    color: #506579;
}

.dosen-toolbar .form-control,
.dosen-toolbar .form-select {
    border-color: #d9e4ef;
}

.dosen-pagination .pagination .page-link {
    border-color: #dae5f0;
    color: #0f3658;
}

.dosen-pagination .pagination .page-item.active .page-link {
    background: #123a60;
    border-color: #123a60;
}

.dosen-table thead th {
    border: none;
    color: #f8fbff;
    background: linear-gradient(120deg, #13375a, #0e2640);
    font-weight: 600;
    padding: 0.95rem 0.8rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.table-sort-link {
    color: #f8fbff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.table-sort-link:hover {
    color: #d7ebff;
}

.dosen-table tbody td {
    border-color: #edf3f8;
    padding: 0.8rem;
    vertical-align: middle;
}

.dosen-table tbody tr:hover {
    background: #f7fbff;
}

.dosen-avatar {
    width: 88px;
    height: 88px;
    object-fit: cover;
    object-position: center top;
    border-radius: 12px;
    border: 1px solid #d5e2f0;
    box-shadow: 0 6px 14px rgba(18, 46, 76, 0.14);
    display: inline-flex;
}

.dosen-avatar-placeholder {
    align-items: center;
    justify-content: center;
    color: #5f7081;
    background: #eef4fb;
    font-size: 1.35rem;
}

.dosen-table tbody td:first-child {
    text-align: center;
}

.pimpinan-avatar {
    width: 112px;
    height: 112px;
    border-radius: 14px;
    border-color: #cfddec;
    box-shadow: 0 8px 16px rgba(18, 46, 76, 0.16);
}

.dosen-action-btn {
    min-width: 36px;
}

.dosen-detail-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e2ebf5;
    box-shadow: 0 20px 40px rgba(16, 39, 62, 0.12);
}

.dosen-detail-photo-wrap {
    background: linear-gradient(180deg, #edf4fc, #e5effa);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0.8rem;
}

.dosen-detail-photo {
    width: 100%;
    max-height: 520px;
    height: auto;
    object-fit: contain;
    background: #f4f8fc;
    border-radius: 12px;
}

.dosen-detail-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #607589;
    font-size: 4rem;
}

.dosen-detail-body {
    padding: 1.3rem 1.25rem;
}

.dosen-detail-name {
    color: var(--brand-navy);
}

.dosen-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.dosen-detail-tags .badge {
    color: #163552;
    font-weight: 500;
    padding: 0.45rem 0.7rem;
}

.dosen-info-item {
    border: 1px solid #e4edf6;
    border-radius: 12px;
    padding: 0.8rem;
    background: #f9fcff;
}

.dosen-info-item small {
    color: #637587;
    display: block;
    margin-bottom: 0.2rem;
}

.dosen-info-item a {
    color: #0f4f88;
    text-decoration: none;
}

.dosen-info-item a:hover {
    text-decoration: underline;
}

.dosen-bio-box {
    border: 1px solid #e5edf7;
    border-radius: 14px;
    padding: 1rem;
    background: #fbfdff;
}

.dosen-link-list {
    padding-left: 1.1rem;
}

.dosen-link-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #d6e3f0;
}

.dosen-link-list li:last-child {
    border-bottom: none;
}

.dosen-link-label {
    display: inline-block;
    min-width: 145px;
    color: #173857;
    font-weight: 600;
}

.dosen-link-inline {
    color: #0f4f88;
    text-decoration: none;
    word-break: break-all;
}

.dosen-link-inline:hover {
    text-decoration: underline;
}

.dosen-links-table thead th {
    background: #eef5fc;
    color: #143757;
    border-color: #d9e6f3;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.dosen-links-table td,
.dosen-links-table th {
    border-color: #deebf8;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.dosen-links-table .col-no {
    width: 56px;
    text-align: center;
}

.dosen-links-table .col-platform {
    width: 240px;
}

.dosen-links-table .col-link {
    width: auto;
}

.dosen-links-table tbody td:first-child {
    text-align: center;
    color: #35506b;
    font-weight: 600;
}

.dosen-links-table tbody td:nth-child(2) {
    color: #173857;
}

.dosen-links-table tbody tr:hover {
    background: #f7fbff;
}

.dosen-links-table {
    margin-bottom: 0;
}

.dosen-bio-box h5 {
    color: #123654;
}

@media (max-width: 767.98px) {
    .section-space {
        padding: 3rem 0;
    }

    .hero-carousel .hero-slide-card {
        min-height: 190px;
    }

    .vision-thumb {
        min-height: 220px;
    }

    .section-struktur-full {
        padding-top: 1.4rem;
    }

    .section-struktur-full .badge,
    .section-struktur-full .section-title {
        margin-left: 1rem;
    }

    .struktur-fullscreen {
        min-height: calc(100vh - 230px);
        border-radius: 14px;
    }

    .struktur-fullscreen-image {
        height: calc(100vh - 300px);
    }

    .struktur-toolbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 0.75rem 0.85rem;
    }

    .bagan-prodi-section {
        padding: 0.95rem;
    }

    .bagan-prodi-canvas {
        min-height: 300px;
    }

    .bagan-prodi-filter-wrap {
        padding: 0.85rem;
    }

    .bagan-prodi-card {
        padding: 0.95rem;
    }

    .bagan-prodi-visi-image {
        max-height: 420px;
        padding: 0.4rem;
    }

    .bagan-akreditasi-table .akr-col-file {
        width: 160px;
    }

    .dosen-table thead th,
    .dosen-table tbody td {
        font-size: 0.86rem;
        padding: 0.65rem;
    }

    .dosen-avatar {
        width: 74px;
        height: 74px;
    }

    .pimpinan-avatar {
        width: 92px;
        height: 92px;
    }

    .dosen-detail-photo {
        max-height: 320px;
    }

    .dosen-links-table thead th,
    .dosen-links-table td {
        font-size: 0.86rem;
    }

    .dosen-links-table .col-no {
        width: 44px;
    }

    .dosen-links-table .col-platform {
        width: 140px;
    }

    .dosen-detail-body {
        padding: 1rem;
    }
}
