  :root {
            --primary-color: #00f5c4; /* Teal Accent */
            --primary-gradient-start: #00f5c4;
            --primary-gradient-end: #00c2a8;
            --bg-dark: #0a0a14;
            --bg-secondary: #1a1a2e;
            --bg-overlay: rgba(10, 10, 20, 0.85);
            --text-light: #f9fafb;
            --text-muted: #adb5bd;
            --border-color: rgba(255 255 255 / 0.12);
            --shadow-color: rgba(0, 245, 196, 0.3);
            --font-family: 'Inter', sans-serif;
            --header-height: 64px;
            --sidebar-width: 280px;
            --transition-speed: 0.3s;
            --scrollbar-bg: rgba(255 255 255 / 0.1);
            --scrollbar-thumb: var(--primary-color);
        }

        /* Global reset and base styles */
        *, *::before, *::after {
            box-sizing: border-box;
        }
        body {
            margin: 0;
            font-family: var(--font-family);
            background-color: var(--bg-dark);
            color: var(--text-muted);
            line-height: 1.6;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-y: scroll;
            scroll-behavior: smooth;
        }
        a {
            color: var(--primary-color);
            text-decoration: none;
            transition: color var(--transition-speed) ease;
        }
        a:hover, a:focus {
            color: #00efc9;
            outline: none;
        }
        h1, h2, h3, h4, h5, h6 {
            margin: 0 0 1rem 0;
            color: var(--text-light);
            font-weight: 700;
            line-height: 1.2;
            font-family: var(--font-family);
        }

        .material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Ukuran default ikon */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'liga';
}

        /* Responsive typographic scaling using clamp */
        h1 {
            font-size: clamp(2.5rem, 5vw, 3.5rem);
        }
        h2 {
            font-size: clamp(1.8rem, 3vw, 2.5rem);
        }
        h3 {
            font-size: clamp(1.5rem, 2.5vw, 2rem);
        }

        p {
            margin: 0 0 1.25rem;
            color: var(--text-muted);
            font-weight: 400;
        }

        /* Scrollbar styling */
        ::-webkit-scrollbar {
            width: 12px;
            height: 12px;
        }
        ::-webkit-scrollbar-track {
            background: var(--scrollbar-bg);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--scrollbar-thumb);
            border-radius: 10px;
            border: 3px solid var(--scrollbar-bg);
        }

        /* Header - sticky 64px with glassmorphism */
        header {
            position: sticky;
            top: 0;
            height: var(--header-height);
            background: rgba(20, 20, 40, 0.6);
            backdrop-filter: saturate(180%) blur(12px);
            border-bottom: 1px solid var(--border-color);
            z-index: 2000;
            display: flex;
            align-items: center;
            padding: 0 24px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
            user-select: none;
        }
        .header-brand {
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--primary-gradient-start);
            background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            user-select: text;
            cursor: default;
            flex-shrink: 0;
        }
        /* Hamburger menu icon for mobile sidebar toggle */
        .hamburger {
            font-family: 'Material Icons';
            font-size: 28px;
            color: var(--primary-color);
            cursor: pointer;
            margin-left: auto;
            display: none;
            border: none;
            background: none;
            outline-offset: 3px;
        }
        .hamburger:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 3px;
        }

        /* Sidebar - collapsible on desktop & slide-out on mobile */
        #sidebar {
            position: fixed;
            top: var(--header-height);
            left: 0;
            width: var(--sidebar-width);
            height: calc(100vh - var(--header-height));
            background: var(--bg-secondary);
            border-right: 1px solid var(--border-color);
            display: flex;
            flex-direction: column;
            padding-top: 1rem;
            transition: transform var(--transition-speed) ease;
            box-shadow: inset 1px 0 0 var(--border-color);
            z-index: 1500;
        }
        #sidebar.collapsed {
            transform: translateX(calc(-1 * var(--sidebar-width)));
        }
        /* Sidebar navigation links */
        #sidebar nav {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            padding: 0 1rem;
            gap: 1rem;
        }
        #sidebar nav a {
            display: flex;
            align-items: center;
            gap: 16px;
            padding: 12px 16px;
            color: var(--text-muted);
            font-weight: 600;
            border-radius: 12px;
            transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease;
            cursor: pointer;
        }
        #sidebar nav a:hover, #sidebar nav a.active {
            background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
            color: var(--bg-dark);
            box-shadow: 0 8px 16px var(--shadow-color);
            outline: none;
        }
        /* Material Icons inside nav */
        #sidebar nav a .material-icons {
            font-size: 24px;
            color: inherit;
        }

        /* Main content area */
        main {
            margin-top: var(--header-height);
            margin-left: var(--sidebar-width);
            min-height: calc(100vh - var(--header-height));
            padding: 2rem 3rem 4rem;
            transition: margin-left var(--transition-speed) ease;
            overflow-x: hidden;
            background: linear-gradient(135deg, #0a0a14 0%, #14142a 100%);
        }
        main.sidebar-collapsed {
            margin-left: 0;
        }

        /* Container */
        .container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Section styles with spacing */
        section {
            padding-bottom: 4rem;
        }
        .section-title {
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 2rem;
            border-left: 6px solid var(--primary-color);
            padding-left: 12px;
            font-size: clamp(1.75rem, 3vw, 2.4rem);
            user-select: none;
        }

        /* Hero Section */
        .hero-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 3rem;
            min-height: 80vh;
            padding-top: 3rem;
            user-select: text;
        }
        .hero-text {
            flex-grow: 1;
        }
        .hero-text h1 {
            font-weight: 900;
            font-size: clamp(2.75rem, 5vw, 4.2rem);
            margin-bottom: 0.5rem;
            color: var(--text-light);
            letter-spacing: -0.05em;
        }
        .hero-text h1 .accent-text {
            background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .hero-text p.lead {
            font-weight: 500;
            font-size: clamp(1.25rem, 2vw, 1.4rem);
            margin-bottom: 2rem;
            color: var(--text-muted);
        }
        #typed-text {
            text-transform: uppercase;
            color: var(--primary-color);
            font-weight: 700;
            letter-spacing: 0.12em;
            user-select: none;
        }
        .btn-brand {
            background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
            color: var(--bg-dark);
            border-radius: 50px;
            margin-top: 300px;
            padding: 14px 36px;
            font-weight: 700;
            font-size: 1.1rem;
            box-shadow: 0 8px 16px var(--shadow-color);
            border: none;
            cursor: pointer;
            transition: background 0.4s ease, color 0.4s ease, transform 0.2s ease;
        }
        .btn-brand:hover,
        .btn-brand:focus {
            background: transparent;
            color: var(--primary-gradient-start);
            box-shadow: 0 8px 24px var(--primary-gradient-start);
            transform: translateY(-2px);
            outline: none;
        }
        .btn-brand:active {
            transform: translateY(0);
            box-shadow: 0 6px 12px var(--shadow-color);
        }
        .profile-img {
            width: 450px;
            height: 450px;
            border-radius: 50%;
            margin-right: 180px;
            object-fit: cover;
            border: 4px solid rgba(255 255 255 / 0.12);
            box-shadow: 0 12px 30px rgba(0, 245, 196, 0.2);
            user-select: none;
            transition: transform 0.4s ease;
        }
        .profile-img:hover,
        .profile-img:focus-visible {
            outline: none;
            transform: scale(1.02) rotate(1deg);
            box-shadow: 0 18px 44px rgba(0, 245, 196, 0.4);
        }

        /* About Section CSS */
        #about .about-content {
            display: grid;
            grid-template-columns: 1fr 1.8fr;
            gap: 3rem;
            align-items: flex-start;
        }
        #about .about-image-container {
            align-self: center;
        }
        #about img.about-img {
            width: 100%;
            border-radius: 16px;
            border: 1px solid var(--border-color);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
            transition: box-shadow 0.3s ease, transform 0.3s ease;
        }
        #about img.about-img:hover,
        #about img.about-img:focus-visible {
            transform: scale(1.03);
            box-shadow: 0 16px 40px rgba(0, 245, 196, 0.35);
            outline: none;
        }
        #about .about-text-container p {
            font-size: clamp(1.1rem, 1.5vw, 1.2rem);
            color: var(--text-muted);
            line-height: 1.75;
            margin-bottom: 2rem;
        }
        #about .about-text-container h3 {
            margin-top: 0;
            font-weight: 700;
            color: var(--text-light);
        }
        .skills-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 1.5rem;
            margin-top: 1.5rem;
            user-select: text;
        }
        .skill-category h4 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 0.8rem;
            border-left: 3px solid var(--primary-color);
            padding-left: 10px;
        }
        .skill-category ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .skill-category li {
            background: rgba(255, 255, 255, 0.05);
            padding: 8px 12px;
            margin-bottom: 8px;
            border-radius: 8px;
            color: var(--text-muted);
            font-weight: 500;
            transition: color 0.3s ease, background-color 0.3s ease;
        }
        .skill-category li:hover {
            background-color: var(--primary-color);
            color: var(--bg-dark);
        }

        /* Services Section CSS */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }
        #services .service-card {
            background: var(--bg-secondary);
            border-radius: 16px;
            padding: 2rem 1.5rem 2.5rem;
            border: 1px solid var(--border-color);
            box-shadow: 0 4px 16px rgba(0, 245, 196, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            user-select: none;
        }
        #services .service-card:hover,
        #services .service-card:focus-within {
            transform: translateY(-10px);
            box-shadow: 0 14px 32px rgba(0, 245, 196, 0.4);
            border-color: var(--primary-gradient-start);
            outline: none;
        }
        #services .icon-box {
            width: 80px;
            height: 80px;
            background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
            border-radius: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 36px;
            color: var(--bg-dark);
            margin: 0 auto 1rem auto;
        }
        #services .service-card h4 {
            color: var(--text-light);
            margin-bottom: 1rem;
            font-weight: 700;
            text-align: center;
        }
        #services .service-card p {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.5;
            text-align: center;
        }

        /* Projects Section */
        #projects .project-card {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 3rem;
            margin-top: 2rem;
            user-select: none;
        }
        #projects .project-item {
            background: var(--bg-secondary);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 6px 20px rgba(0, 245, 196, 0.15);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        #projects .project-item:hover,
        #projects .project-item:focus-within {
            transform: translateY(-12px);
            box-shadow: 0 18px 44px rgba(0, 245, 196, 0.4);
            outline: none;
        }
        #projects .project-image {
            width: 100%;
            aspect-ratio: 16 / 9;
            object-fit: cover;
            display: block;
            border-bottom: 1px solid var(--border-color);
            transition: transform 0.4s ease;
        }
        #projects .project-item:hover .project-image {
            transform: scale(1.05);
        }
        #projects .project-content {
            flex-grow: 1;
            padding: 1.5rem 1.5rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        #projects .project-content h5 {
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 0.3rem;
            user-select: text;
        }
        #projects .project-content h3 {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--text-light);
            margin-bottom: 0.8rem;
            user-select: text;
        }
        #projects .project-content p {
            flex-grow: 1;
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.5;
            margin-bottom: 1rem;
            user-select: text;
        }
        #projects .project-content a.btn {
            align-self: start;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            font-weight: 700;
            padding: 8px 26px;
            border-radius: 40px;
            box-shadow: 0 8px 20px rgba(0, 245, 196, 0.15);
            background: transparent;
            transition: background-color 0.3s ease, color 0.3s ease;
            user-select: none;
        }
        #projects .project-content a.btn:hover,
        #projects .project-content a.btn:focus {
            background: linear-gradient(90deg, var(--primary-gradient-start), var(--primary-gradient-end));
            color: var(--bg-dark);
            box-shadow: 0 18px 44px rgba(0, 245, 196, 0.4);
            outline: none;
            transform: translateY(-2px);
        }

        /* Contact Section */
        #contact form {
            background: linear-gradient(135deg, rgba(10, 10, 20, 0.8), rgba(26, 26, 46, 0.6));
            backdrop-filter: saturate(200%) blur(16px);
            border: 1px solid rgba(0, 245, 196, 0.15);
            border-radius: 24px;
            padding: 3.5rem 3rem;
            box-shadow: 0 12px 40px rgba(0, 245, 196, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
            max-width: 800px;
            margin: 0 auto;
            user-select: text;
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        #contact input,
        #contact textarea {
            width: 100%;
            background: rgba(255, 255, 255, 0.08);
            border: 1.5px solid rgba(0, 245, 196, 0.3);
            border-radius: 16px;
            padding: 16px 22px;
            color: var(--text-light);
            font-weight: 500;
            font-size: 1.05rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            resize: vertical;
            font-family: var(--font-family);
            backdrop-filter: blur(8px);
        }
        #contact input::placeholder,
        #contact textarea::placeholder {
            color: rgba(173, 181, 189, 0.7);
            font-weight: 500;
        }
        #contact input:focus,
        #contact textarea:focus {
            border-color: var(--primary-color);
            background: rgba(0, 245, 196, 0.08);
            box-shadow: 0 0 0 3px rgba(0, 245, 196, 0.2), inset 0 1px 2px rgba(0, 245, 196, 0.1);
            outline: none;
            transform: translateY(-2px);
        }
        #contact input:hover:not(:focus),
        #contact textarea:hover:not(:focus) {
            border-color: rgba(0, 245, 196, 0.5);
            background: rgba(255, 255, 255, 0.12);
        }
        #contact button[type="submit"] {
            cursor: pointer;
            background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
            color: var(--bg-dark);
            font-weight: 700;
            font-size: 1.15rem;
            padding: 16px 48px;
            border: none;
            border-radius: 50px;
            margin-top: 1.5rem;
            width: 100%;
            box-shadow: 0 8px 24px var(--shadow-color);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            letter-spacing: 0.5px;
        }
        #contact button[type="submit"]:hover,
        #contact button[type="submit"]:focus {
            background: transparent;
            color: var(--primary-gradient-start);
            box-shadow: 0 0 0 2px var(--primary-color), 0 12px 32px rgba(0, 245, 196, 0.3);
            outline: none;
            transform: translateY(-3px);
        }
        #contact button[type="submit"]:active {
            transform: translateY(-1px);
            box-shadow: 0 0 0 2px var(--primary-color), 0 8px 16px rgba(0, 245, 196, 0.2);
        }

        /* Styling Baru untuk Bagian Lokasi & Peta */
#map-section .section-title {
    text-align: center;
    border-left: none;
    border-bottom: 4px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.location-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Lebar kolom 1 dan kolom 2 */
    gap: 200px; /* Jarak antar kolom */
    align-items: center; /* Sejajarkan konten di tengah secara vertikal */
    margin-top: 3rem;
}

.contact-details h3 {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.contact-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-details .fa-solid {
    font-size: 24px;
    color: var(--primary-color);
    width: 30px; /* Beri lebar tetap agar teks rata */
    text-align: center;
}

.contact-details a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-color);
}

        /* Footer Section */
        footer.footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            padding: 3rem 1.5rem;
            user-select: none;
        }
        .footer-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            gap: 2rem;
            justify-content: space-between;
            color: var(--text-muted);
            font-size: 0.9rem;
        }
        .footer-section {
            flex: 1 1 280px;
            min-width: 220px;
        }
        .footer-section h4 {
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 1rem;
            user-select: text;
        }
        .footer-section p,
        .footer-section a {
            color: var(--text-muted);
            text-decoration: none;
            display: block;
            margin-bottom: 0.6rem;
            transition: color var(--transition-speed) ease;
        }
        .footer-section a:hover,
        .footer-section a:focus {
            color: var(--primary-gradient-start);
            outline: none;
        }
        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 0.5rem;
        }
        .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--border-color);
    border-radius: 50%;
    /* BARU: Tambahkan border transparan agar layout tidak 'lompat' saat hover */
    border: 1px solid transparent;
    /* Disesuaikan: Transisi sekarang untuk border, bukan background */
    transition: border-color 0.3s ease;
}
        .social-links a:hover,
.social-links a:focus {
    /* Dihapus: Perubahan background dihapus */
    /* background: var(--primary-gradient-start); */
    
    /* BARU: Hanya ubah warna border saat hover */
    border-color: var(--primary-color);
    outline: none;
}

        /* Penyesuaian untuk ikon Font Awesome di footer */
.social-links .fa-brands {
    font-size: 24px; /* Samakan ukurannya dengan ikon sebelumnya */
    color: var(--text-muted); /* Pastikan warnanya sesuai */
    transition: color 0.3s ease;
}

.social-links a:hover .fa-brands {
    color: var(--primary-color); /* Ubah warna saat disentuh mouse */
}
        .footer-bottom {
            text-align: center;
            padding-top: 2rem;
            border-top: 1px solid var(--border-color);
            color: var(--text-muted);
            font-size: 0.85rem;
            user-select: text;
            margin-top: 1rem;
        }

        /* Loading spinner (preloader) */
        #loading-screen {
            position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
            background: var(--bg-dark);
            display: flex; justify-content: center; align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }
        #loading-screen.fade-out {
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        .spinner {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: 4px solid rgba(0,245,196,0.3);
            border-top-color: var(--primary-color);
            animation: spin 1.1s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        /* Responsive Breakpoints */
        @media (max-width: 1023px) {
            #sidebar {
                transform: translateX(calc(-1 * var(--sidebar-width)));
                position: fixed;
                z-index: 1800;
                box-shadow: 3px 0 12px rgba(0,0,0,0.6);
            }
            #sidebar.open {
                transform: translateX(0);
                transition: transform var(--transition-speed) ease;
            }
            .hamburger {
                display: block;
            }
            main {
                margin-left: 0 !important;
                padding: 1.5rem 1.25rem 3rem !important;
            }
        }
        @media (max-width: 767px) {
            .hero-section {
                flex-direction: column-reverse;
                text-align: center;

                /* BARU: Atur tinggi agar pas dengan layar di bawah header */
                min-height: calc(100vh - var(--header-height));

                /* BARU: Pusatkan konten secara vertikal di tengah layar */
                justify-content: center;

                /* Disesuaikan: Padding untuk memberi ruang bernapas */
                padding: 2rem 1rem;
                gap: 2.5rem; /* Sedikit menambah gap agar lebih lega */
            }
            .hero-text h1 {
                font-size: clamp(2rem, 7vw, 3rem);
            }
            .profile-img {
                width: 240px;
                height: 240px;
                margin: 0 auto;
                box-shadow: 0 12px 36px rgba(0, 245, 196, 0.3);
            }
            #about .about-content {
                grid-template-columns: 1fr;
            }
            #about .about-image-container {
                margin-bottom: 2rem;
            }
            #services .service-card {
                padding: 1.5rem 1rem 2rem;
            }
            #projects .project-card,
            #projects .project-item {
                grid-template-columns: 1fr !important;
            }
            #contact form {
                padding: 2rem 1.25rem;
            }
        }