/* =========================================================
   01. DESIGN TOKENS
========================================================= */
:root {
    --bg: #F8F7FC;
    --surface: #FFFFFF;
    --surface-soft: #F3F0FF;
    --navy: #111827;
    --navy-soft: #1F2937;
    --purple: #6D28D9;
    --purple-light: #8B5CF6;
    --lavender: #C4B5FD;
    --lavender-soft: #EDE9FE;
    --text: #111827;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --success: #059669;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 4px 16px rgba(17, 24, 39, 0.05);
    --shadow-md: 0 16px 40px rgba(17, 24, 39, 0.08);
    --shadow-purple: 0 20px 50px rgba(109, 40, 217, 0.14);
    --transition: 0.25s ease;
}

/* =========================================================
   02. RESET
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--lavender);
    color: var(--navy);
}

/* =========================================================
   03. ACCESSIBILITY
========================================================= */
:focus-visible {
    outline: 3px solid var(--purple-light);
    outline-offset: 4px;
}

/* =========================================================
   04. NAVBAR
========================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 247, 252, 0.86);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.94);
    border-color: var(--border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    width: min(1180px, 90%);
    margin: auto;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--navy);
}

.logo span {
    color: var(--purple);
}

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

.nav-links a {
    position: relative;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.4rem 0;
    transition: color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--purple);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    border-radius: 10px;
    transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-resume {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    background: var(--navy);
    color: white !important;
    text-decoration: none;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    transition: transform var(--transition), background var(--transition);
}

.nav-resume:hover {
    background: var(--purple);
    transform: translateY(-2px);
}

.nav-resume::after {
    display: none;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--surface);
    color: var(--navy);
    cursor: pointer;
    font-size: 1.1rem;
}

/* =========================================================
   05. GENERAL SECTION
========================================================= */
.section {
    width: min(1120px, 90%);
    margin: auto;
    padding: 7rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.section-label::before {
    content: "";
    width: 22px;
    height: 2px;
    background: var(--purple);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.05em;
    color: var(--navy);
}

.section-description {
    max-width: 650px;
    margin-top: 0.9rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
}

/* =========================================================
   06. HERO — MODERN DATA PORTFOLIO
========================================================= */

.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    width: min(1180px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 70px 0 50px;
    overflow: hidden;
}

/* ---------- Background Glow ---------- */

.hero::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    top: -120px;
    right: -180px;
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.15) 0%,
        rgba(139, 92, 246, 0.07) 35%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    bottom: -250px;
    left: -220px;
    background: radial-gradient(
        circle,
        rgba(196, 181, 253, 0.12) 0%,
        transparent 70%
    );
    pointer-events: none;
    z-index: 0;
}


/* =========================================================
   HERO WRAPPER
========================================================= */

.hero-wrapper {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1140px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(350px, 0.85fr);
    align-items: center;

    gap: 4rem;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 700px;
}


/* ---------- Availability ---------- */

.availability {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;

    margin-bottom: 1.5rem;
    padding: 0.5rem 0.9rem;

    border: 1px solid rgba(16, 185, 129, 0.18);
    border-radius: 999px;

    background: rgba(236, 253, 245, 0.75);
    backdrop-filter: blur(8px);

    color: var(--success);

    font-size: 0.76rem;
    font-weight: 700;

    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.06);
}

.availability-dot {
    width: 7px;
    height: 7px;
    flex-shrink: 0;

    border-radius: 50%;
    background: var(--success);

    box-shadow:
        0 0 0 4px rgba(5, 150, 105, 0.08),
        0 0 12px rgba(5, 150, 105, 0.25);
}


/* =========================================================
   HERO TITLE
========================================================= */

.hero-title {
    max-width: 720px;

    margin: 0 0 1.25rem;

    font-size: clamp(3.6rem, 7vw, 6.3rem);
    line-height: 0.94;

    letter-spacing: -0.075em;
    font-weight: 800;

    color: var(--navy);
}

.hero-title span {
    display: inline-block;

    color: var(--purple);

    position: relative;
}

/* Small accent underneath surname */

.hero-title span::after {
    content: "";

    position: absolute;

    left: 3px;
    bottom: -4px;

    width: 52px;
    height: 5px;

    border-radius: 999px;

    background: var(--purple);

    opacity: 0.18;
}


/* =========================================================
   HERO ROLE
========================================================= */

.hero-role {
    margin: 0 0 0.65rem;

    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    line-height: 1.4;

    font-weight: 700;

    color: var(--navy-soft);
}


/* =========================================================
   HERO STACK
========================================================= */

.hero-stack {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;

    margin: 0 0 1.25rem;

    color: var(--purple);

    font-size: 0.9rem;
    font-weight: 700;
}


/* =========================================================
   HERO DESCRIPTION
========================================================= */

.hero-description {
    max-width: 640px;

    margin: 0 0 2rem;

    color: var(--text-secondary);

    font-size: 1rem;
    line-height: 1.8;

    letter-spacing: -0.01em;
}


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

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;

    flex-wrap: wrap;

    margin-bottom: 1.8rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;

    min-height: 48px;

    padding: 0.75rem 1.2rem;

    border-radius: 12px;

    text-decoration: none;

    font-size: 0.87rem;
    font-weight: 700;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


/* ---------- Primary Button ---------- */

.btn-primary {
    background: var(--purple);
    color: #ffffff;

    box-shadow:
        0 10px 24px rgba(109, 40, 217, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);

    background: var(--purple-light);

    box-shadow:
        0 16px 32px rgba(109, 40, 217, 0.24);
}


/* ---------- Secondary Button ---------- */

.btn-secondary {
    background: rgba(255, 255, 255, 0.7);

    border: 1px solid var(--border);

    color: var(--navy);

    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    transform: translateY(-3px);

    border-color: rgba(139, 92, 246, 0.35);

    color: var(--purple);

    background: #ffffff;

    box-shadow:
        0 10px 25px rgba(15, 23, 42, 0.07);
}


/* =========================================================
   SOCIAL LINKS
========================================================= */

.hero-socials {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: rgba(255, 255, 255, 0.75);

    border: 1px solid var(--border);

    color: var(--navy);

    text-decoration: none;

    backdrop-filter: blur(8px);

    transition:
        transform 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.social-link:hover {
    transform: translateY(-3px);

    color: var(--purple);

    border-color: rgba(139, 92, 246, 0.35);

    box-shadow:
        0 8px 20px rgba(15, 23, 42, 0.07);
}


/* =========================================================
   HERO IMAGE AREA
========================================================= */

.hero-image {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 500px;
}


/* ---------- Purple Orb Behind Photo ---------- */

.hero-image::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(139, 92, 246, 0.16) 0%,
            rgba(167, 139, 250, 0.10) 38%,
            transparent 70%
        );

    filter: blur(2px);

    z-index: 0;
}


/* ---------- Decorative Ring ---------- */

.hero-image::after {
    content: "";

    position: absolute;

    width: 365px;
    height: 365px;

    border-radius: 50%;

    border: 1px solid rgba(139, 92, 246, 0.12);

    z-index: 0;
}


/* =========================================================
   PROFILE PHOTO
========================================================= */

.profile-pic {
    position: relative;
    z-index: 2;

    width: min(360px, 100%);
    aspect-ratio: 1 / 1;

    border-radius: 50%;

    object-fit: cover;

    /*
       Fokus sedikit ke bagian bawah
       supaya wajah tetap menjadi focal point.
    */
    object-position: center 58%;

    border: 7px solid rgba(255, 255, 255, 0.95);

    box-shadow:
        0 25px 55px rgba(15, 23, 42, 0.12),
        0 8px 20px rgba(109, 40, 217, 0.08);

    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.profile-pic:hover {
    transform: translateY(-6px);

    box-shadow:
        0 32px 65px rgba(15, 23, 42, 0.15),
        0 10px 28px rgba(109, 40, 217, 0.12);
}


/* =========================================================
   SMALL DECORATIVE DOTS
========================================================= */

.hero-image .profile-pic::after {
    content: "";
}


/* =========================================================
   SCROLL INDICATOR
========================================================= */

.scroll-indicator {
    position: absolute;

    bottom: 20px;
    left: 50%;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 0.35rem;

    color: #94a3b8;

    font-size: 0.72rem;
    font-weight: 600;

    opacity: 0.8;

    z-index: 3;
}

.scroll-indicator svg {
    color: var(--purple);

    animation: scrollBounce 1.8s infinite ease-in-out;
}

@keyframes scrollBounce {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .hero {
        min-height: auto;

        padding: 100px 0 70px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;

        text-align: center;

        gap: 2.5rem;
    }

    .hero-content {
        max-width: 720px;

        margin: 0 auto;
    }

    .hero-title {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-socials {
        justify-content: center;
    }

    .hero-image {
        min-height: 380px;

        order: -1;
    }

    .hero-image::before {
        width: 360px;
        height: 360px;
    }

    .hero-image::after {
        width: 310px;
        height: 310px;
    }

    .profile-pic {
        width: 300px;
    }

    .scroll-indicator {
        display: none;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .hero {
        width: min(92%, 500px);

        padding: 90px 0 55px;
    }

    .hero-wrapper {
        gap: 1.8rem;
    }

    .hero-image {
        min-height: 290px;
    }

    .hero-image::before {
        width: 300px;
        height: 300px;
    }

    .hero-image::after {
        width: 260px;
        height: 260px;
    }

    .profile-pic {
        width: 245px;

        border-width: 5px;
    }

    .availability {
        margin-bottom: 1.2rem;

        font-size: 0.7rem;
    }

    .hero-title {
        font-size: clamp(3.1rem, 16vw, 4.4rem);

        line-height: 0.96;

        letter-spacing: -0.07em;

        margin-bottom: 1rem;
    }

    .hero-title span::after {
        width: 38px;
        height: 4px;

        bottom: -3px;
    }

    .hero-role {
        font-size: 1.15rem;
    }

    .hero-stack {
        font-size: 0.82rem;
    }

    .hero-description {
        font-size: 0.93rem;

        line-height: 1.7;

        margin-bottom: 1.6rem;
    }

    .hero-buttons {
        width: 100%;
        gap: 0.6rem;
    }

    .btn {
        flex: 1;

        min-width: 145px;

        font-size: 0.82rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }
}

/* =========================================================
   07. SCROLL HINT
========================================================= */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.scroll-hint i {
    color: var(--purple);
    animation: bounce 1.8s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* =========================================================
   08. PROJECT FILTER
========================================================= */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.filter-btn {
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
}

/* =========================================================
   09. PROJECT CARD
========================================================= */
.project-list {
    display: grid;
    gap: 1rem;
}

.project-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.2rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    align-items: stretch;
}

.project-card:hover {
    transform: translateY(-3px);
    border-color: #DDD6FE;
    box-shadow: var(--shadow-purple);
}

.project-card.hidden {
    display: none;
}

.project-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: linear-gradient(135deg, #EDE9FE, #F5F3FF);
    height: 100%;
    min-height: 160px;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img {
    transform: scale(1.035);
}

.project-number {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    background: rgba(17, 24, 39, 0.88);
    color: white;
    font-size: 0.6rem;
    font-weight: 800;
}

.project-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-category {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.2rem 0.4rem;
    margin-bottom: 0.4rem;
    border-radius: 5px;
    background: var(--lavender-soft);
    color: var(--purple);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
}

.project-title {
    font-size: 1.15rem;
    line-height: 1.2;
    margin-bottom: 0.2rem;
    color: var(--navy);
}

.project-stack {
    color: var(--purple);
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 0.6rem;
}

.project-block p {
    display: inline;
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.4;
}

.project-block h4 {
    display: inline-block;
    margin-right: 0.3rem;
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto; 
}

.metric {
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    background: var(--surface-soft);
    border: 1px solid #E9E2FF;
}

.metric strong {
    display: block;
    color: var(--purple);
    font-size: 0.8rem;
    font-weight: 800;
}

.metric span {
    display: block;
    margin-top: 0.1rem;
    color: var(--text-secondary);
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
}

.project-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--navy);
    font-size: 0.7rem;
    font-weight: 800;
    text-decoration: none;
    transition: color var(--transition);
}

.project-link.primary {
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
}
/* =========================================================
   10. SKILLS
========================================================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.skill-card {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.skill-card:hover {
    transform: translateY(-4px);
    border-color: #DDD6FE;
    box-shadow: var(--shadow-sm);
}

.skill-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 12px;
    background: var(--lavender-soft);
    color: var(--purple);
}

.skill-card h3 {
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    color: var(--navy);
}

.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.skill-tag {
    padding: 0.38rem 0.62rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #FAFAFA;
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 600;
    transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.skill-tag:hover {
    background: var(--lavender-soft);
    border-color: var(--lavender);
    color: var(--purple);
}

/* =========================================================
   11. EXPERIENCE TIMELINE
========================================================= */
.timeline {
    position: relative;
    max-width: 850px;
    margin: auto;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: #DDD6FE;
}

.timeline-item {
    position: relative;
    padding-left: 2.3rem;
    margin-bottom: 2rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: 0;
    top: 7px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--purple);
    border: 4px solid var(--bg);
    box-shadow: 0 0 0 2px #DDD6FE;
}

.timeline-card {
    padding: 1.4rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.timeline-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.timeline-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: var(--navy);
}

.timeline-meta {
    color: var(--purple);
    font-size: 0.73rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.timeline-card p {
    color: var(--text-secondary);
    font-size: 0.84rem;
    line-height: 1.65;
}

/* =========================================================
   12. EDUCATION / CERTIFICATIONS
========================================================= */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-card {
    padding: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform var(--transition), box-shadow var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.info-card .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    border-radius: 10px;
    background: var(--lavender-soft);
    color: var(--purple);
}

.info-card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--navy);
}

.info-card .meta {
    color: var(--purple);
    font-size: 0.7rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* =========================================================
   13. ABOUT
========================================================= */
.about-wrapper {
    display: grid;
    /* Ubah rasionya di sini. 0.5fr untuk foto (lebih kecil), 1.5fr untuk teks (lebih lebar) */
    grid-template-columns: 0.5fr 1.5fr; 
    gap: 4rem; 
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 20px; 
    overflow: hidden; 
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1); 
    
    /* Tambahan agar foto tidak membesar berlebihan di layar laptop yang lebar */
    max-width: 320px; 
    margin: 0 auto; /* Menjaga foto tetap di tengah kolomnya */
}

/* Memastikan foto proporsional */
.about-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 4; 
    display: block;
    
    /* Tambahan untuk efek zoom */
    transform: scale(1.15); /* Angka 1.15 berarti zoom 15%. Bisa dinaikkan ke 1.2 atau diturunkan ke 1.1 */
    
    /* Opsional: Jika setelah di-zoom posisi wajah jadi terlalu ke atas/terpotong, 
       kamu bisa mengatur titik fokusnya (mirip seperti di Hero section tadi) */
    object-position: center 20%; 
}

/* Styling Teks */
.about-content p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
}

/* Grid untuk checklist */
.about-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.8rem;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 700;
}

.about-point i {
    color: var(--purple);
    font-size: 1.1rem;
}

/* Memastikan About Section rapi saat dibuka di HP (Berubah jadi atas-bawah) */
@media (max-width: 768px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .about-image-wrapper {
        max-width: 350px; /* Membatasi lebar maksimal foto di HP */
        margin: 0 auto; /* Menengahkan foto */
    }
}

/* =========================================================
   14. CONTACT
========================================================= */
.contact-section {
    width: min(1120px, 90%);
    margin: 0 auto 5rem;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(135deg, var(--navy), #312E81);
    color: white;
    text-align: center;
    box-shadow: 0 25px 60px rgba(17, 24, 39, 0.15);
}

.contact-section::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    right: -100px;
    top: -160px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.28);
    filter: blur(20px);
}

.contact-content {
    position: relative;
    z-index: 2;
}

.contact-section h2 {
    margin-bottom: 0.7rem;
    font-size: clamp(2rem, 4vw, 2.8rem);
    letter-spacing: -0.05em;
    color: white;
}

.contact-section p {
    max-width: 650px;
    margin: 0 auto 1.5rem;
    color: #D1D5DB;
    font-size: 0.9rem;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: white;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.contact-btn:hover {
    transform: translateY(-3px);
    background: var(--lavender-soft);
    color: var(--purple);
}

/* =========================================================
   15. FOOTER
========================================================= */
footer {
    padding: 2rem 5% 3rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.72rem;
}

/* =========================================================
   16. BACK TO TOP
========================================================= */
.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,0.94);
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition), color var(--transition);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    color: var(--purple);
}

/* =========================================================
   17. SCROLL REVEAL
========================================================= */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   18. RESPONSIVE
========================================================= */
@media (max-width: 900px) {
    .nav-links { gap: 1.1rem; }
    .project-card { grid-template-columns: 1fr; }
    .skills-grid, .info-grid { grid-template-columns: 1fr 1fr; }
    .about-wrapper { grid-template-columns: 1fr; }
    .about-card { min-height: 220px; }
}

@media (max-width: 768px) {
    html { scroll-padding-top: 76px; }
    .nav-container { height: 70px; }
    .menu-toggle { display: flex; align-items: center; justify-content: center; }
    
    .nav-links {
        position: absolute;
        top: 70px;
        left: 5%;
        right: 5%;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 0.7rem;
        background: rgba(255,255,255,0.97);
        border: 1px solid var(--border);
        border-radius: 16px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.8rem 0.9rem; border-radius: 9px; }
    .nav-links a:hover, .nav-links a.active { background: var(--lavender-soft); }
    .nav-links a::after { display: none; }
    
    .nav-resume { display: flex !important; justify-content: center; margin: 0.4rem 0; }
    .section { padding: 5rem 0; }
    .hero { min-height: 88vh; }
    .hero-title { font-size: clamp(3rem, 15vw, 4.5rem); }
    .hero-description { font-size: 0.92rem; }
    .hero-buttons { align-items: stretch; flex-direction: column; max-width: 280px; }
    .btn { width: 100%; }
    
    .project-card { padding: 0.8rem; gap: 1rem; }
    .project-image-wrapper, .project-img { min-height: 160px; }
    .project-title { font-size: 1.15rem; }
    
    .skills-grid, .info-grid { grid-template-columns: 1fr; }
    .about-points { grid-template-columns: 1fr; }
    .contact-section { padding: 3rem 1.3rem; margin-bottom: 3rem; }

    .lang-toggle {
        justify-content: center;
        margin: 1rem auto 0.5rem;
        width: fit-content;
    }
}

@media (max-width: 480px) {
    .nav-container, .section, .hero { width: 92%; }
    .hero-title { font-size: 3.1rem; }
    .project-filters { gap: 0.45rem; }
    .filter-btn { font-size: 0.7rem; padding: 0.48rem 0.7rem; }
    .metrics { display: grid; grid-template-columns: repeat(2, 1fr); }
    .metric { min-width: 0; }
    .contact-buttons { flex-direction: column; }
    .contact-btn { justify-content: center; }
    .back-to-top { right: 15px; bottom: 15px; }
}

/* =========================================================
   19. REDUCED MOTION
========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   LANGUAGE TOGGLE
========================================================= */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.08); /* Warna ungu transparan */
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.lang-btn {
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    color: var(--text-secondary) !important;
    padding: 0 !important;
    transition: color var(--transition);
}

.lang-btn.active, 
.lang-btn:hover {
    color: var(--purple) !important;
}

/* Menghilangkan efek garis bawah animasi bawaan dari nav-links */
.lang-btn::after {
    display: none !important; 
}

.lang-divider {
    color: var(--purple);
    opacity: 0.4;
    font-size: 0.75rem;
    font-weight: 800;
}