/********** Template CSS **********/
:root {
    --primary: #11bcc2;
    --light: #f7f7f7;
    --dark: #252525;
}


/* ===========================
   TYPOGRAPHY
   =========================== */

h1, h2, .h1, .h2, .fw-bold {
    font-weight: 600 !important;
}

h3, h4, .h3, .h4, .fw-medium {
    font-weight: 500 !important;
}

h5, h6, .h5, .h6, .fw-normal {
    font-weight: 400 !important;
}

/* Gradient teks utama */
.text-primary {
    color: #1a759f;
    background: linear-gradient(45deg, #1a759f, #52b788) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
    font-weight: bold;
}


/* ===========================
   BACK TO TOP
   =========================== */

.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #0d6efd;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
    transition: all .25s ease;
}

.back-to-top i {
    font-size: 28px;
    line-height: 1;
}

.back-to-top:hover {
    transform: translateY(-4px);
    color: #fff;
}


/* ===========================
   UBH LOADING SCREEN
   =========================== */

.ubh-loader-wrap {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #0B2E59;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
}

.ubh-loader-wrap:not(.show) {
    opacity: 0;
    visibility: hidden;
}

/* Bintang latar */
.ubh-stars {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.ubh-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    animation: ubhTwinkle var(--d) ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes ubhTwinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.6); }
}

/* Garis dekoratif samping */
.ubh-deco-line {
    position: absolute;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(33,186,243,0.3), transparent);
    animation: ubhDecoFade 3s ease-in-out infinite;
}

.ubh-deco-line.left  { height: 80px; left: 18%; top: 28%; animation-delay: 0s; }
.ubh-deco-line.right { height: 60px; right: 18%; top: 38%; animation-delay: 1s; }

@keyframes ubhDecoFade {
    0%, 100% { opacity: 0; transform: scaleY(0.3); }
    50%       { opacity: 1; transform: scaleY(1); }
}

/* Ring + logo */
.ubh-logo-ring {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.ubh-ring-outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #21baf3;
    border-right-color: #21baf3;
    animation: ubhSpinOut 2s linear infinite;
}

@keyframes ubhSpinOut { to { transform: rotate(360deg); } }

.ubh-ring-mid {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-bottom-color: rgba(255,255,255,0.25);
    border-left-color: rgba(255,255,255,0.25);
    animation: ubhSpinIn 1.5s linear infinite;
}

@keyframes ubhSpinIn { to { transform: rotate(-360deg); } }

.ubh-logo-core {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #0056b3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    box-shadow: 0 0 20px rgba(33,186,243,0.25);
}

.ubh-logo-core img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

/* Teks */
.ubh-loader-title {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: ubhFadeUp .8s ease both;
}

.ubh-loader-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.ubh-loader-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    letter-spacing: 3px;
    text-transform: uppercase;
    animation-delay: .15s;
}

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

/* Progress */
.ubh-progress-wrap {
    z-index: 2;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ubh-progress-track {
    width: 100%;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.ubh-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #0056b3, #21baf3);
    border-radius: 10px;
    animation: ubhProgress 3s ease forwards, ubhProgressLoop 1.5s ease 3s infinite;
}

@keyframes ubhProgress {
    0%   { width: 0%; }
    30%  { width: 40%; }
    60%  { width: 70%; }
    85%  { width: 88%; }
    100% { width: 88%; } /* diubah dari 100% → 88% */
}

@keyframes ubhProgressLoop {
    0%   { width: 88%; opacity: 1; }
    50%  { width: 95%; opacity: 0.7; }
    100% { width: 88%; opacity: 1; }
}

/* Dot row */
.ubh-dot-row {
    display: flex;
    gap: 5px;
}

.ubh-d {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    animation: ubhDotLight 2s ease-in-out infinite;
}

.ubh-d:nth-child(1) { animation-delay: 0s; }
.ubh-d:nth-child(2) { animation-delay: .3s; }
.ubh-d:nth-child(3) { animation-delay: .6s; }
.ubh-d:nth-child(4) { animation-delay: .9s; }
.ubh-d:nth-child(5) { animation-delay: 1.2s; }

@keyframes ubhDotLight {
    0%, 100% { background: rgba(255,255,255,0.15); }
    50%       { background: #21baf3; }
}


/* ===========================
   BUTTONS
   =========================== */

.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #ffffff;
}

.btn-primary {
    background: #1a759f !important;
    border-color: #52b788 !important;
}

.btn-square  { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: #1a759f;
    border-color: #0bc4c4;
}

.btn-outline-body:hover {
    color: #ffffff;
    background: #1a759f;
    border-color: #1a759f;
}


/* ===========================
   NAVBAR
   =========================== */

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand h1 {
    margin: 0;
    line-height: 1;
}

/* Logo */
.header-brand-img {
    height: 78px;
    width: auto;
}

.navbar-logo {
    height: 10px;
    width: auto;
    object-fit: contain;
    image-rendering: auto;
}

/* Nav links */
.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 30px 0;
    color: #ffffff;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

/* Dropdown arrow */
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* Dropdown item state */
.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item:focus,
.navbar .dropdown-menu .dropdown-item.active {
    background-color: var(--primary) !important;
    color: #fff !important;
}

/* Dropdown animasi — desktop only */
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}


/* ===========================
   HEADER CAROUSEL
   =========================== */

.header-carousel,
.header-carousel .owl-stage-outer,
.header-carousel .owl-stage,
.header-carousel .owl-item,
.header-carousel .owl-item.active {
    height: calc(100vh - 130px) !important;
}

.header-carousel .owl-stage-outer {
    overflow: hidden !important;
}

.header-carousel .owl-stage {
    overflow: hidden !important;
}

.header-carousel .owl-carousel-item {
    position: relative !important;
    height: calc(100vh - 130px) !important;
    min-height: calc(100vh - 130px) !important;
    overflow: hidden !important;
}

.header-carousel .owl-carousel-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

.header-carousel .owl-carousel-inner {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(0,0,0,0.45);
    z-index: 2;
}

/* Dots */
.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

/* Tablet (991px) */
@media (max-width: 991px) {
    .header-carousel,
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item,
    .header-carousel .owl-item.active,
    .header-carousel .owl-carousel-item {
        height: 75vh !important;
        min-height: 520px !important;
    }
}


/* ===========================
   PAGE HEADER & BREADCRUMB
   =========================== */

.page-header {
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url(../img/carousel-3.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/* ===========================
   TEAM SECTION
   =========================== */

.team-section {
    background: transparent;
}

.team-heading {
    max-width: 600px;
    margin: 0 auto 2rem;
}

.team-heading-line {
    width: 55px;
    height: 2px;
    background: #185FA5;
    border-radius: 2px;
    margin: 5px auto 0;
}

/* --- Card --- */
.team-card {
    background: #ffffff;
    border: 1px solid #b5d4f4;
    border-radius: 18px;
    padding: 1.75rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.team-card:hover {
    border-color: #185FA5;
    transform: translateY(-4px);
}

/* --- Avatar Ring --- */
.team-avatar-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2.5px solid #185FA5;
    padding: 4px;
    margin-bottom: 16px;
    background: #ffffff;
    flex-shrink: 0;
}

/* --- Avatar Image --- */
.team-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* --- Avatar Fallback (inisial) --- */
.team-avatar-fallback {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e6f1fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: #185FA5;
}

/* --- Card Body --- */
.team-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.team-name {
    font-size: 19px;
    font-weight: 600;
    color: #042C53;
    margin: 0;
    line-height: 1.45;
}

.team-role {
    font-size: 12px;
    color: #378ADD;
    line-height: 1.4;
}

/* --- Badge --- */
.team-badge {
    display: inline-block;
    margin-top: 8px;
    background: #e6f1fb;
    border: 1px solid #85B7EB;
    border-radius: 20px;
    padding: 3px 14px;
    font-size: 11px;
    font-weight: 600;
    color: #0c447c;
    letter-spacing: 0.3px;
}

/* ===========================
   OVERRIDES BOOTSTRAP
   =========================== */

.bg-light {
    background: #f7f3ef !important;
}


/* ===========================
   ORGANISASI
   =========================== */

.org-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.org-accordion-item {
    border: none;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border-left: 4px solid var(--org-accent, #1a759f) !important;
}

.org-accordion-btn {
    background: #ffffff !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    font-size: 0.95rem;
    padding: 16px 20px;
    gap: 12px;
    box-shadow: none !important;
    border-left: none !important;
}

.org-accordion-btn:not(.collapsed) {
    background: #f8fbff !important;
    color: #0d1f3c !important;
}

.org-accordion-btn::after {
    margin-left: auto;
    flex-shrink: 0;
}

/* Badge label kategori */
.org-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background-clip: unset !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: unset !important;
}

/* Body accordion */
.org-accordion-body {
    padding: 0;
    background: #fafcff;
}

/* Tiap baris */
.org-row-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 20px;
    transition: background 0.2s ease;
}

.org-row-item:hover {
    background: rgba(26, 117, 159, 0.04);
}

.border-bottom-light {
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

/* Jabatan — kiri */
.org-jabatan {
    font-size: 0.85rem;
    color: #555;
    flex: 0 0 45%;
    max-width: 45%;
    line-height: 1.5;
}

/* Nama — kanan */
.org-nama {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    flex: 0 0 52%;
    max-width: 52%;
    text-align: right;
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 575.98px) {
    .org-row-item {
        flex-direction: column;
        gap: 4px;
        padding: 10px 16px;
    }

    .org-jabatan,
    .org-nama {
        flex: unset;
        max-width: 100%;
        text-align: left;
    }

    .org-jabatan {
        font-size: 0.78rem;
        color: #888;
    }

    .org-nama {
        font-size: 0.88rem;
    }

    .org-accordion-btn {
        font-size: 0.85rem;
        padding: 14px 14px;
    }
}


/* ===========================
   WISUDA CARDS
   =========================== */

.wisuda-card {
    transition: all 0.4s ease;
}

.wisuda-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* Card modern (statistik wisuda) */
.wisuda-modern-card {
    position: relative;
    min-height: 210px;
    border-radius: 22px;
    padding: 28px;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.10);
    transition: .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wisuda-modern-card:hover {
    transform: translateY(-6px);
}

.wisuda-modern-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/bung-hatta.jpg') center/cover no-repeat;
    opacity: .12;
}

.wisuda-modern-card::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    right: -40px;
    bottom: -40px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
}

.wisuda-modern-card h4,
.wisuda-modern-card span,
.icon-circle {
    position: relative;
    z-index: 2;
}

.wisuda-modern-card h4 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
    margin: 18px 0;
}

.wisuda-modern-card span {
    font-size: 15px;
    font-weight: 500;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}


/* ===========================
   GALERI
   =========================== */

.gallery-box {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.gallery-box img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    transition: 0.4s ease;
}

.gallery-box:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}


/* ===========================
   DATA MAHASISWA
   =========================== */

#dataMahasiswa {
    min-height: 500px;
    transition: opacity .2s ease;
}

.filter-btn {
    transition: all 0.5s ease;
}

.filter-btn:focus,
.filter-btn:active {
    box-shadow: none !important;
    outline: none !important;
}

.mahasiswa-card {
    transition: .25s ease;
}

.mahasiswa-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.08) !important;
}

/* Foto mahasiswa — desktop */
.foto-frame-mhs {
    width: 130px;
    height: 170px;
    border-radius: 14px;
    overflow: hidden;
    background: #f3f3f3;
    flex-shrink: 0;
}

.foto-wisuda {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.judul-box {
    background: #f8f9fa;
    border-left: 4px solid #0d6efd;
    border-radius: 0 6px 6px 0 !important;
}

/* Tombol expand judul (mobile only) */
.btn-judul-toggle {
    font-size: 0.78rem;
    color: #0d6efd;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    margin-bottom: 6px;
}

/* Judul collapsible — default collapsed di mobile, terbuka di desktop */
.judul-collapsible {
    display: none;
}

.judul-collapsible.open {
    display: block;
}


/* ===========================
   LOADER
   =========================== */

.loader-wrap {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader-box {
    text-align: center;
}

.loader-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
    margin: 0 auto 12px auto;
}

.loader-text {
    font-size: 14px;
    color: #0d6efd;
    font-weight: 600;
    margin-bottom: 10px;
}

.loader-line {
    width: 120px;
    height: 3px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    margin: auto;
}

.loader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -35%;
    width: 35%;
    height: 100%;
    background: #0d6efd;
    animation: loadbar 1s linear infinite;
}

@keyframes loadbar {
    to { left: 100%; }
}


/* ===========================
   WARNA UTILITY
   =========================== */

.bg-grey   { background: #8e8e8e; }
.bg-red    { background: #ff1f1f; }
.bg-yellow { background: #dfe600; }
.bg-light2 { background: #f2f2f2; }
.bg-gold   { background: #e6c500; }
.bg-blue   { background: #2b2cff; }
.bg-orange { background: #f0b000; }
.bg-cyan   { background: #21baf3; }


/* ===========================
   SAMBUTAN REKTOR
   =========================== */

.rektor-img {
    width: 100%;
    max-width: 320px;
    height: auto;
}

.judul-sambutan {
    font-size: 2rem;
}

.text-sambutan {
    font-size: 1rem;
    line-height: 1.7;
}


/* ===========================
   FOOTER
   =========================== */

.footer-desc {
    line-height: 1.8;
    max-width: 420px;
}

.footer a {
    transition: .2s ease;
}

.footer a:hover {
    color: #ffffff !important;
}

/* Footer */
.footer {
    color: rgba(255,255,255,0.78);
}

.footer p,
.footer .copyright,
.footer .footer-desc {
    color: rgba(255,255,255,0.78);
}

.footer .copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
}


/* ===========================
   RESPONSIVE — max-width: 768px
   =========================== */

@media (max-width: 768px) {
    .navbar-logo {
        height: 55px;
    }

    .navbar-brand h1 {
        font-size: 28px;
    }

    .rektor-img {
        max-width: 300px;
    }

    .judul-sambutan {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .text-sambutan {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

/* ===========================
   RESPONSIVE — max-width: 575.98px
   =========================== */

@media (max-width: 575.98px) {

    .foto-frame-mhs {
        width: 90px;
        height: 115px;
        border-radius: 10px;
    }

    .mahasiswa-card h5 {
        font-size: 1.2rem !important;
    }

    .judul-collapsible {
        display: none;
    }

    .judul-box {
        padding: 8px !important;
    }
}

@media (min-width: 576px) {

    .btn-judul-toggle {
        display: none !important;
    }

    .judul-collapsible {
        display: block !important;
    }
}

/* ===========================
   RESPONSIVE — max-width: 991.98px (Mobile Navbar + Carousel)
   =========================== */

@media (max-width: 991.98px) {

    /* Cegah horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    /* Back to top */
    .back-to-top {
        right: 16px !important;
        bottom: 16px !important;
    }

    /* ---------- NAVBAR ---------- */

    .navbar,
    .navbar.sticky-top {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        min-height: 64px !important;
        padding: 8px 14px !important;
        transition: none !important;
    }

    body {
        padding-top: 64px !important;
        overflow-x: hidden !important;
    }

    .navbar .navbar-brand {
        max-width: calc(100% - 52px) !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .header-brand-img {
        height: 42px !important;
        width: auto !important;
        max-width: 100% !important;
        display: block;
    }

    .navbar-toggler {
        padding: 4px 8px !important;
        margin: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    .navbar-collapse {
        margin-top: 10px !important;
        background: #0056b3 !important;
        border-radius: 10px !important;
        padding: 10px 0 !important;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
    }

    .navbar .navbar-nav .nav-link {
        margin: 0 !important;
        padding: 10px 16px !important;
    }

    .navbar .dropdown-menu {
        background: #0056b3 !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 8px !important;
        overflow: hidden;
    }

    .navbar .dropdown-item {
        color: rgba(255,255,255,0.88) !important;
        padding: 10px 18px !important;
        font-size: 15px;
        background: transparent !important;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .navbar .dropdown-item:last-child {
        border-bottom: none;
    }

    .navbar .dropdown-item:hover,
    .navbar .dropdown-item:focus,
    .navbar .dropdown-item.active {
        background: rgba(255,255,255,0.10) !important;
        color: #ffffff !important;
    }

    /* ---------- CAROUSEL ---------- */

    .header-carousel,
    .header-carousel .owl-stage-outer,
    .header-carousel .owl-stage,
    .header-carousel .owl-item,
    .header-carousel .owl-item.active,
    .header-carousel .owl-carousel-item {
        height: 240px !important;
        min-height: 240px !important;
    }

    .header-carousel .owl-carousel-item img {
        width: 100% !important;
        height: 240px !important;
        object-fit: cover !important;
        object-position: center center !important;
        transform: none !important;
    }

    .header-carousel .owl-carousel-inner {
        padding: 18px !important;
        align-items: center !important;
        text-align: left !important;
        background: rgba(0,0,0,.42) !important;
    }

    .header-carousel h1,
    .header-carousel .display-1,
    .header-carousel .display-2,
    .header-carousel .display-3,
    .header-carousel .display-4,
    .header-carousel .display-5 {
        font-size: 1.3rem !important;
        line-height: 1.25 !important;
        margin-bottom: 10px !important;
    }

    .header-carousel p,
    .header-carousel .fs-5,
    .header-carousel .lead {
        font-size: 0.82rem !important;
        line-height: 1.45 !important;
        margin-bottom: 10px !important;
    }

    .header-carousel .btn {
        font-size: .82rem !important;
        padding: 7px 14px !important;
    }

    .header-carousel .owl-dots {
        display: none !important;
    }
}

/* ===========================
   IKRAR WISUDAWAN
   =========================== */

.ikrar-box {
    background: #eaf4ff;
    position: relative;
    overflow: hidden;
}

/* Quote mark dekoratif pojok kiri atas */
.ikrar-quote-mark {
    position: absolute;
    top: -10px;
    left: 18px;
    font-size: 8rem;
    line-height: 1;
    color: rgba(26, 117, 159, 0.12);
    font-family: Georgia, serif;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
}

/* List — hapus style bawaan ol */
.ikrar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Tiap item */
.ikrar-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(26, 117, 159, 0.15);
    text-align: justify;
}

.ikrar-list li.last {
    border-bottom: none;
    padding-bottom: 0;
}

/* Lingkaran nomor */
.ikrar-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a759f;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

/* Teks ikrar */
.ikrar-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #333;
}

@media (min-width: 768px) {
    .ikrar-text {
        font-size: 1.1rem;
    }

    .ikrar-number {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }
}

@media (min-width: 992px) and (max-width: 1138px) {
    .header-carousel .owl-stage-outer {
        overflow: hidden !important;
    }
    
    html, body {
        overflow-x: hidden !important;
    }
}