:root {
    --primary: #6F1025;
    --primary-dark: #4A0917;
    --primary-light: #8E1B38;
    --accent: #D4A017;
    --accent-light: #F2C94C;
    --dark: #172033;
    --dark-secondary: #263247;
    --gray-900: #1E293B;
    --gray-700: #475569;
    --gray-500: #64748B;
    --gray-300: #CBD5E1;
    --gray-100: #F1F5F9;
    --background: #F8FAFC;
    --white: #FFFFFF;
    --success: #16A34A;
    --warning: #D97706;
    --danger: #DC2626;
    --info: #0284C7;
    --radius: 0;
    --shadow: 0 4px 24px rgba(23, 32, 51, 0.08);
    --shadow-lg: 0 12px 40px rgba(23, 32, 51, 0.12);
    --transition: 0.3s ease;
}

* { box-sizing: border-box; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--gray-900);
    background: var(--background);
    line-height: 1.7;
    overflow-x: hidden;
}
h1,h2,h3,h4,h5,h6 { font-weight: 700; color: var(--dark); }

/* Top Bar */
.top-bar {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: rgba(255,255,255,0.9); text-decoration: none; }
.top-bar a:hover { color: var(--accent-light); }

/* Site Header & Navbar */
.site-header {
    background: var(--white);
    border-top: 4px solid var(--primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    z-index: 1030;
}
.navbar-main {
    background: var(--white);
    padding: 0;
}
.navbar-brand {
    padding: 14px 0;
}
.brand-logo-fallback {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.navbar-brand .brand-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}
.navbar-brand .brand-sub {
    font-size: 0.72rem;
    color: var(--gray-500);
}
.navbar-main .navbar-nav {
    gap: 0;
}
.navbar-main .nav-link {
    font-weight: 500;
    color: var(--gray-500) !important;
    padding: 20px 14px !important;
    border-radius: 0;
    border-bottom: 3px solid transparent;
    background: transparent !important;
    transition: color 0.2s, border-color 0.2s;
    font-size: 0.92rem;
}
.navbar-main .nav-link:hover {
    color: var(--primary) !important;
}
.navbar-main .nav-link.active,
.navbar-main .nav-item.show > .nav-link {
    color: var(--primary) !important;
    font-weight: 700;
    border-bottom-color: var(--primary);
    background: transparent !important;
}
.navbar-main .dropdown-toggle::after {
    margin-left: 5px;
    vertical-align: 0.12em;
    font-size: 0.7rem;
}
.navbar-main .dropdown-menu-nav {
    border: none;
    border-top: 3px solid var(--primary);
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(0,0,0,0.1);
    padding: 0;
    margin-top: 0;
    min-width: 260px;
    overflow: hidden;
}
.navbar-main .dropdown-menu-nav .dropdown-item {
    color: var(--primary);
    padding: 13px 22px;
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid #e9e9e9;
    border-radius: 0;
    transition: background 0.15s, color 0.15s;
}
.navbar-main .dropdown-menu-nav .dropdown-item:last-child {
    border-bottom: none;
}
.navbar-main .dropdown-menu-nav .dropdown-item:hover,
.navbar-main .dropdown-menu-nav .dropdown-item:focus,
.navbar-main .dropdown-menu-nav .dropdown-item.active {
    background: var(--primary);
    color: var(--white) !important;
}
.btn-nav-daftar {
    display: inline-block;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    background: var(--white);
    border-radius: 0;
    padding: 8px 26px !important;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    line-height: 1.4;
    transition: background 0.2s, color 0.2s;
}
.btn-nav-daftar:hover {
    background: var(--primary);
    color: var(--white) !important;
}
.navbar-main .navbar-toggler {
    border-color: var(--gray-300);
    padding: 6px 10px;
}
.navbar-main .navbar-toggler:focus {
    box-shadow: 0 0 0 2px rgba(111,16,37,0.15);
}
@media (max-width: 991px) {
    .navbar-main .nav-link {
        border-bottom: none;
        border-left: 3px solid transparent;
        padding: 12px 16px !important;
    }
    .navbar-main .nav-link.active,
    .navbar-main .nav-item.show > .nav-link,
    .navbar-main .nav-link:hover {
        border-left-color: var(--primary);
        border-bottom-color: transparent;
    }
    .navbar-main .dropdown-menu-nav {
        border-top: none;
        box-shadow: none;
        padding-left: 8px;
        margin-bottom: 8px;
    }
    .btn-nav-daftar {
        width: 100%;
        text-align: center;
        margin: 8px 16px 12px;
    }
}

/* Buttons */
.btn,
.btn-sm,
.btn-lg,
.form-control,
.form-select,
.input-group-text {
    border-radius: 0;
}
.btn-primary-custom {
    background: var(--primary);
    border: none;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 0;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}
.btn-outline-custom {
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 10px 26px;
    border-radius: 0;
    font-weight: 600;
    background: transparent;
    transition: var(--transition);
}
.btn-outline-custom:hover {
    background: var(--primary);
    color: var(--white);
}
.btn-accent {
    background: var(--accent);
    color: var(--dark);
    border: none;
    padding: 12px 28px;
    border-radius: 0;
    font-weight: 600;
}

/* Section */
.section { padding: 80px 0; }
.section-title {
    text-align: center;
    margin-bottom: 48px;
}
.section-title .subtitle {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}
.section-title h2 {
    font-size: 2rem;
    margin-top: 8px;
}
.section-title p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 12px auto 0;
}

/* Hero Slider */
.hero-slider { position: relative; }
.min-vh-hero { min-height: 520px; padding: 80px 0 60px; }
.hero-slide-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    background-color: var(--primary-dark);
}
.hero-slide-bg-default {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
}
.hero-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(74,9,23,0.92) 0%, rgba(111,16,37,0.75) 50%, rgba(111,16,37,0.4) 100%);
}
.hero-slide-content {
    position: relative; z-index: 2; color: var(--white);
}
.hero-slide-content h1 {
    font-size: 2.8rem; color: var(--white); line-height: 1.2;
}
.hero-slide-content .lead { color: rgba(255,255,255,0.88); font-size: 1.05rem; }
.hero-slider .carousel-indicators [data-bs-target] {
    width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff;
}
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 5%; }

/* Hero legacy */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212,160,23,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.hero h1 {
    font-size: 2.8rem;
    color: var(--white);
    line-height: 1.2;
}
.hero .lead { color: rgba(255,255,255,0.85); font-size: 1.1rem; }

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 48px 0 40px;
}
.page-banner .breadcrumb { margin-bottom: 12px; }
.page-banner .breadcrumb-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.page-banner .breadcrumb-item.active { color: var(--accent-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.page-banner-title { color: var(--white); font-size: 2rem; margin-bottom: 0; }
.page-banner-subtitle { color: rgba(255,255,255,0.8) !important; margin-top: 8px; }

/* Cards */
.card-custom {
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}
.card-custom:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.card-custom .card-img-top {
    height: 200px;
    object-fit: cover;
}
.badge-category {
    background: rgba(111,16,37,0.1);
    color: var(--primary);
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 0;
    font-size: 0.75rem;
}

/* Stat Cards */
.stat-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.stat-card .stat-icon {
    width: 56px;
    height: 56px;
    background: rgba(111,16,37,0.08);
    color: var(--primary);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.4rem;
}
.stat-card .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
}
.stat-card .stat-label { color: var(--gray-500); font-weight: 500; }

/* Feature Card */
.feature-card {
    padding: 32px 24px;
    text-align: center;
}
.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
}

/* CTA */
.cta-section {
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-secondary) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}
.cta-section h2 { color: var(--white); }

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer h5 { color: var(--white); margin-bottom: 20px; }
.footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer a:hover { color: var(--accent-light); }
.footer-social-btn { border-radius: 0 !important; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.85rem;
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--white);
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-100);
}
.breadcrumb-item a { color: var(--primary); text-decoration: none; }

/* Partners */
.partner-logo {
    height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--transition);
}
.partner-logo:hover { filter: none; opacity: 1; }

/* Gallery */
.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-up {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
/* Download accordion */
.download-accordion { max-width: 900px; margin: 0 auto; }
.download-acc-item { border: 1px solid var(--gray-300); margin-bottom: -1px; background: var(--white); }
.download-acc-header {
    width: 100%; display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border: none; background: var(--white);
    text-align: left; font-weight: 600; color: var(--info);
    cursor: pointer; transition: background 0.2s;
}
.download-acc-header:hover { background: var(--gray-100); }
.download-acc-icon { font-size: 1.2rem; width: 24px; color: var(--gray-700); font-weight: 400; }
.download-acc-title { flex: 1; }
.download-acc-body { padding: 16px 18px 20px 54px; border-top: 1px solid var(--gray-100); }
.download-file-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; padding: 10px 0; flex-wrap: wrap;
}
.btn-download-file {
    background: var(--gray-100); border: 1px solid var(--gray-300);
    padding: 8px 20px; border-radius: 0; color: var(--dark);
    text-decoration: none; font-size: 0.9rem; white-space: nowrap;
    transition: var(--transition);
}
.btn-download-file:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Video profil */
.video-profile-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-profile-wrap iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; }

/* Learning topics */
.learning-chip {
    display: flex; align-items: center; gap: 14px;
    padding: 20px; background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); height: 100%;
}
.learning-chip i { font-size: 1.8rem; color: var(--primary); width: 40px; text-align: center; }

/* Facilities */
.facility-card img { width: 100%; height: 200px; object-fit: cover; }
.facility-card .card-body { padding: 16px; }
.facility-card-main img { height: 240px; }
.facility-carousel { box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
.facility-slide { position: relative; }
.facility-slide img { width: 100%; height: 360px; object-fit: cover; display: block; }
.facility-slide-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: var(--white); padding: 40px 24px 20px;
}
.facility-slide-caption h6 { color: var(--white); margin-bottom: 4px; }
.facility-carousel .carousel-indicators [data-bs-target] { background-color: var(--primary); }

/* Hero video */
.hero-video {
    position: relative;
    overflow: hidden;
    background: var(--primary-dark);
}
.hero-video-stage {
    position: relative;
    height: 85vh;
    min-height: 560px;
    max-height: 820px;
    overflow: hidden;
}
.hero-video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
    border: 0;
    pointer-events: none;
}
.hero-video .hero-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.hero-video .hero-slide-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
}
.hero-video .min-vh-hero {
    min-height: auto;
    padding: 0;
    width: 100%;
}

/* Curriculum */
.curriculum-section { padding-top: 40px; }
.curriculum-semester { margin-bottom: 48px; }
.curriculum-semester-title {
    text-align: center;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 24px;
    font-size: 1.4rem;
}
.curriculum-list {
    border: 1px solid #d9d9d9;
    background: var(--white);
}
.curriculum-head,
.curriculum-row-main {
    display: grid;
    grid-template-columns: 42px 110px 1fr 90px 90px 90px 100px;
    align-items: center;
    gap: 0;
}
.curriculum-head {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 10px;
    border-bottom: 1px solid var(--primary-dark);
}
.curriculum-head > span { padding: 0 8px; }
.curriculum-entry {
    border-bottom: 1px solid #d9d9d9;
    background: var(--white);
}
.curriculum-entry:last-child { border-bottom: none; }
.curriculum-row-main {
    padding: 11px 10px;
    font-size: 0.92rem;
    color: var(--gray-900);
    min-height: 48px;
}
.curriculum-row-main > span { padding: 0 8px; }
.curriculum-row-main .ch-code { font-weight: 600; }
.curriculum-row-main .ch-name { font-weight: 500; }
.curriculum-row-main.is-expandable:hover { background: #fafafa; }
.curriculum-toggle {
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--gray-700);
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.curriculum-desc-collapse { background: var(--white); }
.curriculum-desc-box {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 12px 20px;
    margin: 0 12px 14px 54px;
    padding: 14px 16px;
    background: #f5f5f5;
    border: 1px solid #d9d9d9;
    align-items: start;
}
.curriculum-desc-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
}
.curriculum-desc-text {
    color: var(--gray-700);
    font-size: 0.88rem;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-word;
}

/* Long text — rata kiri kanan */
.content-body,
.content-body p,
.content-body li,
.content-body blockquote,
.text-justify-block,
.profile-accordion-body,
.profile-accordion-body p,
.profile-accordion-body li {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}
.content-body img { max-width: 100%; height: auto; }
.content-body h1,
.content-body h2,
.content-body h3,
.content-body h4,
.content-body h5,
.content-body h6 {
    text-align: left;
}

/* Profile photos (circular crop) */
.profile-photo-wrap {
    --profile-size: 120px;
    width: var(--profile-size);
    max-width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    line-height: 0;
    isolation: isolate;
}
.profile-photo-wrap--lg {
    --profile-size: min(220px, 70vw);
}
.profile-photo-wrap--md {
    --profile-size: 140px;
}
.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    border-radius: 50%;
    transform: none;
}

/* Lecturer profile */
.lecturer-profile-section { padding-top: 40px; }
.lecturer-photo-card {
    background: var(--white);
    border: 1px solid #d9d9d9;
    overflow: hidden;
}
.lecturer-photo-wrap {
    position: relative;
    background: linear-gradient(160deg, #e8f4fc 0%, #d4e8f7 45%, #f0f7fb 100%);
    padding: 28px 28px 0;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.lecturer-photo-wrap::before {
    content: '';
    position: absolute;
    top: 18px;
    right: 22px;
    width: 72px;
    height: 72px;
    background-image: radial-gradient(var(--primary) 18%, transparent 19%);
    background-size: 12px 12px;
    opacity: 0.12;
}
.lecturer-photo-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 48px;
    background: repeating-linear-gradient(
        -8deg,
        transparent,
        transparent 8px,
        rgba(111, 16, 37, 0.06) 8px,
        rgba(111, 16, 37, 0.06) 10px
    );
}
.lecturer-photo-img {
    position: relative;
    z-index: 1;
    max-height: 340px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
    display: block;
    transform: none;
}
.lecturer-photo-logo {
    padding: 12px 20px;
    background: var(--white);
    border-top: 1px solid #e9e9e9;
}
.lecturer-photo-logo img {
    max-height: 42px;
    width: auto;
}
.lecturer-photo-meta {
    padding: 18px 20px 22px;
    font-size: 0.9rem;
    color: var(--gray-700);
}
.lecturer-profile-name {
    color: var(--primary);
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 24px;
}
.profile-accordion {
    border: 1px solid #d9d9d9;
    background: var(--white);
}
.profile-accordion-item {
    border-bottom: 1px solid #d9d9d9;
}
.profile-accordion-item:last-child {
    border-bottom: none;
}
.profile-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: none;
    background: var(--white);
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}
.profile-accordion-header:hover,
.profile-accordion-header:not(.collapsed) {
    background: #f3f8fc;
}
.profile-accordion-icon {
    width: 22px;
    flex-shrink: 0;
    font-size: 1.35rem;
    line-height: 1;
    color: var(--gray-700);
    font-weight: 400;
    text-align: center;
}
.profile-accordion-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1rem;
}
.profile-accordion-body {
    padding: 0 18px 18px 54px;
    color: var(--gray-700);
    font-size: 0.92rem;
    line-height: 1.75;
}
.profile-accordion-body ul {
    padding-left: 1.1rem;
    margin-bottom: 0;
}

/* Showcase blocks (Capaian Alumni, Project Mahasiswa) */
.showcase-block-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.showcase-block-link:hover {
    text-decoration: none;
    color: inherit;
}
.showcase-block {
    border: 2px solid var(--primary);
    border-radius: 0;
    overflow: hidden;
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.showcase-block-link:hover .showcase-block {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.showcase-block-media {
    position: relative;
    height: 220px;
    overflow: hidden;
}
.showcase-block-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.showcase-block-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
.showcase-block-heading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 16px;
    color: var(--white);
    font-size: 1.65rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.25;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.showcase-block-body {
    padding: 22px 20px;
    text-align: center;
    min-height: 130px;
}
.showcase-block-body p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.65;
}
.showcase-block-body-dark {
    background: var(--primary);
    color: var(--white);
}
.showcase-block-body-dark strong {
    color: var(--white);
    font-weight: 700;
}
.showcase-block-body-light {
    background: var(--white);
    color: var(--gray-900);
}
.showcase-block-body-light strong {
    color: var(--dark);
}

.showcase-block-media--screenshot {
    height: 220px;
    background: #eef2f7;
}
.showcase-block-media--screenshot img {
    object-fit: contain;
    padding: 10px;
}

/* Project Mahasiswa screenshot gallery (konsep mirip berita) */
.project-screenshot-carousel,
.project-screenshot-single {
    overflow: hidden;
    border: 1px solid #d9d9d9;
    background: #f4f6f9;
}
.project-screenshot-media {
    padding: 18px 18px 0;
    background: linear-gradient(180deg, #eef2f7 0%, #f8fafc 100%);
    text-align: center;
}
.project-screenshot-img {
    width: 100%;
    max-height: min(65vh, 560px);
    object-fit: contain;
    display: block;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}
.project-screenshot-caption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(90deg, var(--primary) 0%, #9a1834 100%);
    color: #fff;
    text-align: center;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.02em;
    min-height: 52px;
    border-top: 3px solid var(--accent);
}
.project-screenshot-caption i {
    font-size: 1rem;
    opacity: 0.95;
    flex-shrink: 0;
}
.project-screenshot-caption span {
    line-height: 1.4;
}
.project-screenshot-carousel .carousel-indicators {
    margin-bottom: 12px;
}
.project-screenshot-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.45;
}
.project-screenshot-carousel .carousel-indicators .active {
    opacity: 1;
}
.project-screenshot-carousel .carousel-control-prev,
.project-screenshot-carousel .carousel-control-next {
    width: 8%;
}

.alumni-showcase-carousel { padding-bottom: 36px; }
.alumni-showcase-carousel .carousel-inner { overflow: hidden; }
.alumni-showcase-carousel .carousel-item .showcase-blocks { min-height: 360px; }
.alumni-showcase-carousel .carousel-indicators {
    margin-bottom: 0;
    bottom: -28px;
}
.alumni-showcase-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.45;
}
.alumni-showcase-carousel .carousel-indicators .active {
    opacity: 1;
}
.alumni-showcase-carousel .carousel-control-prev,
.alumni-showcase-carousel .carousel-control-next {
    width: 6%;
    opacity: 0.85;
}
.alumni-showcase-carousel .carousel-control-prev-icon,
.alumni-showcase-carousel .carousel-control-next-icon {
    filter: invert(18%) sepia(42%) saturate(2145%) hue-rotate(318deg) brightness(88%) contrast(95%);
}

/* News gallery carousel */
.news-gallery-carousel {
    overflow: hidden;
    border: 1px solid #d9d9d9;
}
.news-gallery-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}
.news-gallery-carousel .carousel-indicators {
    margin-bottom: 12px;
}
.news-gallery-carousel .carousel-indicators [data-bs-target] {
    background-color: var(--primary);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    opacity: 0.45;
}
.news-gallery-carousel .carousel-indicators .active {
    opacity: 1;
}
.news-gallery-carousel .carousel-control-prev,
.news-gallery-carousel .carousel-control-next {
    width: 8%;
}

/* WhatsApp floating button (beranda) */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1040;
    width: 58px;
    height: 58px;
    border-radius: 0;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55);
}

/* Kotak & tombol sudut 90 derajat */
.rounded:not(.rounded-circle) {
    border-radius: 0 !important;
}
.card-custom,
.stat-card,
.feature-card,
.learning-chip,
.showcase-block,
.gallery-item,
.video-profile-wrap,
.facility-carousel,
.download-acc-item,
.pagination .page-link {
    border-radius: 0 !important;
}
.badge {
    border-radius: 0;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .hero-slide-content h1 { font-size: 1.75rem; }
    .min-vh-hero { min-height: 420px; padding: 60px 0 40px; }
    .hero-video-stage { height: 70vh; min-height: 440px; }
    .section { padding: 50px 0; }
    .section-title h2 { font-size: 1.5rem; }
    .curriculum-list { overflow-x: auto; }
    .curriculum-head,
    .curriculum-row-main { min-width: 720px; }
    .curriculum-desc-box {
        grid-template-columns: 1fr;
        margin-left: 12px;
        gap: 6px;
    }
    .facility-slide img { height: 240px; }
    .showcase-block-media { height: 200px; }
    .showcase-block-heading { font-size: 1.35rem; }
    .lecturer-photo-wrap { min-height: 300px; padding: 20px 20px 0; }
    .lecturer-profile-name { font-size: 1.4rem; }
    .profile-accordion-body { padding-left: 18px; }
    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 52px;
        height: 52px;
        font-size: 1.75rem;
    }
}
