body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
}

/* Styling Logo */
.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

/* Custom Toggle Switch */
.custom-switch {
    width: 2.5em !important;
    height: 1.25em !important;
    background-color: #adb5bd !important;
    border-color: #adb5bd !important;
    cursor: pointer;
}

.custom-switch:checked {
    background-color: #343a40 !important;
    border-color: #343a40 !important;
}

/* Link Navigasi */
.navbar-nav .nav-link {
    font-weight: 700;
    color: #8e8e8e;
    /* Warna abu-abu untuk link tidak aktif */
    padding: 0.5rem 1.5rem !important;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #212529;
}

/* Styling Link Aktif (Work) */
.navbar-nav .nav-link.active {
    color: #212529 !important;
}

/* Garis di atas link aktif */
.navbar-nav .nav-link.active::before {
    content: "";
    position: absolute;
    top: -15px;
    /* Mengatur jarak garis ke atas */
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background-color: #212529;
    border-radius: 2px;
}

/* Hilangkan border biru saat diklik */
.navbar-toggler:focus,
.form-check-input:focus {
    box-shadow: none;
}

/* 
 * Hero Section
 */

.hero-section {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.name-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #cccccc;
    /* Abu-abu muda */
    margin-bottom: -10px;
    letter-spacing: -2px;
}

.job-title {
    font-size: 5.5rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 100px;
    letter-spacing: -3px;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.info-content {
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.info-content a {
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #000000;
    transition: opacity 0.2s;
}

.info-content a:hover {
    opacity: 0.6;
}

/* Responsif untuk Mobile */
@media (max-width: 768px) {
    .name-title {
        font-size: 2.5rem;
    }

    .job-title {
        font-size: 3rem;
        margin-bottom: 50px;
    }

    .hero-section {
        padding-top: 60px;
    }

    .mb-mobile {
        margin-bottom: 30px;
    }
}

/* 
 * Section Title
 */

.section-title {
    font-size: 4.5rem;
    font-weight: 800;
    color: #cccccc;
    /* Abu-abu muda sesuai gambar */
    letter-spacing: -2px;
    margin-top: 100px;
    margin-bottom: 50px;
}

/* Penyesuaian responsif */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.8rem;
        margin-top: 60px;
    }
}

/* Project Styles */
.portfolio-item {
    margin-bottom: 80px;
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background-color: #f8f9fa;
    cursor: none !important;

}

.main-img {
    display: block;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.image-container:hover .main-img {
    transform: scale(1.05);
}

/* Custom Hover Badge (Floating Cursor) */
#custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    padding: 8px 20px;
    background-color: #4A6CF7;
    /* Warna biru */
    color: white;
    border-radius: 50px;
    /* Membuat bentuk lonjong/capsule */
    display: flex;
    justify-content: center;
    align-items: center;

    /* Font Monospaced sesuai gambar */
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9rem;
    font-weight: bold;
    white-space: nowrap;

    pointer-events: none;
    /* WAJIB: agar tidak menghalangi klik pada gambar */
    z-index: 9999;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Tag Styles */
.badge {
    letter-spacing: 1px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.65rem;
    color: #6c757d !important;
    border-color: #dee2e6 !important;
    text-transform: uppercase;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
}

/* Styling Badge Footer */
.footer-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #dee2e6;
    /* Warna border halus */
    border-radius: 4px;
    /* Sedikit melengkung di sudut */
    color: #212529;
    /* Warna teks gelap */
    text-decoration: none;
    /* Hapus garis bawah */
    font-size: 0.85rem;
    /* Ukuran teks agak kecil agar elegan */
    font-weight: 500;
    transition: all 0.3s ease;
    /* Animasi saat hover */
    text-transform: uppercase;
    /* Membuat teks jadi kapital semua */
}

/* Efek Hover */
.footer-badge:hover {
    background-color: #212529;
    color: #ffffff;
    border-color: #212529;
}

/* Memastikan list tidak ada padding bawaan */
footer ul {
    margin-bottom: 0;
}

.overlay-hover,
.overlay-lock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Background gelap transparan */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .overlay-hover,
.portfolio-item:hover .overlay-lock {
    opacity: 1;
}

.section-label {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #888;
    font-size: 0.85rem;
    font-weight: 600;
}

.main-title {
    font-weight: 700;
    margin-bottom: 2rem;
}

.card {
    border: none;
    background: transparent;
}

.card-img-container {
    border-radius: 12px;
    overflow: hidden;
    /* Update: Mengatur rasio horizontal (misalnya 16:9) */
    aspect-ratio: 16 / 9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Opsional: bayangan halus */
}

.card-img-top {
    width: 100%;
    height: 100%;
    /* Perubahan Utama: Memastikan gambar penuh dan terpotong rapi */
    object-fit: cover;
    display: block;
}

.card-body {
    padding: 1rem 0;
}

.role-title {
    font-weight: 700;
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.organization {
    color: #6c757d;
    font-size: 0.95rem;
}

.custom-heading {
    font-size: 50px !important;
}

/* Ukuran untuk Desktop (Layar di atas 992px) */
@media (min-width: 992px) {
    .custom-heading {
        font-size: 80px !important;
    }
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* Rasio 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Styling Header Besar ala Contoh */
.greeting-text {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ccc;
    /* Warna abu-abu muda */
    margin-bottom: -10px;
    line-height: 1;
}

.name-text {
    font-size: 4.5rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.1;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    max-width: 550px;
}

/* Kontainer Gambar */
.img-container {
    width: 100%;
    height: 550px;
    /* Sesuaikan tinggi agar proporsional */
    overflow: hidden;
    border-radius: 12px;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Agar gambar tidak gepeng */
    object-position: center;
}

/* Responsif untuk Mobile */
@media (max-width: 991px) {
    .name-text {
        font-size: 3rem;
    }

    .greeting-text {
        font-size: 2.5rem;
    }

    .img-container {
        height: 400px;
        margin-top: 30px;
    }
}