.page-header {
    background: linear-gradient(135deg, var(--ugk-blue) 0%, var(--ugk-dark-blue) 100%);
    color: var(--ugk-white);
    padding: 50px 0 40px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.page-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: var(--ugk-yellow);
}

.tab-navigation {
    background: var(--ugk-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.tab-navigation .nav-tabs {
    border-bottom: 3px solid var(--ugk-blue);
    margin-bottom: 0;
}

.tab-navigation .nav-item {
    margin-bottom: 0;
}

.tab-navigation .nav-link {
    border: none;
    background: transparent;
    color: var(--ugk-dark);
    font-weight: 600;
    padding: 18px 30px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -3px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-navigation .nav-link i {
    font-size: 1.2em;
}

.tab-navigation .nav-link:hover {
    background: rgba(20, 0, 153, 0.05);
    color: var(--ugk-blue);
}

.tab-navigation .nav-link.active {
    background: transparent;
    color: var(--ugk-blue);
    border-bottom-color: var(--ugk-blue);
}

.profil-section {
    padding: 40px 0 60px 0;
    background: var(--ugk-light-gray);
}

.content-card {
    background: var(--ugk-white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.content-header {
    background: linear-gradient(135deg, rgba(20, 0, 153, 0.05) 0%, rgba(20, 0, 153, 0.02) 100%);
    padding: 30px;
    border-bottom: 2px solid var(--ugk-blue);
}

.content-header h2 {
    margin: 0;
    font-size: 2em;
    font-weight: bold;
    color: var(--ugk-dark);
}

.content-body {
    padding: 40px;
}

.text-section {
    line-height: 1.8;
}

.text-section p {
    color: var(--ugk-gray);
    line-height: 1.8;
    margin-bottom: 15px;
}

.text-section p strong {
    color: var(--ugk-blue);
    font-weight: 600;
}

.section-title {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--ugk-blue);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--ugk-yellow);
}

.lead {
    font-size: 1.15em;
    color: var(--ugk-dark);
    font-weight: 500;
}

.achievement-card {
    background: linear-gradient(135deg, var(--ugk-white) 0%, var(--ugk-light-gray) 100%);
    border-radius: 10px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--ugk-blue);
    height: 100%;
}

.achievement-card:hover {
    transform: translateY(-5px);
}

.achievement-icon {
    width: 70px;
    height: 70px;
    background: var(--ugk-blue);
    color: var(--ugk-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    flex-shrink: 0;
}

.achievement-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.3em;
    color: var(--ugk-dark);
}

.achievement-content p {
    margin: 0;
    color: var(--ugk-gray);
    font-size: 0.95em;
}

.misi-subtitle {
    color: var(--ugk-blue);
    font-weight: 600;
    font-size: 1.1em;
    margin-top: 25px;
    margin-bottom: 12px;
}

.org-chart {
    padding: 20px 0;
}

.org-level {
    margin-bottom: 40px;
}

.org-box {
    background: var(--ugk-white);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.org-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.org-box.rektor {
    border-color: var(--ugk-blue);
    background: linear-gradient(135deg, var(--ugk-blue) 0%, var(--ugk-dark-blue) 100%);
    color: var(--ugk-white);
}

.org-box.warek  { border-color: var(--ugk-yellow); }
.org-box.dekan  { border-color: var(--ugk-green); }
.org-box.unit   { border-color: #00bcd4; }

.org-photo {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2em;
    overflow: hidden;
    position: relative;
}

.org-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.org-photo-sm {
    width: 50px;
    height: 50px;
    background: var(--ugk-blue);
    color: var(--ugk-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.2em;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}

.org-photo-sm img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.org-box h4,
.org-box h5,
.org-box h6 {
    margin-bottom: 5px;
    font-weight: bold;
}

.org-box p       { margin: 5px 0; color: var(--ugk-gray); font-weight: 600; }
.org-box.rektor p { color: var(--ugk-yellow); }
.org-box small   { font-size: 0.85em; color: var(--ugk-gray); }

.location-info,
.facilities-section {
    margin-bottom: 40px;
}

.info-card {
    background: var(--ugk-light-gray);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: start;
    gap: 15px;
    transition: all 0.3s ease;
    height: 100%;
}

.info-card:hover {
    background: rgba(20, 0, 153, 0.05);
    transform: translateX(5px);
}

.info-card i        { font-size: 2em; color: var(--ugk-blue); flex-shrink: 0; }
.info-card strong   { display: block; color: var(--ugk-blue); margin-bottom: 5px; }
.info-card p        { margin: 0; color: var(--ugk-dark); }

.facilities-section .row {
    align-items: stretch;
}

.facilities-section .row > [class*="col-"] {
    display: flex;
}

.facility-card {
    background: var(--ugk-white);
    border: 2px solid var(--ugk-blue);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 160px;
}

.facility-card:hover {
    background: var(--ugk-blue);
    color: var(--ugk-white);
    transform: translateY(-5px);
}

.facility-icon {
    font-size: 3em;
    color: var(--ugk-blue);
    margin-bottom: 15px;
}

.facility-card:hover .facility-icon { color: var(--ugk-white); }
.facility-card h5 { font-weight: bold; margin-bottom: 10px; }
.facility-card p  { margin: 0; font-size: 0.9em; }

.map-embed {
    margin-top: 40px;
}

.map-embed iframe {
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-embed .ratio-16x9 {
    --bs-aspect-ratio: 50%;
}

.sambutan-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

.sambutan-profile {
    text-align: center;
    margin-bottom: 36px;
}

.sambutan-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 4px solid var(--ugk-blue);
    box-shadow: 0 4px 18px rgba(20, 0, 153, 0.15);
}

.sambutan-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sambutan-name {
    font-size: 1.3em;
    font-weight: 700;
    color: var(--ugk-dark);
    margin-bottom: 4px;
}

.sambutan-jabatan {
    color: var(--ugk-blue);
    font-weight: 600;
    margin: 0;
}

.sambutan-text p {
    text-align: justify;
    line-height: 1.9;
    color: var(--ugk-gray);
    margin-bottom: 16px;
}

.sambutan-ttd {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    color: var(--ugk-gray);
    line-height: 1.7;
}

.sambutan-ttd p        { margin-bottom: 2px !important; text-align: right !important; }
.ttd-name              { font-weight: 700; color: var(--ugk-dark) !important; }
.ttd-jabatan           { color: var(--ugk-blue) !important; font-weight: 600; }

@media (max-width: 991.98px) {
    .tab-navigation .nav-link {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    .tab-navigation .nav-link span { display: none; }
    .tab-navigation .nav-link i    { font-size: 1.5em; }
}

@media (max-width: 767.98px) {
    .page-header          { padding: 30px 0 25px 0; }
    .page-header h1       { font-size: 1.4em; line-height: 1.3; }

    .tab-navigation .nav-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tab-navigation .nav-tabs::-webkit-scrollbar { display: none; }
    .tab-navigation .nav-link {
        padding: 12px 16px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .content-header             { padding: 16px; }
    .content-header h2          { font-size: 1.2em; }
    .content-body               { padding: 18px 16px; }
    .profil-section             { padding: 16px 0 32px 0; }
    .section-title              { font-size: 1.15em; }
    .lead                       { font-size: 1em; }

    .achievement-section .row > [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .achievement-card {
        flex-direction: row;
        align-items: center;
        gap: 14px;
        padding: 16px;
    }

    .achievement-icon           { width: 52px; height: 52px; font-size: 1.4em; flex-shrink: 0; }
    .achievement-content h4     { font-size: 1em; margin-bottom: 3px; }
    .achievement-content p      { font-size: 0.85em; line-height: 1.4; }

    .org-level .row > [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .warek-slider              { position: relative; overflow: hidden; width: 100%; }
    .warek-slider-track        { display: flex; transition: transform 0.5s ease; will-change: transform; }
    .warek-slide               { min-width: 100%; padding: 4px 2px; box-sizing: border-box; }
    .warek-slide .org-box.warek { margin: 0 auto; max-width: 100%; }

    .warek-dots                { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
    .warek-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #ccc;
        cursor: pointer;
        transition: background 0.3s, transform 0.3s;
        display: inline-block;
    }
    .warek-dot.active          { background: var(--ugk-blue); transform: scale(1.3); }

    .org-level .row:has(.org-box.dekan) > [class*="col-"] {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
    .org-box.dekan             { padding: 14px 10px; }
    .org-box.dekan h6          { font-size: 0.75em; }
    .org-box.dekan p           { font-size: 0.75em; }
    .org-photo-sm              { width: 40px; height: 40px; font-size: 1em; }

    .org-level .row:has(.org-box.unit) > [class*="col-"] {
        width: 33.33% !important;
        flex: 0 0 33.33% !important;
        max-width: 33.33% !important;
    }
    .org-box.unit              { padding: 12px 8px; }
    .org-box.unit h6           { font-size: 0.72em; margin-top: 6px; margin-bottom: 0; }
    .org-box.unit i            { font-size: 1.4em; }

    .location-info .row > [class*="col-"] {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .facilities-section .row > [class*="col-"] {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .facility-card             { padding: 16px 10px; min-height: 130px; }
    .facility-icon             { font-size: 2em; margin-bottom: 8px; }
    .facility-card h5          { font-size: 0.85em; margin-bottom: 4px; }
    .facility-card p           { font-size: 0.78em; line-height: 1.4; }

    .info-card                 { padding: 14px; gap: 12px; }
    .info-card i               { font-size: 1.5em; }

    .map-embed .ratio-16x9     { --bs-aspect-ratio: 65%; }

    .text-center .btn-lg {
        width: 100%;
        font-size: 0.9em;
        padding: 12px 16px;
    }

    .sambutan-photo            { width: 100px; height: 100px; }
    .sambutan-name             { font-size: 1em; }
    .sambutan-jabatan          { font-size: 0.85em; }
    .sambutan-text p           { font-size: 0.82em; line-height: 1.7; }

    .sambutan-ttd              { text-align: center; }
    .sambutan-ttd p            { text-align: center !important; font-size: 0.82em; }
    .ttd-name                  { font-size: 0.85em; }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.tab-pane.active {
    animation: fadeIn 0.5s ease-out;
}