        @import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

        :root {
            --text-dark: #2c2c2c;
            --text-gray: #555555;
            --bg-dark: #2c2c2c;
            --dot-filled: #777777;
            --dot-empty: #e0e0e0;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', sans-serif;
        }

        body {
            background-color: #f3f4f6;
            color: var(--text-dark);
            line-height: 1.6;
            padding: 2rem;
        }

        .cv-wrapper {
            max-width: 950px;
            margin: 0 auto;
            background: #ffffff;
            display: flex;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        /* SIDEBAR (Left Column) */
        .sidebar {
            width: 38%;
            padding: 3.5rem 2rem;
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }

        .profile-header {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

        .photo-container {
            background-color: #e5e4e2;
            padding: 1rem;
            margin-bottom: 2rem;
            display: inline-block;
        }

        .photo-container img {
            width: 220px;
            height: 220px;
            object-fit: cover;
            display: block;
        }

        .name {
            font-size: 3rem;
            line-height: 1.05;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--bg-dark);
            margin-bottom: 0.5rem;
            letter-spacing: -1px;
        }

        .role {
            font-size: 1.1rem;
            font-style: italic;
            text-transform: uppercase;
            font-weight: 500;
            letter-spacing: 2px;
            color: var(--text-gray);
        }

        /* Shared Section Title */
        .section-title {
            background-color: var(--bg-dark);
            color: #ffffff;
            padding: 0.6rem 1.5rem;
            border-radius: 50px;
            font-size: 1.3rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 0.8rem;
            margin-bottom: 1.5rem;
        }

        .section-title svg {
            width: 24px;
            height: 24px;
        }

        /* Contact Section */
        .contact-list {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
            padding-left: 0.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            font-size: 0.95rem;
            color: var(--text-dark);
            font-weight: 500;
        }

        .contact-item svg {
            width: 20px;
            height: 20px;
            flex-shrink: 0;
            color: var(--bg-dark);
        }

        /* Skills Section */
        .skills-list {
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
            padding-left: 0.5rem;
        }

        .skill-category-title {
            font-size: 0.75rem;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--text-gray);
            margin-top: 0.5rem;
            margin-bottom: 0.1rem;
            border-bottom: 1px solid #e0e0e0;
            padding-bottom: 0.2rem;
        }

        .skill-category-title:first-child {
            margin-top: 0;
        }

        .skill {
            display: flex;
            flex-direction: column;
            gap: 0.4rem;
        }

        .skill-name {
            font-size: 1.05rem;
            font-weight: 600;
            color: var(--text-dark);
        }

        .dots {
            display: flex;
            gap: 0.3rem;
        }

        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--dot-empty);
        }

        .dot.filled {
            background-color: var(--dot-filled);
        }

        /* MAIN CONTENT (Right Column) */
        .main-content {
            width: 62%;
            padding: 3.5rem 2.5rem 3.5rem 1rem;
            display: flex;
            flex-direction: column;
            gap: 2.5rem;
        }

        .about-text {
            font-size: 0.95rem;
            color: var(--text-gray);
            line-height: 1.7;
            text-align: justify;
        }

        /* Timeline (Education & Experience) */
        .timeline {
            position: relative;
            padding-left: 2.5rem;
        }

        .timeline::before {
            content: '';
            position: absolute;
            left: 0.6rem;
            top: 0.5rem;
            bottom: 0;
            width: 3px;
            background-color: var(--bg-dark);
        }

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

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

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -2.25rem;
            top: 0.4rem;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background-color: var(--bg-dark);
        }

        .tl-title {
            font-size: 1.15rem;
            font-weight: 700;
            color: var(--text-dark);
            margin-bottom: 0.2rem;
        }

        .tl-date {
            font-size: 0.9rem;
            font-weight: 600;
            color: var(--text-gray);
            margin-bottom: 0.1rem;
        }

        .tl-subtitle {
            font-size: 1rem;
            font-weight: 600;
            color: var(--text-dark);
            margin-bottom: 0.5rem;
        }

        .tl-desc {
            font-size: 0.9rem;
            color: var(--text-gray);
            line-height: 1.6;
        }

        .tl-desc ul {
            padding-left: 1rem;
        }

        .tl-desc li {
            margin-bottom: 0.3rem;
        }

        /* Responsive */
        @media screen and (max-width: 768px) {
            .cv-wrapper {
                flex-direction: column;
            }

            .sidebar,
            .main-content {
                width: 100%;
                padding: 2rem;
            }

            .photo-container {
                align-self: center;
            }

            .name,
            .role {
                text-align: center;
                width: 100%;
            }
        } /* Menutup @media screen */

        /* Print Specifics for Perfect PDF Export */
        @media print {
            @page {
                size: A4;
                margin: 0;
            }

            body {
                padding: 0 !important;
                margin: 0 !important;
                background-color: #ffffff !important;
                -webkit-print-color-adjust: exact !important;
                print-color-adjust: exact !important;
            }

            /* Disable Flexbox for Print to fix Chrome page-break bug */
            .cv-wrapper {
                box-shadow: none !important;
                max-width: none !important;
                width: 100% !important;
                margin: 0 !important;
                height: auto !important;
                display: block !important;
                position: relative !important;
            }
            
            .cv-wrapper::after {
                content: "";
                display: table;
                clear: both;
            }

            .sidebar {
                position: absolute !important;
                top: 0 !important;
                left: 0 !important;
                width: 35% !important;
                border: none !important;
            }

            .main-content {
                float: none !important;
                margin-left: 35% !important;
                width: 65% !important;
            }

            /* Adjust sizes to prevent overlapping on A4 width */
            .name {
                font-size: 2.3rem !important;
                word-wrap: break-word !important;
            }
            
            .photo-container {
                padding: 0.5rem !important;
                margin-bottom: 1rem !important;
            }
            
            .photo-container img {
                width: 180px !important;
                height: 180px !important;
            }

            /* Page Break Rules */
            .skill, .contact-item, .profile-header, .timeline-item li {
                page-break-inside: avoid !important;
                break-inside: avoid !important;
            }

            .section-title, .skill-category-title, .tl-title, .tl-subtitle, .tl-date {
                page-break-after: avoid !important;
                break-after: avoid !important;
            }
        }
