/* =========================================================
   PORTFOLIO USER
   assets/css/style.css
   Theme: Pastel Green • Pink • Yellow
   Updated: Full fix (Hero outline, About img, Experiences card, Contact merged)
========================================================= */

/* =========================================================
   1. ROOT — COLOR & SPACING VARIABLES
========================================================= */

:root {
    /* Background */
    --bg-main: #fffdf9;
    --bg-soft: #f8faf5;
    --bg-green: #eef8ed;
    --bg-pink: #fff0f3;
    --bg-yellow: #fff8df;

    /* Pastel Colors */
    --green: #8fbd8a;
    --green-dark: #648d60;
    --green-light: #dcefd8;

    --pink: #e9a6b4;
    --pink-dark: #c9798a;
    --pink-light: #f9dce2;

    --yellow: #f2d47a;
    --yellow-dark: #c9a943;
    --yellow-light: #fff0b8;

    /* Text */
    --text: #242925;
    --text-secondary: #68706a;
    --text-muted: #9ba29d;

    /* Border */
    --border: #e7ebe5;

    /* White */
    --white: #ffffff;

    /* Shadow */
    --shadow-sm: 0 4px 16px rgba(64, 80, 60, 0.06);
    --shadow-md: 0 12px 35px rgba(64, 80, 60, 0.09);
    --shadow-lg: 0 25px 70px rgba(64, 80, 60, 0.13);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-pill: 999px;

    /* Container */
    --container: 1180px;

    /* Transition */
    --transition: 0.25s ease;
}

/* =========================================================
   2. RESET & BASE STYLES
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: var(--bg-main);
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

::selection {
    color: var(--text);
    background: var(--yellow-light);
}

/* =========================================================
   3. GLOBAL CONTAINER
========================================================= */

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

/* =========================================================
   4. SECTION & TYPOGRAPHY
========================================================= */

.section {
    position: relative;
    padding: 110px 0;
}

.section-soft {
    background: var(--bg-soft);
}

.section-pink {
    background: var(--bg-pink);
}

.section-yellow {
    background: var(--bg-yellow);
}

.section-heading {
    max-width: 680px;
    margin-bottom: 55px;
}

.section-heading.centered {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 13px;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    width: 24px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--green), var(--pink));
}

.section-heading h2 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    font-weight: 800;
}

.section-heading h2 .gradient-text {
    color: var(--pink-dark);
}

.section-heading p {
    max-width: 590px;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 15px;
}

.section-heading.centered p {
    margin-inline: auto;
}

/* =========================================================
   5. NAVBAR
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 253, 249, 0.11);
    box-shadow: 0 5px 25px rgba(50, 65, 50, 0.07);
    backdrop-filter: blur(14px);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(231, 235, 229, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 5px 25px rgba(50, 65, 50, 0.07);
}

.navbar {
    height: 78px;
}

.navbar-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.navbar-logo,
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-mark {
    width: 35px;
    height: 35px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: linear-gradient(135deg, var(--green-light), var(--yellow-light));
    font-size: 12px;
}

.logo-text span {
    color: var(--pink-dark);
}

/* Navigation */
.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    position: relative;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    transition: color var(--transition);
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 99px;
    background: var(--pink);
    transform: translateX(-50%);
    transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 18px;
}

/* Navbar CTA */
.navbar-cta {
    min-height: 40px;
    padding: 0 17px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text);
    background: var(--yellow-light);
    font-size: 12px;
    font-weight: 700;
    transition: transform var(--transition), background var(--transition);
}

.navbar-cta:hover {
    transform: translateY(-2px);
    background: var(--yellow);
}

.navbar-cta svg {
    width: 14px;
    height: 14px;
}

/* Mobile Toggle */
.navbar-toggle {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: var(--bg-green);
}

.navbar-toggle svg {
    width: 20px;
    height: 20px;
}

/* =========================================================
   6. HERO SECTION
========================================================= */

.hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    top: -200px;
    right: -150px;
    border-radius: 50%;
    background: rgba(249, 220, 226, 0.55);
    filter: blur(10px);
}

.hero::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
    background: rgba(220, 239, 216, 0.6);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 70px;
}

.hero-badge {
    width: fit-content;
    margin-bottom: 22px;
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 700;
}

.hero-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 4px rgba(143, 189, 138, 0.18);
}

.hero-title {
    max-width: 760px;
    font-size: clamp(45px, 6vw, 78px);
    line-height: 1.02;
    letter-spacing: -3px;
    font-weight: 850;
}

.hero-title .green {
    color: var(--green-dark);
}

.hero-title .pink {
    color: var(--pink-dark);
}

.hero-description {
    max-width: 580px;
    margin-top: 24px;
    color: var(--text-secondary);
    font-size: 16px;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* Hero Buttons */
.btn {
    min-height: 46px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn svg {
    width: 15px;
    height: 15px;
}

.btn-primary {
    color: #ffffff;
    background: var(--green-dark);
    box-shadow: 0 10px 25px rgba(100, 141, 96, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(100, 141, 96, 0.28);
}

.btn-secondary {
    color: var(--text);
    background: var(--pink-light);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    background: var(--pink);
}

/* Outline Button */
.btn-outline {
    min-height: 46px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text);
    background: transparent;
    border: 2px solid var(--border);
    transition: transform var(--transition), border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
    transform: translateY(-2px);
    border-color: var(--pink);
    background: var(--pink-light);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: min(100%, 420px);
}

.hero-image {
    width: 100%;
    aspect-ratio: 0.86;
    object-fit: cover;
    border-radius: 45% 45% 22% 22%;
    background: linear-gradient(145deg, var(--green-light), var(--pink-light));
    box-shadow: 20px 25px 60px rgba(50, 70, 50, 0.12);
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
}

.hero-decoration.green {
    width: 85px;
    height: 85px;
    right: -25px;
    top: 20px;
    background: var(--green-light);
}

.hero-decoration.yellow {
    width: 65px;
    height: 65px;
    left: -30px;
    bottom: 60px;
    background: var(--yellow-light);
}

/* =========================================================
   7. ABOUT SECTION
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.about-image {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    margin-inline: auto;
    overflow: hidden;
    border-radius: 28px 28px 28px 90px;
    background: var(--green-light);
    box-shadow: 18px 22px 50px rgba(50, 70, 50, 0.12);
}

.about-profile-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.about-content .section-heading {
    margin-bottom: 18px;
}

.about-content h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.2;
    letter-spacing: -0.8px;
    font-weight: 800;
    margin-bottom: 18px;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.65;
}

.about-content p + p {
    margin-top: 14px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

/* =========================================================
   ABOUT STAT CARDS — REFINED
========================================================= */

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.about-stat-card {
    min-width: 0;
    min-height: 0;
    padding: 22px 18px 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 1),
            rgba(248, 250, 245, 0.72)
        );
    box-shadow: 0 8px 22px rgba(50, 70, 50, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.about-stat-card:hover {
    transform: translateY(-6px);
    border-color: var(--green);
    box-shadow: 0 15px 32px rgba(50, 70, 50, 0.11);
}

/* Icon dan angka tetap satu baris */
.about-stat-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
}

/* Icon */
.about-stat-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    color: var(--green-dark);
}

.about-stat-card:nth-child(2) .about-stat-icon {
    background: var(--pink-light);
    color: var(--pink-dark);
}

.about-stat-card:nth-child(3) .about-stat-icon {
    background: var(--yellow-light);
    color: var(--yellow-dark);
}

.about-stat-icon svg {
    width: 21px;
    height: 21px;
    stroke-width: 2;
}

/* Angka */
.about-stat-card strong {
    display: block;
    margin: 0;
    color: var(--text);
    font-size: clamp(30px, 3vw, 36px);
    line-height: 1;
    font-weight: 850;
    letter-spacing: -1.5px;
}

/* Keterangan di tengah */
.about-stat-card > span {
    display: block;
    width: 100%;
    margin-top: 17px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}

/* Warna aksen tiap card */
.about-stat-card:nth-child(1) {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            rgba(220, 239, 216, 0.42) 100%
        );
}

.about-stat-card:nth-child(2) {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            rgba(249, 220, 226, 0.42) 100%
        );
}

.about-stat-card:nth-child(3) {
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            rgba(255, 240, 184, 0.46) 100%
        );
}


/* =========================================================
   8. SERVICES SECTION
========================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.service-card {
    position: relative;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    border-color: var(--green-light);
    box-shadow: 0 14px 35px rgba(50, 70, 50, 0.1);
}

/* Header: icon + title */
.service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    color: var(--green-dark);
    flex-shrink: 0;
}

.service-card:nth-child(2) .service-icon {
    background: var(--pink-light);
    color: var(--pink-dark);
}

.service-card:nth-child(3) .service-icon {
    background: var(--yellow-light);
    color: var(--yellow-dark);
}

.service-icon svg {
    width: 22px;
    height: 22px;
}

.service-header h3 {
    font-size: 18px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

/* Description */
.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
}

/* Tools / Tech Stack */
.service-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tool-chip {
    padding: 6px 11px;
    border-radius: 99px;
    background: var(--bg-soft);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 650;
    transition: background 0.25s ease, color 0.25s ease;
}

.service-card:hover .tool-chip {
    background: var(--green-light);
    color: var(--green-dark);
}

.service-card:nth-child(2):hover .tool-chip {
    background: var(--pink-light);
    color: var(--pink-dark);
}

.service-card:nth-child(3):hover .tool-chip {
    background: var(--yellow-light);
    color: var(--yellow-dark);
}

/* =========================================================
   9. EDUCATION SECTION — SOFT BUBBLE BACKGROUND
========================================================= */

.education-section {
    position: relative;
    overflow: hidden;
    background: var(--bg-main);
}

/* Bubble hijau kiri atas */
.education-section::before {
    content: "";
    position: absolute;
    top: -155px;
    left: -135px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 42% 42%,
            rgba(220, 239, 216, 0.9) 0%,
            rgba(220, 239, 216, 0.58) 36%,
            rgba(220, 239, 216, 0.2) 66%,
            transparent 78%
        );
    filter: blur(2px);
    pointer-events: none;
}

/* Bubble pink-kuning kanan bawah */
.education-section::after {
    content: "";
    position: absolute;
    right: -165px;
    bottom: -185px;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle at 40% 38%,
            rgba(249, 220, 226, 0.88) 0%,
            rgba(249, 220, 226, 0.54) 34%,
            rgba(255, 240, 184, 0.34) 60%,
            transparent 78%
        );
    filter: blur(2px);
    pointer-events: none;
}

/* Menjaga isi section di atas background */
.education-section .container {
    position: relative;
    z-index: 1;
}

.education-section .section-heading {
    max-width: 680px;
    margin-bottom: 42px;
}

/* =========================================================
   EDUCATION LIST WITHOUT TIMELINE
========================================================= */

.timeline {
    width: min(100%, 980px);
    margin: 0 auto;
}

.timeline::before,
.timeline-dot {
    display: none;
}

.timeline-item {
    padding: 0;
}

/* =========================================================
   MAIN CARD — TETAP PUTIH
========================================================= */

.timeline-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(50, 70, 50, 0.07);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

/* Garis warna di sisi card */
.timeline-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    border-radius: 24px 0 0 24px;
    background:
        linear-gradient(
            to bottom,
            var(--green),
            var(--pink),
            var(--yellow)
        );
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--green-light);
    box-shadow: 0 18px 40px rgba(50, 70, 50, 0.11);
}

/* =========================================================
   HEADER
========================================================= */

.education-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-left: 8px;
}

.education-title {
    min-width: 0;
}

.education-badge {
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.education-badge svg {
    width: 14px;
    height: 14px;
}

.education-title h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(20px, 2.5vw, 27px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.education-subtitle {
    margin: 9px 0 0;
    color: var(--green-dark);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.55;
}

.education-subtitle span {
    margin: 0 4px;
    color: var(--pink-dark);
}

/* Tahun */
.timeline-date {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    background: var(--pink-light);
    color: var(--pink-dark);
    font-size: 10px;
    white-space: nowrap;
}

.timeline-date svg {
    width: 14px;
    height: 14px;
}

/* =========================================================
   DESCRIPTION
========================================================= */

.education-description {
    margin-top: 25px;
    padding: 20px 0 0 8px;
    border-top: 1px solid var(--border);
}

.education-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 9px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
}

.education-label svg {
    width: 16px;
    height: 16px;
    color: var(--green-dark);
}

.education-description p {
    max-width: 850px;
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.8;
}

/* =========================================================
   CERTIFICATION & ACTIVITY
========================================================= */

.education-highlights {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-left: 8px;
}

.education-meta {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
}

.education-meta-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    color: var(--green-dark);
}

.education-meta:nth-child(2) .education-meta-icon {
    background: var(--pink-light);
    color: var(--pink-dark);
}

.education-meta-icon svg {
    width: 17px;
    height: 17px;
}

.education-meta > div:last-child {
    min-width: 0;
}

.education-meta span {
    display: block;
    margin-bottom: 4px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

.education-meta p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 12px;
    line-height: 1.6;
}

.education-meta p strong {
    color: var(--text);
}

/* Gaya dasar elemen link */
.education-meta-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    cursor: pointer;
}

/* Efek gerakan saat kursor mengarah/berada di atas elemen (Hover) */
.education-meta-link:hover {
    transform: translateY(-4px); /* Terangkat 4px ke atas */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); /* Efek bayangan saat melayang */
}

/* Efek saat diklik */
.education-meta-link:active {
    transform: translateY(-1px); /* Sedikit menekan ke bawah saat diklik */
}

/* =========================================================
   STUDY TAGS
========================================================= */

.education-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
    padding-left: 8px;
}

.education-tech span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--bg-soft);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 700;
}

/* =========================================================
   10. EXPERIENCES SECTION — NEW CARD LAYOUT
========================================================= */

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 32px;
}

.exp-card {
    display: grid;
    grid-template-columns: minmax(190px, 0.32fr) 1fr;
    gap: 34px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.exp-card:hover {
    transform: translateY(-5px);
    border-color: var(--green-light);
    box-shadow: 0 14px 35px rgba(50, 70, 50, 0.1);
}

/* KIRI: Company Info */
.exp-card-left {
    padding-right: 24px;
    border-right: 1px solid var(--border);
}

.exp-card-header {
    margin: 0;
}

.exp-company {
    font-size: 18px;
    font-weight: 750;
    line-height: 1.35;
    margin-bottom: 10px;
}

.exp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-secondary);
}

.exp-type {
    padding: 4px 9px;
    border-radius: 99px;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 700;
}

.exp-dot {
    color: var(--text-muted);
    font-size: 12px;
}

.exp-duration {
    color: var(--text-secondary);
    font-size: 12px;
}

/* KANAN: Timeline + Positions */
.exp-card-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    position: relative;
}

/* Garis vertikal utama yang nyambung */
.exp-card-right::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 35px;
    bottom: 32px;
    width: 2px;
    background: linear-gradient(to bottom, var(--pink-light), transparent);
}

.exp-item {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    min-width: 0;
    position: relative;
}

/* Timeline Bullet */
.exp-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline-bullet {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 50%;
    background: var(--pink);
    display: block;
    margin-top: 30px;
    position: relative;
    z-index: 2;
}

/* Content */
.exp-content {
    min-width: 0;
    padding-bottom: 32px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--border);
}

/* Position pertama: margin-top 0 */
.exp-content:first-child {
    margin-top: 0;
}

/* Position kedua dan seterusnya: margin-top untuk gap dari sertifikat sebelumnya */
.exp-content:not(:first-child) {
    margin-top: 24px;
}

.exp-content:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.exp-position {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 17px;
    font-weight: 750;
    line-height: 1.35;
}

.exp-description ul {
    padding-left: 17px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

.exp-description li {
    margin-bottom: 6px;
}

.exp-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 14px;
}

.tech-badge {
    padding: 5px 9px;
    border-radius: 7px;
    background: var(--bg-soft);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 650;
}

/* Certificate */
.exp-certificate {
    margin-top: 18px;
}

.btn-cert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--yellow-light);
    color: var(--yellow-dark);
    font-size: 11px;
    font-weight: 750;
    transition: background 0.25s ease;
}

.btn-cert:hover {
    background: var(--yellow);
}

.btn-cert svg {
    width: 14px;
    height: 14px;
}


/* =========================================================
   11. PROJECTS SECTION
========================================================= */

.projects-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.projects-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 48px) / 3);
    grid-template-columns: none;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
    padding: 4px;
}

.projects-slider::-webkit-scrollbar {
    display: none;
}

.projects-slider-btn {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 6px 18px rgba(50, 70, 50, 0.08);
}

.projects-slider-btn:hover {
    transform: scale(1.05);
    background: var(--green-light);
    border-color: var(--green);
}

.projects-slider-btn svg {
    width: 20px;
    height: 20px;
}

/* Card */
.project-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: #ffffff;
    overflow: hidden;
    scroll-snap-align: start;
    min-width: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    width: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--green-light);
    box-shadow: 0 14px 35px rgba(50, 70, 50, 0.1);
}

/* Image */
.project-image-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-green);
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-green);
    color: var(--text-muted);
}

.project-image-placeholder svg {
    width: 32px;
    height: 32px;
}

/* Badge Kategori */
.project-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

/* Content */
.project-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.project-content h3 {
    font-size: 16px;
    font-weight: 750;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.project-content p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* Tech Stack */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.project-tech span {
    padding: 5px 8px;
    border-radius: 7px;
    background: var(--bg-soft);
    color: var(--text-secondary);
    font-size: 10px;
    font-weight: 650;
}

/* Links */
.project-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.project-link {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.25s ease;
}

.project-link:hover {
    transform: translateY(-2px);
    background: var(--green);
}

.project-link svg {
    width: 14px;
    height: 14px;
}

.project-link.secondary {
    background: var(--pink-light);
    color: var(--pink-dark);
}

.project-link.secondary:hover {
    background: var(--pink);
}

/* =========================================================
   12. SKILLS SECTION — SOFT MESH GRADIENT
========================================================= */

.skills-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    background:
        radial-gradient(
            ellipse 38% 28% at 18% 18%,
            rgba(220, 239, 216, 0.7) 0%,
            rgba(220, 239, 216, 0.26) 58%,
            transparent 100%
        ),
        radial-gradient(
            ellipse 34% 26% at 82% 16%,
            rgba(255, 240, 184, 0.62) 0%,
            rgba(255, 240, 184, 0.22) 58%,
            transparent 100%
        ),
        radial-gradient(
            ellipse 42% 32% at 72% 86%,
            rgba(249, 220, 226, 0.68) 0%,
            rgba(249, 220, 226, 0.22) 58%,
            transparent 100%
        ),
        linear-gradient(
            180deg,
            #fffdf9 0%,
            #fafbf7 48%,
            #fffaf2 100%
        );
}

/* Sapuan warna hijau diagonal */
.skills-section::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 18%;
    left: -8%;
    width: 58%;
    height: 42%;
    border-radius: 45% 55% 38% 62%;
    background:
        linear-gradient(
            115deg,
            rgba(143, 189, 138, 0.22),
            rgba(220, 239, 216, 0.08) 52%,
            transparent 100%
        );
    transform: rotate(-12deg);
    filter: blur(18px);
    pointer-events: none;
}

/* Sapuan warna pink-kuning melengkung */
.skills-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -10%;
    bottom: 10%;
    width: 62%;
    height: 38%;
    border-radius: 65% 35% 55% 45%;
    background:
        linear-gradient(
            115deg,
            rgba(249, 220, 226, 0.08),
            rgba(249, 220, 226, 0.3) 48%,
            rgba(255, 240, 184, 0.24)
        );
    transform: rotate(10deg);
    filter: blur(20px);
    pointer-events: none;
}

.skills-section .container {
    position: relative;
    z-index: 1;
}

/* =========================================================
   SKILLS GRID
========================================================= */

.skills-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 18px;
    margin-top: 32px;
}

/* Card skill tetap sama */
.skill-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: var(--green);
    box-shadow: 0 12px 30px rgba(50, 70, 50, 0.1);
}

.skill-card i {
    font-size: 36px;
    line-height: 1;
}

.skill-card span {
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 650;
    text-align: center;
}


/* =========================================================
   13. CONTACT SECTION — COMPACT MERGED CARD
========================================================= */

.contact-section {
    background: var(--bg-main);
}

/* Main card */
.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 24px;
    width: min(100%, 1040px);
    margin: 28px auto 0;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(50, 70, 50, 0.055);
}

/* =========================================================
   CONTACT INFORMATION
========================================================= */

.contact-info h3,
.contact-form-wrapper h3 {
    margin-bottom: 10px;
    color: var(--text);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
}

.contact-info > p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.65;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

/* Email and location cards */
.contact-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-item:hover {
    transform: translateY(-2px);
    border-color: var(--green-light);
    box-shadow: 0 8px 18px rgba(50, 70, 50, 0.07);
}

/* Icon base */
.contact-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--green-light);
    color: var(--green-dark);
}

.contact-icon svg {
    width: 16px;
    height: 16px;
}

/* Email / item first */
.contact-item:nth-child(1) .contact-icon {
    background: var(--green-light);
    color: var(--green-dark);
}

/* Location / item second */
.contact-item:nth-child(2) .contact-icon {
    background: var(--pink-light);
    color: var(--pink-dark);
}

/* Label */
.contact-item span {
    display: block;
    margin-bottom: 2px;
    color: var(--text-muted);
    font-size: 9px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.55px;
    text-transform: uppercase;
}

/* Value */
.contact-item strong {
    display: block;
    overflow-wrap: anywhere;
    color: var(--text);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
}

.contact-item a {
    color: var(--text);
    transition: color 0.25s ease;
}

.contact-item a:hover {
    color: var(--green-dark);
}

/* =========================================================
   FREELANCE STATUS — FULL WIDTH BELOW EMAIL + LOCATION
========================================================= */

.contact-item:nth-child(3) {
    grid-column: 1 / -1;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-color: rgba(242, 212, 122, 0.45);
    background: linear-gradient(
        135deg,
        rgba(255, 248, 223, 0.95),
        rgba(255, 255, 255, 0.96)
    );
}

.contact-item:nth-child(3):hover {
    border-color: var(--yellow);
    box-shadow: 0 8px 20px rgba(201, 169, 67, 0.1);
}

/* Freelance icon dibuat lebih besar */
.contact-item:nth-child(3) .contact-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: var(--yellow-light);
    color: var(--yellow-dark);
}

.contact-item:nth-child(3) .contact-icon svg {
    width: 20px;
    height: 20px;
}

/* Text freelance sedikit lebih menonjol */
.contact-item:nth-child(3) strong {
    font-size: 13px;
    font-weight: 700;
}

/* =========================================================
   FREELANCE PLATFORM CONTENT
========================================================= */

.freelance-item {
    align-items: flex-start !important;
}

.freelance-content {
    min-width: 0;
    flex: 1;
}

.freelance-content strong {
    margin-bottom: 11px;
}

.freelance-platforms {
    margin-top: 10px;
}

.contact-socials.freelance-platforms a {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(201, 169, 67, 0.16);
    background: rgba(255, 255, 255, 0.75);
}

.contact-socials.freelance-platforms a:hover {
    border-color: var(--yellow);
    background: #ffffff;
}

.platform-icon {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
    border-radius: 4px;
}


/* =========================================================
   KOTAK FREELANCE
========================================================= */

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.contact-socials a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-soft);
    color: var(--text-secondary);
    font-size: 15px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.contact-socials a:hover {
    transform: translateY(-3px);
    background: var(--yellow-light);
    color: var(--text);
}

.contact-socials a svg {
    width: 16px;
    height: 16px;
}

/* =========================================================
   CV DOWNLOAD CARD — FULL WIDTH
========================================================= */

.cv-card {
    width: 100%;
    min-height: 82px;
    margin-top: 16px;
    padding: 16px 18px;
    border: 1px solid rgba(233, 166, 180, 0.35);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(
        135deg,
        rgba(249, 220, 226, 0.8),
        rgba(255, 255, 255, 0.98)
    );
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.cv-card:hover {
    transform: translateY(-3px);
    border-color: var(--pink);
    box-shadow: 0 10px 24px rgba(201, 121, 138, 0.13);
}

.cv-card-icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-light);
    color: var(--pink-dark);
}

.cv-card-icon svg {
    width: 21px;
    height: 21px;
}

.cv-card-content {
    min-width: 0;
    flex: 1;
}

.cv-card-label {
    display: block;
    margin-bottom: 3px;
    color: var(--pink-dark);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.cv-card-content strong {
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

.cv-card-content p {
    margin: 3px 0 0;
    color: var(--text-secondary);
    font-size: 11px;
    line-height: 1.45;
}

.cv-download-btn {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--pink-dark);
    color: #ffffff;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.cv-download-btn:hover {
    transform: translateY(-2px);
    background: var(--green-dark);
}

.cv-download-btn svg {
    width: 17px;
    height: 17px;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-wrapper {
    width: 100%;
    min-width: 0;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--bg-soft);
}

.contact-form-wrapper h3 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 20px;
    font-weight: 750;
    line-height: 1.3;
}

/* Form utama */
.contact-form {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Name + Email */
.form-row {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

/* Setiap field */
.form-group {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
}

.form-group input,
.form-group textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    line-height: 1.5;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.form-group input {
    height: 43px;
    padding: 0 13px;
}

.form-group textarea {
    min-height: 125px;
    padding: 11px 13px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

.form-group input:hover,
.form-group textarea:hover {
    border-color: #d4ddd2;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--green);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(143, 189, 138, 0.15);
}

/* Tombol submit */
.contact-form .btn {
    min-height: 43px;
    margin-top: 3px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.contact-form .btn svg {
    width: 16px;
    height: 16px;
}


/* =========================================================
   14. FOOTER
========================================================= */

.site-footer {
    padding: 70px 0 25px;
    background: #f3f7f1;
    border-top: 1px solid var(--border);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 0.7fr 0.8fr 1fr;
    gap: 45px;
    padding-bottom: 50px;
}

.footer-brand p {
    max-width: 300px;
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 11px;
}

.footer-socials {
    margin-top: 20px;
    display: flex;
    gap: 7px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: var(--text-secondary);
    transition: transform var(--transition), background var(--transition), color var(--transition);
}

.footer-socials a:hover {
    transform: translateY(-2px);
    color: var(--text);
    background: var(--yellow-light);
}

.footer-socials svg,
.footer-socials i {
    width: 15px;
    height: 15px;
    font-size: 15px;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 750;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-column li,
.footer-column a {
    color: var(--text-secondary);
    font-size: 10px;
}

.footer-column a:hover {
    color: var(--pink-dark);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--text-secondary);
    font-size: 10px;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--green-dark) !important;
    font-size: 10px !important;
    font-weight: 700;
}

.footer-email svg {
    width: 13px;
    height: 13px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 9px;
}

.footer-bottom-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--text-secondary);
    font-size: 9px;
}

.footer-bottom-links svg {
    width: 12px;
    height: 12px;
}

/* =========================================================
   15. BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: var(--yellow-light);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    z-index: 900;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--yellow);
}

.back-to-top svg {
    width: 17px;
    height: 17px;
}

/* =========================================================
   16. ANIMATION
========================================================= */

.fade-up {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.float {
    animation: float 4s ease-in-out infinite;
}

/* =========================================================
   FINAL RESPONSIVE SYSTEM
   Semua responsive diletakkan di bagian paling bawah
========================================================= */


/* =========================================================
   1. LARGE TABLET — maksimal 1100px
   Mengatur container, jarak layout, about, skills, dan footer
========================================================= */

@media (max-width: 1100px) {

    .container {
        width: min(calc(100% - 36px), var(--container));
        max-width: 100%;
    }

    .navbar-menu {
        gap: 22px;
    }

    .hero-container {
        gap: 40px;
    }

    .about-grid {
        gap: 45px;
    }

    .about-stats {
        gap: 12px;
    }

    .about-stat-card {
        padding: 20px 14px 18px;
    }

    .about-stat-top {
        gap: 9px;
    }

    .about-stat-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .about-stat-card strong {
        font-size: 30px;
    }

    .about-stat-card > span {
        font-size: 13px;
    }

    .skills-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .footer-top {
        gap: 30px;
    }
}


/* =========================================================
   2. TABLET — maksimal 900px
   Mengubah navbar menjadi menu mobile dan merapikan layout
========================================================= */

@media (max-width: 900px) {

    .section {
        padding: 85px 0;
    }

    .container {
        width: calc(100% - 32px);
        max-width: 100%;
    }


    /* =====================================================
       NAVBAR TABLET
    ===================================================== */

    .site-header {
        background: rgba(255, 255, 255, 0.94);
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }

    .site-header.scrolled {
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 5px 25px rgba(50, 65, 50, 0.07);
    }

    .navbar-menu {
        position: fixed;
        top: 78px;
        left: 16px;
        right: 16px;
        width: auto;
        max-width: none;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-lg);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);
        transition:
            opacity var(--transition),
            visibility var(--transition),
            transform var(--transition);
    }

    .navbar-menu.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        padding: 12px;
        color: var(--text);
        border-radius: 9px;
    }

    .nav-link:hover {
        background: var(--bg-green);
    }

    .nav-link::after {
        display: none;
    }

    .navbar-cta {
        display: none;
    }

    .navbar-toggle {
        display: flex;
        background: var(--bg-green);
        color: var(--text);
    }

    .navbar-toggle:hover {
        background: var(--green);
        color: #ffffff;
    }


    /* =====================================================
       HERO TABLET
    ===================================================== */

    .hero {
        min-height: auto;
        padding-top: 135px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 45px;
        text-align: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 0;
    }

    .hero-description {
        max-width: 620px;
        margin-inline: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image-wrapper {
        width: min(75%, 350px);
    }


    /* =====================================================
       ABOUT TABLET
    ===================================================== */

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        width: min(70%, 400px);
        max-width: 400px;
        margin-inline: auto;
    }

    .about-content {
        min-width: 0;
    }

    .about-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }


    /* =====================================================
       SERVICES TABLET
    ===================================================== */

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        min-width: 0;
    }


    /* =====================================================
       EDUCATION TABLET
    ===================================================== */

    .timeline {
        width: 100%;
        max-width: 100%;
    }

    .timeline-content {
        min-width: 0;
    }


    /* =====================================================
       EXPERIENCES TABLET
    ===================================================== */

    .exp-card {
        grid-template-columns: 1fr;
        gap: 20px;
        min-width: 0;
    }

    .exp-card-left {
        padding-right: 0;
        padding-bottom: 16px;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .exp-card-right {
        min-width: 0;
    }

    .exp-card-right::before {
        display: none;
    }

    .exp-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .exp-timeline {
        display: none;
    }

    .exp-content {
        padding-bottom: 24px;
        margin-bottom: 24px;
        border-bottom: none;
    }

    .exp-content:not(:first-child) {
        margin-top: 18px;
    }

    .exp-content:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
    }


    /* =====================================================
       PROJECTS TABLET
       Tetap satu baris horizontal.
       Dua project terlihat dalam satu area tablet.
    ===================================================== */

    .projects-slider-wrapper {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .projects-slider {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: calc((100% - 24px) / 2);
        grid-template-columns: none;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding: 4px;
    }

    .projects-slider::-webkit-scrollbar {
        display: none;
    }

    .project-card {
        width: 100%;
        min-width: 0;
        scroll-snap-align: start;
    }


    /* =====================================================
       SKILLS TABLET
    ===================================================== */

    .skills-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }


    /* =====================================================
       CONTACT TABLET
    ===================================================== */

    .contact-card {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .contact-info,
    .contact-form-wrapper {
        min-width: 0;
    }

    .contact-form-wrapper {
        padding: 21px;
    }


    /* =====================================================
       FOOTER TABLET
    ===================================================== */

    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   3. MOBILE — maksimal 700px
   Mengatur education dan experience
========================================================= */

@media (max-width: 700px) {

    .education-section::before {
        top: -110px;
        left: -155px;
        width: 310px;
        height: 310px;
    }

    .education-section::after {
        right: -145px;
        bottom: -130px;
        width: 350px;
        height: 350px;
    }

    .timeline-content {
        padding: 23px 20px;
        border-radius: 20px;
    }

    .timeline-content::before {
        width: 4px;
        border-radius: 20px 0 0 20px;
    }

    .education-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .education-title h3 {
        font-size: 20px;
    }

    .education-subtitle {
        font-size: 12px;
    }

    .timeline-date {
        font-size: 9px;
    }

    .education-description {
        margin-top: 20px;
        padding-top: 17px;
    }

    .education-description p {
        font-size: 12px;
        line-height: 1.7;
    }

    .education-meta {
        padding: 12px;
    }

    .education-meta p {
        font-size: 11px;
    }

    .exp-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px;
    }

    .exp-company,
    .exp-position {
        overflow-wrap: anywhere;
    }

    .exp-description ul {
        font-size: 12px;
    }
}


/* =========================================================
   4. MOBILE — maksimal 600px
   Layout khusus HP
========================================================= */

@media (max-width: 600px) {

    /* =====================================================
       GLOBAL MOBILE
    ===================================================== */

    .container {
        width: calc(100% - 28px);
        max-width: 100%;
    }

    .section {
        padding: 70px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 31px;
        letter-spacing: -1px;
    }

    .section-heading p {
        font-size: 13px;
    }


    /* =====================================================
       NAVBAR MOBILE
    ===================================================== */

    .navbar {
        height: 68px;
    }

    .navbar-menu {
        top: 68px;
        left: 14px;
        right: 14px;
        padding: 16px;
    }

    .navbar-logo {
        font-size: 16px;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
    }


    /* =====================================================
       HERO MOBILE
    ===================================================== */

    .hero {
        min-height: auto;
        padding: 120px 0 70px;
    }

    .hero-title {
        max-width: 100%;
        font-size: clamp(39px, 12vw, 57px);
        letter-spacing: -2px;
        overflow-wrap: anywhere;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-image-wrapper {
        width: min(82%, 330px);
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .hero-actions .btn,
    .hero-actions .btn-outline {
        width: 100%;
    }


    /* =====================================================
       ABOUT MOBILE
    ===================================================== */

    .about-image {
        width: 85%;
    }

    .about-content p {
        font-size: 12px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-stat-card {
        padding: 20px 18px;
    }

    .about-stat-top {
        justify-content: flex-start;
        gap: 12px;
    }

    .about-stat-icon {
        width: 44px;
        height: 44px;
        flex-basis: 44px;
    }

    .about-stat-card strong {
        font-size: 32px;
    }

    .about-stat-card > span {
        margin-top: 15px;
        font-size: 14px;
        text-align: left;
    }


    /* =====================================================
       SERVICES MOBILE
    ===================================================== */

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 23px;
    }


    /* =====================================================
       EDUCATION MOBILE
    ===================================================== */

    .education-description {
        padding-left: 0;
    }

    .education-highlights,
    .education-tech {
        padding-left: 0;
    }


    /* =====================================================
       PROJECTS MOBILE
       Hanya 1 project terlihat.
       Project lain digeser memakai tombol < dan >.
    ===================================================== */

    .projects-slider-wrapper {
        width: 100%;
        max-width: 100%;
        gap: 8px;
        min-width: 0;
    }

    .projects-slider {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        grid-template-columns: none;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding: 3px;
    }

    .projects-slider::-webkit-scrollbar {
        display: none;
    }

    .project-card {
        width: 100%;
        min-width: 0;
        scroll-snap-align: start;
    }

    .projects-slider-btn {
        width: 38px;
        height: 38px;
        flex: 0 0 38px;
    }

    .project-content {
        padding: 18px;
    }

    .project-links {
        flex-wrap: wrap;
    }

    .project-link {
        flex: 1 1 auto;
    }


    /* =====================================================
       SKILLS MOBILE
       Menampilkan 2 baris × 3 kolom.
       Skill berikutnya berada di kolom horizontal berikutnya.
    ===================================================== */

    .skills-section {
        background:
            radial-gradient(
                ellipse 58% 22% at 10% 12%,
                rgba(220, 239, 216, 0.58),
                transparent 100%
            ),
            radial-gradient(
                ellipse 55% 24% at 92% 84%,
                rgba(249, 220, 226, 0.54),
                transparent 100%
            ),
            linear-gradient(
                180deg,
                #fffdf9 0%,
                #fafbf7 52%,
                #fffaf2 100%
            );
    }

    .skills-section::before {
        top: 22%;
        left: -28%;
        width: 95%;
        height: 25%;
        filter: blur(20px);
    }

    .skills-section::after {
        right: -30%;
        bottom: 12%;
        width: 100%;
        height: 25%;
        filter: blur(22px);
    }

    .skills-grid {
        display: grid;
        grid-auto-flow: column;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        grid-template-columns: none;
        grid-auto-columns: calc((100% - 24px) / 3);
        gap: 12px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        padding: 3px;
    }

    .skills-grid::-webkit-scrollbar {
        display: none;
    }

    .skill-card {
        width: 100%;
        min-width: 0;
        min-height: 112px;
        scroll-snap-align: start;
        padding: 16px 10px;
    }

    .skill-card i {
        font-size: 30px;
    }

    .skill-card span {
        font-size: 11px;
        line-height: 1.35;
    }


    /* =====================================================
       CONTACT MOBILE
    ===================================================== */

    .contact-card {
        padding: 22px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-item:nth-child(3) {
        grid-column: auto;
    }

    .contact-form-wrapper {
        padding: 18px;
        border-radius: 14px;
    }

    .contact-form-wrapper h3 {
        font-size: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .form-group input {
        height: 42px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .contact-form .btn {
        width: 100%;
        align-self: stretch;
    }


    /* =====================================================
       CV CARD MOBILE
    ===================================================== */

    .cv-card {
        min-height: 76px;
        padding: 13px 14px;
        gap: 11px;
    }

    .cv-card-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .cv-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .cv-card-content strong {
        font-size: 12px;
    }

    .cv-card-content p {
        font-size: 10px;
    }

    .cv-download-btn {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .cv-download-btn svg {
        width: 15px;
        height: 15px;
    }


    /* =====================================================
       FOOTER MOBILE
    ===================================================== */

    .site-footer {
        padding-top: 55px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-bottom: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
}


/* =========================================================
   5. SMALL MOBILE — maksimal 380px
   Tetap 2 baris × 3 kolom untuk skill
========================================================= */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 22px);
    }

    .hero-title {
        font-size: 37px;
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .hero-image-wrapper {
        width: 88%;
    }

    .contact-card {
        padding: 16px;
    }

    .contact-form-wrapper {
        padding: 16px;
    }

    .skills-grid {
        grid-template-rows: repeat(2, minmax(0, 1fr));
        grid-auto-columns: calc((100% - 20px) / 3);
        gap: 10px;
    }

    .skill-card {
        min-height: 104px;
        padding: 14px 8px;
    }

    .skill-card i {
        font-size: 27px;
    }

    .skill-card span {
        font-size: 10px;
    }

    .projects-slider-btn {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }
}


/* =========================================================
   6. PROJECT BUTTON STATE
   Mengatur tampilan tombol saat berada di ujung slider
========================================================= */

.projects-slider-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    transform: none;
}

.projects-slider-btn:disabled:hover {
    background: #ffffff;
    border-color: var(--border);
}


/* =========================================================
   7. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}