
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --navy: #203e62;
    --blue: #477fb4;
    --sky: #dcecf9;
    --pale: #f0f6fc;
    --white: #ffffff;
    --text: #35465b;
    --muted: #8391a3;
    --line: #e6ecf3;
}

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

body {
    font-family: 'DM Sans', Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 0% 0%,
            #dceafa 0, transparent 32%),
        #f1f4f8;
    padding: 38px 18px;
    line-height: 1.7;
}

.cv-container {
    max-width: 920px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* HEADER BIRU */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 27px;

    padding: 38px 35px;
    border-radius: 20px;
    color: white;

    background: linear-gradient(
        120deg,
        #183653 0%,
        #285681 65%,
        #467fad 100%
    );

    box-shadow: 0 14px 35px rgba(32, 62, 98, 0.16);
}

.hero-decoration {
    position: absolute;
    z-index: -1;
    width: 280px;
    height: 280px;
    right: -70px;
    top: -140px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 50%;
    box-shadow:
        0 0 0 25px rgba(255,255,255,.035),
        0 0 0 55px rgba(255,255,255,.025);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: 120px;
    height: 120px;
    right: 95px;
    bottom: -85px;
    border-radius: 50%;
    background: rgba(177, 219, 250, .15);
}

.avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 29px;
    font-weight: 800;
    letter-spacing: 2px;

    border: 2px solid rgba(255,255,255,.85);
    border-radius: 50%;
    background: linear-gradient(145deg, #8dc4ec, #386c9c);

    box-shadow: 0 0 0 7px rgba(255,255,255,.09);
}

.hero-text {
    flex: 1;
    min-width: 0;
}

.eyebrow {
    display: block;
    color: #b9ddf7;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 9px;
}

.hero h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.hero-text > p {
    color: #d4e5f5;
    font-size: 13px;
    margin-top: 7px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.hero-tags span {
    padding: 5px 10px;
    font-size: 10px;
    color: #e8f5ff;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 20px;
    background: rgba(255,255,255,.09);
}

.hero-number {
    position: absolute;
    right: 22px;
    bottom: 5px;
    color: rgba(255,255,255,.09);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

/* KARTU UMUM */
.card {
    padding: 28px 30px;
    background: var(--white);
    border: 1px solid #e8edf4;
    border-radius: 16px;
    box-shadow: 0 6px 22px rgba(33, 58, 85, .035);
    transition: border-color .25s ease,
                box-shadow .25s ease,
                transform .25s ease;
}

.card:hover {
    border-color: #d4e4f4;
    box-shadow: 0 10px 28px rgba(33, 58, 85, .07);
}

/* JUDUL SETIAP KARTU */
.section-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 23px;
}

.section-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: 800;
    color: var(--blue);

    background: #eaf3fb;
    border: 1px solid #dbeaf7;
    border-radius: 11px;
}

.section-heading h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--navy);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.section-heading p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

/* KARTU BIODATA */
.biodata {
    border-top: 4px solid #6da6d9;
}

.biodata-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.data-item {
    min-width: 0;
    padding: 13px 15px;
    background: #f6f9fd;
    border: 1px solid #eaf0f7;
    border-radius: 9px;
    transition: background .2s ease,
                border-color .2s ease;
}

.data-item:hover {
    background: #edf5fc;
    border-color: #d7e7f6;
}

.data-item span {
    display: block;
    color: #7c8ca0;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 4px;
}

.data-item p {
    color: #2c435f;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* KARTU TENTANG SAYA: BIRU MUDA */
.about-card {
    position: relative;
    overflow: hidden;
    padding: 30px;
    border: 1px solid #d7e8f7;
    border-radius: 16px;

    background: linear-gradient(
        130deg,
        #e7f2fc 0%,
        #f2f8fd 58%,
        #e3effb 100%
    );
}

.about-card::after {
    content: "“";
    position: absolute;
    right: 17px;
    top: -24px;
    color: rgba(71, 127, 180, .10);
    font-family: Georgia, serif;
    font-size: 150px;
    line-height: 1;
    pointer-events: none;
}

.about-card .section-number {
    color: white;
    background: #477fb4;
    border-color: #477fb4;
}

.about-card .section-heading,
.about-card > p,
.quote-line {
    position: relative;
    z-index: 1;
}

.about-card > p {
    font-size: 13px;
    line-height: 2;
    color: #4c6078;
    text-align: left;
}

.quote-line {
    margin-top: 19px;
    padding: 12px 15px;
    border-left: 3px solid #548fbe;
    border-radius: 0 8px 8px 0;
    background: rgba(255,255,255,.65);

    color: #345d83;
    font-size: 11px;
    font-style: italic;
}

/* PENDIDIKAN */
.timeline {
    margin-left: 7px;
    padding-left: 23px;
    border-left: 2px solid #e1edf8;
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

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

.timeline-item::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 5px;
    width: 10px;
    height: 10px;
    border: 3px solid white;
    border-radius: 50%;
    background: #528ec3;
    box-shadow: 0 0 0 2px #d8e8f7;
}

.year {
    display: inline-block;
    padding: 4px 9px;
    color: #477fb4;
    background: #edf5fc;
    border: 1px solid #dcebf8;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-item h3,
.experience-box h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #263e59;
    font-size: 14px;
    margin-bottom: 3px;
}

.timeline-item p,
.experience-box > p {
    font-size: 12px;
    color: #6c7c90;
    line-height: 1.9;
}

.timeline-item small {
    font-size: 11px;
    color: #93a0b0;
}

/* ORGANISASI */
.experience-box {
    padding: 20px;
    background: #f7f9fc;
    border: 1px solid #e8eef5;
    border-radius: 11px;
    border-left: 4px solid #6da6d9;
}

.label {
    display: inline-block;
    margin-bottom: 11px;
    color: #477fb4;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.experience-box .position {
    color: #477fb4;
    font-weight: 700;
    margin-bottom: 9px;
}

/* KETERAMPILAN */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skills span {
    padding: 8px 13px;
    color: #345a7d;
    background: #edf5fc;
    border: 1px solid #dceaf7;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 600;
    transition: .2s ease;
}

.skills span::before {
    content: "✦";
    color: #6098c9;
    margin-right: 7px;
}

.skills span:hover {
    background: #dcecf9;
    transform: translateY(-2px);
}

/* HOBI */
.hobby-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.hobby-item {
    padding: 19px;
    border: 1px solid #e3ebf4;
    border-radius: 12px;
    background: linear-gradient(145deg, #f4f8fd, #ffffff);
    transition: .25s ease;
}

.hobby-item:hover {
    transform: translateY(-3px);
    border-color: #c7ddef;
    box-shadow: 0 8px 20px rgba(32, 62, 98, .06);
}

.hobby-item > span {
    display: block;
    color: #6296c3;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.hobby-item h3 {
    color: var(--navy);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    margin-bottom: 6px;
}

.hobby-item p {
    color: #7b899a;
    font-size: 11px;
    line-height: 1.8;
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 10px 15px 18px;
}

.footer-line {
    width: 45px;
    height: 3px;
    margin: 0 auto 15px;
    border-radius: 5px;
    background: linear-gradient(90deg, #477fb4, #a7d9f2);
}

.footer p {
    color: #536a83;
    font-size: 12px;
    font-weight: 700;
}

.footer span {
    display: block;
    margin-top: 5px;
    color: #9aa6b5;
    font-size: 9px;
    letter-spacing: 2px;
}

/* RESPONSIVE TABLET */
@media (max-width: 650px) {
    body {
        padding: 17px 10px;
    }

    .cv-container {
        gap: 14px;
    }

    .hero {
        padding: 27px 21px;
        gap: 18px;
        border-radius: 15px;
    }

    .avatar {
        width: 75px;
        height: 75px;
        font-size: 23px;
    }

    .hero h1 {
        font-size: 20px;
    }

    .hero-number {
        font-size: 50px;
    }

    .card,
    .about-card {
        padding: 22px 19px;
        border-radius: 13px;
    }

    .section-heading {
        gap: 11px;
        margin-bottom: 19px;
    }

    .section-number {
        width: 35px;
        height: 35px;
    }

    .section-heading h2 {
        font-size: 15px;
    }

    .data-item {
        padding: 11px;
    }

    .data-item p {
        font-size: 11px;
    }

    .hobby-grid {
        grid-template-columns: 1fr;
    }
}

/* HP KECIL */
@media (max-width: 390px) {
    .hero {
        align-items: flex-start;
        gap: 14px;
        padding: 23px 16px;
    }

    .avatar {
        width: 58px;
        height: 58px;
        font-size: 18px;
    }

    .hero h1 {
        font-size: 17px;
    }

    .eyebrow {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .hero-text > p {
        font-size: 11px;
    }

    .hero-tags span {
        font-size: 9px;
    }

    .biodata-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .about-card {
        padding: 19px 15px;
    }
}

/* ANIMASI RAMAH PENGGUNA */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}