/* Efek hover untuk image-container */
.image-container {
    position: relative;
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container .main-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 1;
    transition: filter 0.3s;
}

.image-container .foto-transparan {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 210px;
    height: 210px;
/* Border biru outline bulat tanpa isi */
.image-container .image-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: none;
    background: transparent;
    z-index: 3;
    pointer-events: none;
    box-sizing: border-box;
}
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.image-container:hover .foto-transparan {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.image-container:hover .main-photo {
    filter: blur(2px) brightness(0.7);
}

.skill-indicators {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.image-container:hover .skill-indicators {
    opacity: 1;
}

.skill-item {
    position: absolute;
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
}

.skill-item:nth-child(1) { transform: translate(120px, -60px); }
.skill-item:nth-child(2) { transform: translate(120px, 60px); }
.skill-item:nth-child(3) { transform: translate(-120px, -60px); }
.skill-item:nth-child(4) { transform: translate(-120px, 60px); }
.skill-item:nth-child(5) { transform: translate(0, -140px); }

.skill-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.skill-circle path:last-child {
    stroke: #0c62d9; /* Warna biru tua */
    stroke-dasharray: 0, 100;
    transition: stroke-dasharray 1.5s ease;
}

.image-container:hover .skill-circle path:last-child {
    stroke-dasharray: var(--percentage, 0), 100;
}

.skill-label {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 0.7rem;
    white-space: nowrap;
    text-shadow: 0 0 4px rgba(0,0,0,0.8);
    text-align: center;
}
        /* Achievement Section */
        #achievement .achv-grid {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1.5rem;
        }

        .achv-card {
            position: relative;
            border-radius: 0.5rem;
            overflow: hidden;
            transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
            filter: brightness(0.9);
        }

        .achv-card:hover {
            transform: translateY(-4px) scale(1.02);
            box-shadow: 0 16px 32px rgba(0,0,0,0.28);
            filter: brightness(1.05);
        }

        /* Dim non-hovered cards when hovering grid */
        #achievement .achv-grid:hover .achv-card { filter: brightness(0.75); }
        #achievement .achv-grid:hover .achv-card:hover { filter: brightness(1.08); }

        .achv-card img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Achievement reveal animations (for show more) */
        .achv-card.is-collapsed {
            display: block;
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 350ms ease, transform 350ms ease;
        }
        .achv-card.is-expanded {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }

        /* Title overlays directly on image, no background panel */
        .achv-title {
            position: absolute;
            left: 1rem;
            right: 1rem;
            bottom: 1rem;
            color: #ffffff;
            font-family: var(--font-secondary);
            font-weight: 700;
            font-size: 1.05rem;
            text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 1px rgba(0,0,0,0.6);
            letter-spacing: 0.3px;
        }

        @media (min-width: 640px) {
            #achievement .achv-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (min-width: 1024px) {
            #achievement .achv-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }
/* Popup Glass Form Overlay & Center */
#popupForm.popup-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18,18,18,0.45);
    z-index: 2000;
}
#contactPopupForm {
    background: rgba(18,18,18,0.85);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 32px 28px 24px 28px;
    min-width: 320px;
    max-width: 90vw;
    color: #EAEAEA;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.popup-open {
    
    height: auto !important;
}
/* Popup Glass Form */
#popupForm.popup-glass {
    position: fixed;
    top: 0;
    left: 0;
    
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18,18,18,0.45);
    z-index: 2000;
}
#contactPopupForm {
    background: rgba(18,18,18,0.85);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 32px 28px 24px 28px;
    min-width: 320px;
  
    color: #EAEAEA;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#contactPopupForm label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}
#contactPopupForm input,
#contactPopupForm textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #EAEAEA;
    font-size: 1rem;
    margin-bottom: 8px;
    outline: none;
    transition: border 0.2s;
}
#contactPopupForm input:focus,
#contactPopupForm textarea:focus {
    border: 1.5px solid #007BFF;
}
#contactPopupForm button {
    min-width: 80px;
    cursor: pointer;
}
/* Popup Glass Form */
#popupForm.popup-glass {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18,18,18,0.25);
    z-index: 2000;
}
#contactPopupForm {
    background: rgba(18,18,18,0.7);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 32px 28px 24px 28px;
    min-width: 320px;
    max-width: 90vw;
    color: #EAEAEA;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#contactPopupForm label {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 2px;
}
#contactPopupForm input,
#contactPopupForm textarea {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.08);
    color: #EAEAEA;
    font-size: 1rem;
    margin-bottom: 8px;
    outline: none;
    transition: border 0.2s;
}
#contactPopupForm input:focus,
#contactPopupForm textarea:focus {
    border: 1.5px solid #007BFF;
}
#contactPopupForm button {
    min-width: 80px;
    cursor: pointer;
}
/* Admin Login Option Glass Effect */
#adminLoginOption {
    min-width: 100px;
    max-width: 140px;
    background: rgba(18, 18, 18, 0.7);
    color: #EAEAEA;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    backdrop-filter: blur(100px);
    padding: 10px 18px;
    font-size: 0.85rem;
    position: absolute;
    top: 70px;
    left: 90px;
    z-index: 1000;
    display: none;
    opacity: 0;
    transform: translateY(-10px) scale(0.95);
    transition: opacity 0.35s cubic-bezier(.4,0,.2,1), transform 0.35s cubic-bezier(.4,0,.2,1);
}

#adminLoginOption.show {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
    
}

#adminLoginBtn {
    color: #EAEAEA;
    font-weight: 100;
    padding: 0px 0;
    border-radius: 6px;
    display: block;
    text-align: center;
   
    transition: background 0.2s;
}
#adminLoginBtn:hover {
    
    color: #007BFF;
}
 /* CSS Reset & Basic Setup */
        :root {
            --bg-dark: #121212;
            --text-primary: #EAEAEA;
            --text-secondary: #a0aec0;
            --accent-color: #007BFF;
            --accent-color-hover: #0056b3;
            --accent-color-translucent: rgba(0, 123, 255, 0.1);
            --accent-border-translucent: rgba(0, 123, 255, 0.2);
            --card-bg: #1a202c;
            --font-primary: 'Inter', sans-serif;
            --font-secondary: 'Poppins', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-dark);
            color: var(--text-primary);
            font-family: var(--font-primary);
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            position: relative;
        }

        /* Subtle dark-blue overlay to reduce flatness */
        body::before {
            content: '';
            position: fixed;
            inset: 0;
            pointer-events: none;
            background: radial-gradient(1200px 800px at 20% 10%, rgba(0, 51, 102, 0.18), transparent 60%),
                        radial-gradient(1000px 700px at 80% 90%, rgba(0, 40, 85, 0.14), transparent 60%),
                        linear-gradient(0deg, rgba(0, 30, 70, 0.08), rgba(0, 30, 70, 0.08));
            z-index: 0;
        }

        h1, h2, h3, h4, h5, h6 {
            font-family: var(--font-secondary);
            color: var(--text-primary);
        }

        a {
            color: inherit;
            text-decoration: none;
        }

        /* Wrapper Utama */
        .container {
            max-width: 1200px; /* slightly wider for better balance */
            margin-left: auto;
            margin-right: auto;
            padding-left: 1.5rem;
            padding-right: 1.5rem;
        }

        /* A. Navbar */
        .main-header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 50;
            background-color: transparent;
            transition: background-color 250ms ease, box-shadow 250ms ease;
        }

        .main-header.scrolled {
            background-color: rgba(18, 18, 18, 0.75);
            backdrop-filter: blur(16px);
            box-shadow: 0 6px 24px rgba(0,0,0,0.25);
        }

        .main-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 1rem;
            padding-bottom: 1rem;
        }
        
        .nav-logo {
            font-size: 1.25rem;
            font-weight: 700;
            font-family: var(--font-secondary);
            transition: color 0.3s ease;
        }

        .nav-logo:hover {
            color: var(--accent-color);
        }

        .nav-links {
            display: flex;
            align-items: center;
            list-style-type: none;
            gap: 2rem;
            font-size: 0.875rem;
        }
        
        .nav-links a {
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: var(--accent-color);
        }
        
        /* B. Hero Section */
        #hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: flex-start;
            padding-top: 6rem;
        }

        #hero .intro-text {
            font-size: 1.25rem;
            color: var(--accent-color);
            margin-bottom: 0.5rem;
        }

        #hero h1 {
            font-size: 4.5rem;
            font-weight: 700;
            line-height: 1.1;
        }

        #hero h2 {
            font-size: 4.5rem;
            font-weight: 700;
            color: var(--text-secondary);
            margin-top: 0.25rem;
            line-height: 1.1;
        }

        #hero p {
            margin-top: 1.25rem;
            max-width: 42rem;
            color: #d1d5db; /* gray-300 */
            line-height: 1.625;
            font-size: 1.125rem;
        }

        .hero-buttons {
            margin-top: 2.5rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .btn {
            display: inline-flex;
            justify-content: center;
            align-items: center;
            padding: 0.75rem 1.5rem;
            font-weight: 500;
            border-radius: 0.375rem;
            transition: all 0.3s ease;
            cursor: pointer;
        }

        .btn-primary {
            background-color: rgba(0, 123, 255, 0.1);
            backdrop-filter: blur(4px);
            border: 1px solid var(--accent-border-translucent);
            color: white;
            box-shadow: 0 10px 15px -3px rgba(0, 123, 255, 0.2), 0 4px 6px -2px rgba(0, 123, 255, 0.1);
        }
        
        .btn-primary:hover {
             background-color: rgba(0, 123, 255, 0.2);
        }

        .btn-secondary {
            color: var(--accent-color);
            border: 1px solid var(--accent-color);
            backdrop-filter: blur(4px);
        }

        .btn-secondary:hover {
            background-color: var(--accent-color-translucent);
        }

        /* Section Styling */
        .section {
            padding-top: 6rem;
            padding-bottom: 6rem;
        }
        
        .section-title {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 2rem;
        }

        .section-title::before {
            content: attr(data-section-number);
            font-family: var(--font-primary);
            color: var(--accent-color);
            margin-right: 0.75rem;
            font-size: 1rem;
            font-weight: 400;
        }
        
        /* C. About Me Section */
        #about .about-content {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 2.5rem;
        }

        .about-text {
            color: #d1d5db;
            line-height: 1.75;
        }
        
        .about-text p {
            margin-bottom: 1rem;
            font-size: 1.05rem;
        }

        .skills-list {
            list-style-type: none;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 0.5rem 1.5rem;
            margin-top: 1rem;
            color: var(--text-secondary);
            font-size: 0.975rem;
        }
        
        .skills-list li::before {
            content: '▹';
            color: var(--accent-color);
            margin-right: 0.5rem;
        }
        
        .about-image-wrapper {
            display: flex;
            justify-content: center;
            align-items: flex-start;
        }

        .image-container {
            width: 15rem;
            height: 15rem;
            border-radius: 0.375rem;
            position: relative;
        }

        .image-container .image-border {
            position: absolute;
            inset: 0;
            border: 2px solid var(--accent-color);
            border-radius: 0.375rem;
            transition: transform 0.3s ease;
        }

        .image-container:hover .image-border {
            transform: translate(0.75rem, 0.75rem);
        }

        .image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 0.375rem;
            position: relative;
            z-index: 10;
        }

        /* Education Section - Vertical Timeline */
        #education .education-list {
            position: relative;
            list-style-type: none;
            margin: 0;
            padding: 0 0 0 20px;
        }

        .timeline-item {
            position: relative;
            padding: 0 0 1.5rem 2rem;
            cursor: pointer;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -2px;
            top: 0;
            width: 12px;
            height: 12px;
            background: #2196f3;
            border-radius: 50%;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .timeline-item:hover::before {
            transform: scale(1.3);
            background-color: #1976d2;
        }

        .edu-hover-img {
            position: absolute;
            width: 150px;
            height: 100px;
            object-fit: cover;
            border-radius: 8px;
            opacity: 0;
            transform: translateX(-20px);
            transition: opacity 0.3s ease, transform 0.3s ease;
            pointer-events: none;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 100;
            left: -170px;
            top: -10px;
        }

        /* Mengatur crop position untuk foto SD */
        .timeline-item:nth-child(1) .edu-hover-img,
        .timeline-item:nth-child(2) .edu-hover-img {
            object-position: center top;
        }

        .timeline-item:hover .edu-hover-img {
            opacity: 1;
            transform: translateX(0);
        }

        /* Image Preview Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .modal.show {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            position: relative;
            margin: auto;
            max-width: 80%;
            max-height: 80vh;
            animation: zoomIn 0.3s ease;
        }

        @keyframes zoomIn {
            from {
                transform: scale(0.3);
                opacity: 0;
            }
            to {
                transform: scale(1);
                opacity: 1;
            }
        }

        .modal-content img {
            width: 100%;
            height: auto;
            max-height: 80vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.3);
        }

        .close-modal {
            position: absolute;
            right: -40px;
            top: -40px;
            color: #fff;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.2s;
        }

        .close-modal:hover {
            color: #ccc;
        }

        #education .education-list::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 0;
            bottom: 0;
            width: 2px;
            background: linear-gradient(180deg, var(--accent-color) 0%, rgba(0,123,255,0.25) 100%);
            border-radius: 2px;
            opacity: 0.6;
        }

        #education .education-list li {
            position: relative; /* make marker position per-item */
            padding: 0.25rem 0 1.25rem 0; /* bottom gap between items */
        }

        #education .education-list li:last-child {
            padding-bottom: 0;
        }

        #education .education-list li::before {
            content: '';
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 0.45rem;
            width: 12px;
            height: 12px;
            background: var(--accent-color);
            border: 2px solid rgba(255,255,255,0.15);
            border-radius: 9999px;
            box-shadow: 0 0 0 4px rgba(0,123,255,0.15);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        #education .education-list li:hover::before {
            transform: translateX(-50%) scale(1.1);
            box-shadow: 0 0 0 6px rgba(0,123,255,0.22);
        }

        #education .education-list strong {
            display: block;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.25rem;
        }

        #education .edu-year {
            display: inline-block;
            font-size: 0.75rem;
            color: var(--accent-color);
            background-color: var(--accent-color-translucent);
            border: 1px solid var(--accent-border-translucent);
            border-radius: 9999px;
            padding: 2px 10px;
            margin-top: 0.25rem;
        }

        #education .edu-major {
            display: block;
            margin-top: 0.25rem;
            color: var(--text-secondary);
            font-size: 0.95rem;
        }

        /* Alternating center timeline (desktop/tablet) */
        @media (min-width: 768px) {
            #education .education-list {
                padding: 0; /* centered line */
            }

            #education .education-list::before {
                left: 50%;
                transform: translateX(-50%);
                opacity: 0.5;
            }

            /* Each item spans full width so marker aligns to true center of list */
            #education .education-list li {
                width: 100%;
                padding-bottom: 2rem;
            }

            /* right side content (odd items) */
            #education .education-list li:nth-child(odd) {
                padding-right: 52%;
                text-align: right;
            }

            /* left side content (even items) */
            #education .education-list li:nth-child(even) {
                padding-left: 52%;
                text-align: left;
            }

            /* center markers relative to list */
            #education .education-list li::before {
                left: 50%;
                transform: translateX(-50%);
                top: 0.35rem;
                z-index: 1;
            }

            /* keep markers centered on hover as well */
            #education .education-list li:hover::before {
                transform: translateX(-50%) scale(1.1);
            }
        }

        /* D. Projects Section */
        #projects {
            padding-bottom: 0; /* Add space to bottom of last card */
        }
        
        .project-card {
            display: grid;
            grid-template-columns: repeat(12, 1fr);
            gap: 1.5rem;
            align-items: center;
            margin-bottom: 6rem;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        /* Hidden state for project cards 3-6 */
        .is-hidden {
            display: none !important; /* fallback */
        }

        /* Reveal animation baseline */
        .project-card.is-collapsed {
            display: grid;
            opacity: 0;
            transform: translateY(12px);
            transition: opacity 350ms ease, transform 350ms ease;
        }

        .project-card.is-expanded {
            display: grid;
            opacity: 1;
            transform: translateY(0);
        }

        .project-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 25px -5px rgba(2, 28, 52, 0.3);
        }

        .project-image-container {
            grid-column: span 12 / span 12;
            border-radius: 0.375rem;
            overflow: hidden;
        }
        
        .project-image-container img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .project-card:hover .project-image-container img {
            transform: scale(1.05);
        }

        .project-content {
            grid-column: span 12 / span 12;
        }
        
        .project-card:nth-child(even) .project-image-container {
             grid-column: span 12 / span 12;
        }
        
        .project-card:nth-child(even) .project-content {
            grid-column: span 12 / span 12;
            text-align: left;
        }

        .project-label {
            color: var(--accent-color);
            font-size: 0.875rem;
            font-weight: 500;
        }
        
        .project-title {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .project-title a {
            transition: color 0.3s ease;
        }
        
        .project-title a:hover {
            color: var(--accent-color);
        }
        
        .project-description {
            background-color: #2d3748; /* gray-800 */
            padding: 1rem;
            border-radius: 0.375rem;
            box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
            margin-bottom: 1rem;
        }
        
        .project-description p {
            color: #d1d5db; /* gray-300 */
            font-size: 0.95rem;
        }

        .project-tags {
            list-style-type: none;
            display: flex;
            gap: 1rem;
            font-size: 0.875rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }
        
        .project-links {
            display: flex;
            gap: 1rem;
        }
        
        .project-links a {
            color: var(--text-primary);
            transition: color 0.3s ease;
        }
        
        .project-links a:hover {
            color: var(--accent-color);
        }

        .projects-more {
            display: flex;
            justify-content: center;
            margin-bottom: 3rem;
        }
        .achv-more {
            display: flex;
            justify-content: center;
            margin-top: 1rem;
        }

        .btn-icon {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-icon .chevron {
            transition: transform 250ms ease;
        }

        .btn-icon[aria-expanded="true"] .chevron {
            transform: rotate(180deg);
        }

        /* Make projects toggle button look like text-only */
        .projects-more .btn-icon {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            padding: 0 !important;
            color: var(--text-secondary);
        }

        .projects-more .btn-icon:hover {
            color: var(--accent-color);
        }

        .projects-more .btn-icon:focus-visible {
            outline: 2px dashed var(--accent-color);
            outline-offset: 4px;
        }

        /* Make achievement toggle button look like text-only */
        .achv-more .btn-icon {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            padding: 0 !important;
            color: var(--text-secondary);
        }

        .achv-more .btn-icon:hover {
            color: var(--accent-color);
        }

        .achv-more .btn-icon:focus-visible {
            outline: 2px dashed var(--accent-color);
            outline-offset: 4px;
        }
        
        /* Align content based on card order */
        .project-card:nth-child(odd) .project-content { text-align: left; }
        .project-card:nth-child(odd) .project-tags { justify-content: flex-start; }
        .project-card:nth-child(odd) .project-links { justify-content: flex-start; }
        
        .project-card:nth-child(even) .project-content { text-align: left; }
        .project-card:nth-child(even) .project-tags { justify-content: flex-start; }
        .project-card:nth-child(even) .project-links { justify-content: flex-start; }

        /* E. Contact Section */
        #contact {
            text-align: center;
        }

        #contact .section-title {
            display: inline-block;
        }
        
        #contact p {
            max-width: 36rem;
            margin-left: auto;
            margin-right: auto;
            color: #d1d5db; /* gray-300 */
            margin-bottom: 2rem;
            font-size: 1.05rem;
        }

        .btn-contact {
            font-size: 1.25rem;
            padding: 1rem 2rem;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 1.5rem;
            margin-top: 3rem;
        }

        .social-links a {
            color: var(--text-secondary);
            transition: color 0.3s ease;
        }

        .social-links a:hover {
            color: var(--accent-color);
        }
        
        /* F. Footer */
        .main-footer {
            text-align: center;
            padding: 1.5rem 0;
            color: #6b7280; /* gray-500 */
            font-size: 0.875rem;
        }
        
        /* Animasi */
        .fade-in-section {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        .fade-in-section.is-visible {
            opacity: 1;
            transform: translateY(0);
        }

        .animated-gradient-text {
            background: linear-gradient(90deg, #4285F4, #9B72CB, #4285F4);
            background-size: 200% auto;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            animation: gradient-animation 4s linear infinite;
        }

        @keyframes gradient-animation {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        /* Media Queries for Responsiveness */
        @media (max-width: 768px) {
            #hero h1, #hero h2 {
                font-size: 3rem;
            }
        }
        @media (min-width: 768px) {
            .container {
                padding-left: 2rem;
                padding-right: 2rem;
            }

            .hero-buttons {
                flex-direction: row;
                gap: 1rem;
            }

            #about .about-content {
                 grid-template-columns: repeat(5, minmax(0, 1fr));
            }
            .about-text {
                grid-column: span 3 / span 3;
            }
            .about-image-wrapper {
                grid-column: span 2 / span 2;
            }

            .project-image-container {
                grid-column: span 7 / span 7;
            }
            .project-content {
                grid-column: span 5 / span 5;
            }

            .project-card:nth-child(odd) .project-content { text-align: right; }
            .project-card:nth-child(odd) .project-tags { justify-content: flex-end; }
            .project-card:nth-child(odd) .project-links { justify-content: flex-end; }
            
            .project-card:nth-child(even) .project-image-container {
                grid-column: span 7 / span 7;
                order: 2;
            }
            .project-card:nth-child(even) .project-content {
                grid-column: span 5 / span 5;
                order: 1;
                text-align: left;
            }
            .project-card:nth-child(even) .project-tags { justify-content: flex-start; }
            .project-card:nth-child(even) .project-links { justify-content: flex-start; }

        }

        @media (min-width: 1024px) {
             .container {
                padding-left: 3rem;
                padding-right: 3rem;
            }
        }


        
        /* Auth (Login) Page */
        .auth-wrapper {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem 0;
        }

        .auth-card {
            width: 100%;
            max-width: 420px;
            background: rgba(18,18,18,0.7);
            border: 1px solid rgba(255,255,255,0.12);
            border-radius: 18px;
            padding: 28px;
            color: #EAEAEA;
            box-shadow: 0 8px 32px rgba(0,0,0,0.25);
            backdrop-filter: blur(16px);
        }

        .auth-header {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            margin-bottom: 16px;
        }

        .auth-title {
            font-family: var(--font-secondary);
            font-size: 1.35rem;
            font-weight: 700;
        }

        .auth-subtitle {
            color: #a0aec0;
            font-size: 0.95rem;
        }

        .auth-input {
            width: 100%;
            padding: 10px 12px;
            border-radius: 8px;
            border: 1px solid rgba(255,255,255,0.15);
            background: rgba(255,255,255,0.06);
            color: #EAEAEA;
            font-size: 1rem;
            outline: none;
            transition: border 0.2s, background 0.2s;
            margin-top: 4px;
            margin-bottom: 10px;
        }

        .auth-input:focus {
            border: 1.5px solid var(--accent-color);
            background: rgba(255,255,255,0.08);
        }

        .auth-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-top: 8px;
        }

        .auth-toggle {
            background: transparent;
            border: none;
            color: #a0aec0;
            cursor: pointer;
            font-size: 0.85rem;
            padding: 0;
            align-self: flex-end;
        }

        .auth-toggle:hover { color: var(--accent-color); }

        .auth-status {
            margin-top: 8px;
            font-size: 0.9rem;
            color: #a0aec0;
            min-height: 1.2em;
        }
