:root {
    --bg-color: #0a0e17;
    --card-bg: #111827;
    --accent-blue: #00f0ff;
    --accent-green: #00ff88;
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --border-color: #1f293d;
    --font-main: 'Inter', sans-serif;
    --font-code: 'Fira Code', monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Subtle Background Grid FX */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(rgba(0, 240, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 8%;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-family: var(--font-code);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
}

/* Styling Tombol Menu Garis Tiga (Hamburger) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-blue);
    cursor: pointer;
    z-index: 101;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8rem 8% 4rem 8%;
    gap: 4rem;
}

.hero-text {
    flex: 1;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid var(--accent-blue);
    color: var(--accent-blue);
    border-radius: 4px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-text h1 span {
    color: var(--accent-blue);
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Mengatur teks pembuka (Hello everyone! I'm) agar berwarna putih di semua bahasa */
.hero-text h1 .hero-greeting {
    color: var(--text-primary);
    text-shadow: none;
    font-weight: 700;
}

.hero-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 550px;
}

/* --- LAPTOP FRAME CSS (FULL FIT SCREEN) --- */
.profile-container {
    position: relative;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
}

.laptop-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    filter: drop-shadow(0 0 25px rgba(0, 240, 255, 0.25)); 
}

/* Layar (Lid) */
.laptop-lid {
    width: 380px;
    height: 275px;
    background-color: #2b2b2b;
    border-radius: 12px 12px 0 0;
    padding: 12px 12px 16px 12px;
    position: relative;
    z-index: 2;
}

.laptop-screen {
    width: 100%;
    height: 100%;
    background-color: #0a0e17;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid #1a1a1a;
}

.laptop-screen img {
    width: 100%;
    height: 100%;
    object-fit: fit;
    display: block;
}

/* Badan Bawah (Base) */
.laptop-base {
    width: 460px; 
    height: 85px;
    background-color: #737373;
    clip-path: polygon(40px 0, 420px 0, 100% 100%, 0 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 8px;
    position: relative;
    z-index: 1;
    margin-top: -1px;
}

/* Keyboard Area */
.laptop-keyboard {
    width: 380px;
    height: 40px;
    background-color: #3b3b3b;
    border: 3px solid #5c5c5c;
    border-radius: 3px;
    background-image:
        linear-gradient(to right, #2b2b2b 2px, transparent 2px),
        linear-gradient(to bottom, #2b2b2b 2px, transparent 2px);
    background-size: 19px 10px;
    background-position: center;
    position: relative;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 100%, 0 100%);
}

.laptop-spacebar {
    position: absolute;
    bottom: 2px;
    left: 50.3%;
    transform: translateX(-50%);
    width: 168px;
    height: 8px;
    background-color: #5c5c5c;
    border-radius: 2px;
}

/* Trackpad */
.laptop-trackpad {
    width: 80px;
    height: 20px;
    background-color: #a0a0a0;
    border-radius: 2px;
    margin-top: 7px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
    clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 100%, 0 100%);
}

/* Bibir Bawah (Lip) */
.laptop-lip {
    width: 460px;
    height: 10px;
    background-color: #2b2b2b;
    border-radius: 0 0 10px 10px;
    position: relative;
    z-index: 1;
}

/* Terminal Component */
.terminal {
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.2rem;
    font-family: var(--font-code);
    font-size: 0.9rem;
    color: #4ade80;
    margin-top: 1.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

/* General Section */
.section {
    padding: 5rem 8%;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Common Grid for Experience & Projects */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* --- CUSTOM STYLING FOR EDUCATION TIMELINE --- */
.education-timeline {
    position: relative;
    border-left: 2px dotted var(--accent-blue);
    margin-left: 1rem;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.edu-item {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    border-radius: 12px;
    transition: 0.3s;
}

.edu-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.edu-item::before {
    content: "";
    position: absolute;
    left: -2.65rem;
    top: 1.8rem;
    width: 14px;
    height: 14px;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
}

.edu-duration {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--accent-green);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.edu-item h3 {
    color: var(--accent-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.edu-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* --- CUSTOM STYLING FOR CERTIFICATE SIDE BY SIDE --- */
.cert-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}

.cert-column {
    display: flex;
    flex-direction: column;
}

.content-grid-vertical {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Tambahan Styling untuk Sub-section Achievement & Training */
.subsection-title {
    font-size: 1.4rem;
    color: var(--accent-blue);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
}

.subsection-title i {
    color: var(--accent-green);
    font-size: 1.2rem;
}

.author-subtitle {
    color: #ffbd2e;
    font-size: 1.05rem;
    margin-top: -4px;
    margin-bottom: 0.5rem;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-5px);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 12px;
}

.skill-header i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin: 0;
}

.skill-header h3 {
    font-size: 1.15rem;
    margin: 0;
    color: var(--text-primary);
}

.skill-tools {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
}

.tool-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.2); /* Background biru sangat tipis */
    border: 1px solid var(--accent-blue); /* Frame warna biru terang */
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: 0.2s;
    box-shadow: 0 0 5px rgba(0, 240, 255, 0.2); /* Sedikit efek glow */
}

.tool-badge:hover {
    background: rgba(0, 240, 255, 0.15);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
    transform: translateY(-2px);
}

.tool-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 0px;
    background-color: transparent; /* Background putih murni khusus untuk logo agar logo gelap kelihatan jelas */
    padding: 1px; /* Jarak antara logo dan tepi kotak putih */
    filter: brightness(1) contrast(1.5) drop-shadow(0 0 3px rgba(255, 255, 255, 0.2));
}


/* --- CUSTOM STYLING FOR EXPERIENCE --- */
.experience-timeline {
    position: relative;
    border-left: 2px dotted var(--accent-blue);
    margin-left: 1rem;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.experience-item {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.8rem;
    border-radius: 12px;
    transition: 0.3s;
}

.experience-item:hover {
    border-color: var(--accent-blue);
    transform: translateY(-3px);
}

.experience-item::before {
    content: "";
    position: absolute;
    left: -2.65rem;
    top: 1.8rem;
    width: 14px;
    height: 14px;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
}

.role-subtitle {
    color: #ffbd2e;
    font-size: 1.05rem;
    margin-top: -4px;
    margin-bottom: 0.5rem;
}

.experience-duration {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--accent-green);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.experience-item h3 {
    color: var(--accent-blue);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.experience-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Project Cards */
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.8rem;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.feature-card:hover {
    border-color: var(--accent-green);
    transform: translateY(-5px);
}

.feature-card h3 {
    color: var(--accent-blue);
    margin-bottom: 0.8rem;
}

.feature-card .duration {
    font-family: var(--font-code);
    font-size: 0.85rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    display: block;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.tag {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-family: var(--font-main);
    color: var(--text-secondary);
    transition: 0.2s;
}

.tag:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    border-color: var(--accent-blue);
}

.tag::before {
    content: '\f121'; /* Icon Code (FontAwesome) */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--accent-green);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 8%;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

footer span {
    display: flex;
    align-items: center;
    gap: 8px;
}

footer i {
    color: var(--accent-blue);
}

/* Responsive Design */
@media (max-width: 900px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 7rem;
    }

    .hero-text p {
        margin: 0 auto 2rem auto;
    }

    .nav-links {
        display: none;
    }

    .cert-split-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .laptop-container {
        transform: scale(0.75);
        transform-origin: center;
    }
}
/* Language Switcher Styling */
.language-switcher select {
    background-color: var(--card-bg);
    color: var(--accent-blue);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: var(--font-code);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    outline: none;
}

.language-switcher select:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
