        /* Reset dan Font */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #ffffff;
            color: #333333;
            line-height: 1.6;
            overflow-x: hidden;
            /* Menghindari scroll horizontal */
        }

        /* Preloader dan Animasi Masuk */
        .preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ffffff;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease, visibility 0.5s ease;
        }

        .preloader.fade-out {
            opacity: 0;
            visibility: hidden;
        }

        .loader {
            width: 60px;
            height: 60px;
            border: 5px solid rgba(0, 0, 0, 0.1);
            border-top: 5px solid #333333;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% {
                transform: rotate(0deg);
            }

            100% {
                transform: rotate(360deg);
            }
        }

        /* Header & Navigation */
        header {
            padding: 1rem 0;
            background-color: rgba(255, 255, 255, 0.95);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 1rem;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo img {
            height: 40px;
            margin-right: 10px;
        }

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

        .nav-links li {
            margin-left: 1.5rem;
        }

        .nav-links a {
            color: #333333;
            text-decoration: none;
            font-weight: 500;
            padding: 0.5rem 0;
            position: relative;
            transition: color 0.3s ease;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: #000000;
        }

        .nav-links a.active::after {
            content: '';
            position: absolute;
            width: 100%;
            height: 3px;
            background-color: #000000;
            bottom: -5px;
            left: 0;
        }

        /* Hero Section */
        .hero {
            min-height: 100vh;
            display: flex;
            align-items: center;
            padding: 8rem 1rem 5rem 1rem;
            position: relative;
            overflow: hidden;
            background-color: #ffffff;
            text-align: justify;
        }

        .hero-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 2rem;
        }

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

        .hero-text h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            color: #333333;
        }

        .hero-text h1 span {
            color: #000000;
            display: block;
        }

        .hero-text p {
            margin-bottom: 2rem;
            color: #666666;
            max-width: 600px;
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            min-width: 300px;
        }

        .hero-image img {
            max-width: 100%;
            height: auto;
        }

        /* Buttons */
        .btn-container {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .btn {
            display: inline-block;
            padding: 0.8rem 2rem;
            border-radius: 4px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-outline {
            border: 2px solid #333333;
            color: #333333;
        }

        .btn-primary {
            background-color: #333333;
            color: #ffffff;
            border: 2px solid #333333;
        }

        .btn-outline:hover {
            background-color: rgba(51, 51, 51, 0.1);
        }

        .btn-primary:hover {
            background-color: #000000;
            border-color: #000000;
        }

        /* About Section */
        .about {
            padding: 5rem 1rem;
            max-width: 1200px;
            margin: 0 auto;
            background-color: #ffffff;
            text-align: justify;
        }

        .section-title {
            font-size: 2rem;
            margin-bottom: 2rem;
            position: relative;
            display: inline-block;
            color: #333333;
        }

        .section-title::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background-color: #333333;
            bottom: -10px;
            left: 0;
        }

        /* Projects Section */
        .projects {
            padding: 5rem 1rem;
            max-width: 1200px;
            margin: 0 auto;
            background-color: #ffffff;
            text-align: justify;
        }

        .project-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .project-card {
            background-color: #ffffff;
            border-radius: 8px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        }

        .project-image {
            width: 100%;
            height: 200px;
            overflow: hidden;
        }

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

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

        .project-content {
            padding: 1.5rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .project-content h3 {
            margin-bottom: 0.5rem;
            color: #333333;
        }

        .project-content p {
            color: #666666;
            margin-bottom: 1rem;
            flex-grow: 1;
        }

        .tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: auto;
            margin-bottom: 1rem;
        }

        .tag {
            background-color: rgba(51, 51, 51, 0.1);
            color: #333333;
            padding: 0.2rem 0.8rem;
            border-radius: 50px;
            font-size: 0.8rem;
        }

        .project-link {
            display: inline-block;
            margin-top: 0;
            padding: 0.5rem 1rem;
            background-color: #333333;
            color: #ffffff;
            text-decoration: none;
            border-radius: 4px;
            font-size: 0.9rem;
            transition: background-color 0.3s ease;
            align-self: flex-start;
        }

        .project-link:hover {
            background-color: #555555;
        }

        /* Contact Section */
        .contact {
            padding: 5rem 1rem;
            max-width: 1200px;
            margin: 0 auto;
            background-color: #ffffff;
        }

        .contact-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 3rem;
        }

        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.5rem 0;
        }

        .contact-item i {
            color: #333333;
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 2rem;
            height: 2rem;
        }

        .contact-item div {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .contact-item h3 {
            margin: 0;
            line-height: 1.2;
        }

        .contact-item p {
            margin: 0;
            line-height: 1.4;
        }

        .contact-form form {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .form-group label {
            font-weight: 500;
            color: #333333;
        }

        .form-control {
            padding: 0.8rem;
            border-radius: 4px;
            border: 1px solid #cccccc;
            background-color: #f7f7f7;
            color: #333333;
        }

        /* Footer */
        footer {
            background-color: #333333;
            padding: 2rem 1rem;
            text-align: center;
            margin-top: 2rem;
            position: relative;
            z-index: 10;
            color: #ffffff;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }

        .social-links a {
            color: #ffffff;
            font-size: 1.5rem;
            transition: color 0.3s ease;
        }

        .social-links a:hover {
            color: #cccccc;
        }

        .social-links2 {
            margin-top: 40px;
            display: flex;
            gap: 20px;
        }

        .social-links2 a {
            color: #000000;
            font-size: 1.5rem;
            transition: color 0.3s ease;
        }

        .social-links2 a:hover {
            color: #5c5a5a;
        }

        /* Mobile Menu */
        .mobile-menu-btn {
            display: none;
            cursor: pointer;
            background: none;
            border: none;
            color: #333333;
            font-size: 1.5rem;
        }

        /* Animasi Scroll Reveal */
        .reveal {
            opacity: 0;
            transform: translateY(60px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

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

        /* Delay untuk animasi bertahap */
        .delay-100 {
            transition-delay: 0.1s;
        }

        .delay-200 {
            transition-delay: 0.2s;
        }

        .delay-300 {
            transition-delay: 0.3s;
        }

        .delay-400 {
            transition-delay: 0.4s;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 70px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 70px);
                background-color: #ffffff;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start;
                padding-top: 2rem;
                transition: left 0.3s ease;
            }

            .nav-links.active {
                left: 0;
            }

            .nav-links li {
                margin: 1rem 0;
            }

            .mobile-menu-btn {
                display: block;
            }

            .hero-content {
                flex-direction: column;
                text-align: center;
            }

            .hero-text h1 {
                font-size: 2.5rem;
            }

            .hero-text p {
                margin-left: auto;
                margin-right: auto;
            }

            .btn-container {
                justify-content: center;
            }

            .section-title::after {
                left: 25%;
                width: 50%;
            }
        }

        @media (max-width: 480px) {
            .hero-text h1 {
                font-size: 2rem;
            }

            .section-title {
                font-size: 1.5rem;
            }

            .project-grid,
            .contact-grid {
                grid-template-columns: 1fr;
            }
        }

        .animated-text {
            font-size: 1.2rem;
            font-weight: 500;
            color: #555;
            min-height: 30px;
            margin-top: 10px;
            white-space: nowrap;
            overflow: hidden;
            border-right: 2px solid #000;
            width: fit-content;
            animation: blink-caret 0.75s step-end infinite;
        }

        @keyframes blink-caret {

            from,
            to {
                border-color: transparent
            }

            50% {
                border-color: black
            }
        }

        /* Skills Section */
        .skills {
            padding: 5rem 1rem;
            max-width: 1200px;
            margin: 0 auto;
            background-color: #ffffff;
        }

        .skills-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, max-content));
            justify-content: center;
            gap: 2rem;
            margin-top: 3rem;
        }


        .skill-category {
            background-color: #f7f7f7;
            border-radius: 8px;
            padding: 1.5rem;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .skill-category:hover {
            transform: translateY(-5px);
        }

        .skill-category h3 {
            margin-bottom: 1rem;
            color: #333333;
            position: relative;
            display: inline-block;
        }

        .skill-category h3::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 2px;
            background-color: #333333;
            bottom: -5px;
            left: 0;
        }

        .skill-list {
            list-style: none;
        }

        .skill-item {
            margin-bottom: 1rem;
        }

        .skill-name {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
        }

        .skill-bar {
            height: 10px;
            background-color: #e0e0e0;
            border-radius: 5px;
            overflow: hidden;
        }

        .skill-progress {
            height: 100%;
            background-color: #333333;
            border-radius: 5px;
        }

        /* Resume Section */
        .resume {
            padding: 5rem 1rem;
            background-color: #ffffff;
            color: #000000;
            max-width: 1200px;
            margin: 0 auto;
        }

        .resume-container {
            max-width: 1200px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }

        .resume-section {
            position: relative;
        }

        .resume-section h2 {
            font-size: 20px;
            margin-bottom: 2rem;
            color: #000000;
            position: relative;
            display: inline-block;
        }

        /* .resume-section h2::after {
            content: '';
            position: absolute;
            width: 50%;
            height: 3px;
            background-color: #ffffff;
            bottom: -10px;
            left: 0;
        } */

        .resume-title {
            color: #000000;
            font-size: 1.8rem;
            margin-bottom: 1.5rem;
        }

        .resume-timeline {
            position: relative;
            padding-left: 3rem;
        }

        .resume-timeline::before {
            content: '';
            position: absolute;
            left: 15px;
            top: 8px;
            height: calc(100% - 16px);
            width: 2px;
            background-color: #333333;
            border-radius: 1px;
        }

        .timeline-item {
            position: relative;
            padding-bottom: 3rem;
            padding-left: 0;
        }

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

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -2.5rem;
            top: 2px;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            background-color: #ffffff;
            border: 2px solid #333333;
            box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
            z-index: 2;
            transform: translateX(-1px);
        }

        .timeline-info {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        .timeline-date {
            color: #000000;
            font-weight: 600;
        }

        .timeline-present {
            background-color: #333333;
            color: #ffffff;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            display: inline-block;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .timeline-title {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: #000000;
            font-weight: 600;
        }

        .timeline-subtitle {
            color: #555555;
            margin-bottom: 1rem;
            font-weight: 500;
            font-style: italic;
        }

        .timeline-content {
            color: #333333;
            line-height: 1.7;
            text-align: justify;
            margin-bottom: 0.5rem;
        }

        /* Tablet and medium screens */
        @media (max-width: 992px) {
            .resume-timeline {
                padding-left: 2.8rem;
            }

            .resume-timeline::before {
                left: 14px;
            }

            .timeline-item::before {
                left: -2.35rem;
                width: 13px;
                height: 13px;
                transform: translateX(-0.5px);
            }
        }

        /* Mobile screens */
        @media (max-width: 768px) {
            .resume-container {
                grid-template-columns: 1fr;
            }

            .resume-timeline {
                padding-left: 2.5rem;
            }

            .timeline-item {
                padding-left: 0;
            }

            .timeline-item::before {
                left: -2.25rem;
                width: 12px;
                height: 12px;
                border-width: 2px;
                transform: translateX(0);
            }

            .resume-timeline::before {
                left: 12px;
                width: 2px;
            }

            .timeline-info {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.3rem;
            }
        }

        /* Small mobile screens */
        @media (max-width: 480px) {
            .resume-timeline {
                padding-left: 2.2rem;
            }

            .resume-timeline::before {
                left: 10px;
            }

            .timeline-item::before {
                left: -2rem;
                width: 10px;
                height: 10px;
                border-width: 2px;
                transform: translateX(0);
            }

            .timeline-title {
                font-size: 1.1rem;
            }

            .timeline-subtitle {
                font-size: 0.9rem;
            }
        }

        /* Extra small screens */
        @media (max-width: 360px) {
            .resume-timeline {
                padding-left: 2rem;
            }

            .resume-timeline::before {
                left: 9px;
            }

            .timeline-item::before {
                left: -1.8rem;
                width: 8px;
                height: 8px;
                border-width: 1px;
            }
        }