* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    scroll-behavior: smooth;
    list-style: none;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    background-color: #ffffff;
    color: #000000;
}

a, a:visited {
    color: inherit;
}

header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    color: white;
    padding: 0.6rem 2.5rem;
    border-radius: 3rem;
    z-index: 2000;
    max-width: 1200px;       
    box-sizing: border-box;
}

.logo {
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: default;
}

.logo-hover {
    transform: scale(1.1);
}
.nav-links {
    display: flex;
    gap: 2rem;
}
li a {
    position: relative;
    color: white;
    font-weight: 300;
}
li a::before {
    position: absolute;
    content: '';
    width: 0;
    left: 0;
    height: 5px;
    top: 25px;
    border-radius: 1rem;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgba(0, 157, 255), rgba(255, 0, 255));
}
li a:hover::before {
    width: 100%;
}
.visit-btn {
    padding: 0.6rem 1.4rem;
    border-radius: 3rem;
    border: none;
    font-weight: 500;
    font-size: 0.95rem;
    color: white;
    cursor: pointer;
    white-space: nowrap;
    transition: 0.3s ease-in-out;
    background: linear-gradient(to right, rgba(0, 157, 255), rgba(255, 0, 255));
}
.visit-btn:hover {
    background: linear-gradient(to right, rgba(255, 0, 255), rgba(0, 157, 255));
    transform: scale(1.1);
}
#menu-icon {
    font-size: 1.8rem;
    display: none;
    color: white;
    cursor: pointer;
}
section {
    min-height: 100vh;
    padding: 7rem 5%;
    width: 100%;
    position: relative;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 2rem;
    font-weight: 600;
    cursor: default;
}
/* ==========================================
   ABOUT SECTION 
   ========================================== */
.about {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about .about-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3.5rem;
    max-width: 900px;         
    width: 100%;
}

.about img {
    width: 25vw;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
}

.info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.info-box h3 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 500;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.info-box h1 {
    font-size: 2rem;
    font-weight: 600;
    opacity: 0.95;
    text-align: center;
    margin-bottom: 0.5rem;
}

.info-box h2 {
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.5;
    text-align: justify;
}

.btn-group {
    display: flex;
    gap: 1.2rem;
}

.btn {
    display: inline-block;
    border-radius: 3rem;
    padding: 0.6rem 1.6rem;
    border: 2px solid #000;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: 0.2s ease-in-out;
    color: #000;
    background: transparent;
}
.btn:hover {
    background-color: #000;
    color: #fff;
    transform: scale(1.1);
}
.socials {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    padding-left: 1.1rem;
}
.soc-btn {
    display: inline-block;
    transition: transform 0.2s ease;
    text-wrap: wrap;
}
.socials1, .socials1:visited {
    color: rgba(0, 87, 255);
}
.socials2, .socials2:visited {
    color: rgba(10, 102, 194)
}
.socials i {
    font-size: 2.5rem;
    cursor: pointer;
    transition: 0.2s ease-in-out;
}
.socials i:hover {
    transform: scale(1.15);
}
/* ==========================================
   EXPERIENCE SECTION 
   ========================================== */
.experience-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;         
}
.experience h2{
    font-weight: 600;
    margin-bottom: 2rem;
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
}
.card {
    border: 2px solid #000;
    border-radius: 2rem;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background-color: #fff;
    color: #000;
    cursor: pointer;
    transition: 0.25s ease-in-out;
    box-sizing: border-box;
}
.card:hover {
    transform: translateY(-5px);
    background-color: #000;
    color: #fff;
}
.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    gap: 0.8rem;
}
.card-thumb {
    width: 50px;
    height: 50px;
    border-radius: 0.6rem;
    object-fit: contain;
    flex-shrink: 0;
}
.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: inherit;
}
.card-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.card-body .role {
    font-size: 0.9rem;
    font-weight: 700;
    color: inherit;
}
.card-body .period {
    font-size: 0.85rem;
    color: #555;
    transition: 0.25s ease;
}
.card:hover .card-body .period {
    color: #ccc;
}
.card-body .description {
    font-size: 0.79rem;
    color: #333;
    line-height: 1.4;
    margin-top: 0.2rem;
    text-align: justify;
    word-break: break-word;
    transition: color 0.25s ease;
}
.card:hover .card-body .description {
    color: #e0e0e0;
}
/* ==========================================
   EXPERIENCE GALLERY 
   ========================================== */
.gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: none; 
    align-items: center;
    justify-content: center;
}
.gallery-overlay.active {
    display: flex;
}
.gallery-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 900px;
    gap: 1.5rem;
}
.image-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}
#gallery-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 1rem;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.gallery-counter {
    margin-top: 1rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 1rem;
    border-radius: 1rem;
}
.close-gallery {
    position: absolute;
    top: 1.5rem;
    right: 2.5rem;
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease;
    z-index: 3001;
}
.close-gallery:hover {
    transform: scale(1.2);
}
.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    padding: 1rem 1.2rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-btn:hover {
    background: #ffffff;
    color: #000000;
    transform: scale(1.1);
}
/* ==========================================
   EDUCATION SECTION 
   ========================================== */
.education {
    padding: 4rem 5%;
    width: 100%;
}
.edu-card {
    width: 100%;
    max-width: 900px;        
    margin: 0 auto;
    border-radius: 2rem;
    overflow: hidden;
    background-color: #1e1e1e;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.education h2{
    font-weight: 600;
    margin-top: 2rem;
}
.edu-banner {
    width: 100%;
    height: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.edu-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}
.edu-content {
    padding: 2.5rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}
.edu-content h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: #ffffff;
}
.edu-content h1 {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 400;
    color: #e0e0e0;
}
.edu-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: #b0b0b0;
}
.courses-button {
    margin-top: 0.5rem;
    padding: 0.7rem 1.8rem;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 0.5rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 400;
    transition: all 0.3s ease;
    background: transparent;
    cursor: pointer;
    display: inline-block;
}
.courses-button:hover {
    background-color: #ffffff;
    color: #1e1e1e;
    border-color: #ffffff;
}
/* ==========================================
   PROJECTS SECTION 
   ========================================== */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 900px;         
    margin: 0 auto;
}
.project-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: justify;
    gap: 1.2rem;
    border: 2px solid #000;
    border-radius: 2rem;
    cursor: pointer;
    transition: 0.3s ease-in-out;
    background-color: #fff;
    height: 100%;
}
.project-card p {
    font-size: 1.1rem;
}
.project-card:hover {
    background-color: #000;
    color: #fff;
    transform: translateY(-8px);
}
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 1rem;
    flex-shrink: 0;
}
.project-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
}
.project-card .btn-group {
    display: flex;
    gap: 1rem;
    margin-top: auto;
}
.project-card:hover .btn {
    border-color: #fff;
    color: #fff;
}
.project-card:hover .btn:hover {
    background-color: #fff;
    color: #000;
}
/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-card {
    width: 100%;
    max-width: 900px; /* Ukuran seragam 800px */
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    margin: 0 auto;
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Kolom Sejajar */
    gap: 0.8rem 2rem;                      /* Gap vertikal ringkas (0.8rem), horizontal (2rem) */
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;            /* Memperkecil jarak teks nama ke bar */
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 0.6rem;
    transition: background-color 0.2s ease;
}
.skill-item.active {
    background-color: #f5f5f5;
}
.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.skill-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: #222222;
}
/* Persentase awal disembunyikan/transparan */
.skill-percent {
    font-size: 0.85rem;
    font-weight: 700;
    color: #009dff;
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}
/* Tampilkan persentase saat HOVER atau saat ACTIVE (Diklik) */
.skill-item:hover .skill-percent,
.skill-item.active .skill-percent {
    opacity: 1;
    transform: translateX(0);
}
/* Base Bar (Abu-Abu Terang) */
.progress-bar {
    width: 100%;
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 1rem;
    overflow: hidden;
}
/* Fill Bar */
.progress-fill {
    height: 100%;
    background-color: #4a4a4a;
    border-radius: 1rem;
    transition: width 0.8s ease-in-out, background-color 0.3s ease;
}
.skill-item:hover .progress-fill,
.skill-item.active .progress-fill {
    background-color: #000000; /* Bar berubah hitam saat di-hover/diklik */
}
/* Box Deskripsi Skill */
.skill-desc-box {
    margin-top: 1.8rem;
    padding: 1.2rem 1.5rem;
    background-color: #121212;
    color: #ffffff;
    border-radius: 1rem;
    border-left: 4px solid #009dff;
    transition: all 0.3s ease;
}
.skill-desc-box h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #009dff;
}
.skill-desc-box p {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #dddddd;
    margin: 0;
}
/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
    padding: 5rem 5% 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.contact h2{
    margin-top: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}
.email-template-card {
    width: 100%;
    max-width: 900px;         
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
}
.email-header {
    background-color: #121212;
    padding: 0.8rem 1.2rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 2px solid #000000;
}
.window-dots {
    display: flex;
    gap: 0.5rem;
}
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }
.email-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.email-form {
    padding: 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.email-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.6rem;
}
.email-row label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #555555;
    width: 70px;
    flex-shrink: 0;
}
.input-wrapper {
    display: flex;
    gap: 0.8rem;
    width: 100%;
}
.email-row input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.95rem;
    font-family: inherit;
    background: transparent;
    color: #000000;
}
.recipient-badge {
    font-size: 0.9rem;
    color: #333333;
    background-color: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.email-body-row textarea {
    width: 100%;
    border: 1px solid #e0e0e0;
    border-radius: 0.8rem;
    padding: 1rem;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    resize: vertical;
    margin-top: 0.2rem;
    box-sizing: border-box;
}
.email-body-row textarea:focus {
    border-color: #000000;
}
.email-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}
.send-btn {
    background-color: #000000;
    color: #ffffff;
    border-radius: 2rem;
    padding: 0.7rem 1.8rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    border: 2px solid #000000;
    cursor: pointer;
    transition: all 0.25s ease;
}
.send-btn:hover {
    background-color: #ffffff;
    color: #000000;
    transform: scale(1.03);
}
/* ==========================================
   FOOTER
   ========================================== */
footer {
    padding: 3rem 1rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}
footer ul {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
footer ul li a {
    color: #000;
    font-weight: 600;
}
.copyright {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
}
/* ==========================================
   RESPONSIVE DESIGN 
   ========================================== */
@media (max-width: 1280px) {
    header {
        padding: 5rem 1rem;
        gap: 3rem;
        font-size: 0.9rem;
        position: fixed;
        border-radius: 3rem;
    }

    .about .about-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .about h2{
        font-size: 1rem;
    }

    .info-box {
        align-items: center;
    }

    .info-box h2 {
        text-align: justify;
    }
    .experience h2{
        font-size: 2.7rem;
        margin-bottom: 2.7rem;
    }
    .experience-container{
        flex-direction: column;
    }
    .experience-container img{
        width: 60px;
    }
    .experience-container h3{
        font-size: 2rem;
    }
    .card-body .role {
        font-size: 1.5rem;
    }

    .card-body .period {
        font-size: 1.3rem;
    }

    .card-body .description {
        font-size: 1.2rem;
    }
    #gallery-img {
        width: 640px;
    }
}

@media (max-width: 768px) {
    header {
        width: 98%;
        padding: 0.9rem 1.8rem;
        gap: 1rem;
    }

    header .logo {
        font-size: 0.9rem;
    }

    header .visit-btn {
        display: none; /* Disembunyikan di layar HP agar navbar tetap ringkas */
    }
    .about img {
        width: 180px;
        height: 180px;
    }
    .experience-grid {
        grid-template-columns: 1fr; /* Otomatis 1 kolom di HP */
    }
    .experience h2{
        font-size: 2rem;
        margin-bottom: 1.8rem;
    }
    .experience-container h3{
        font-size: 2rem;
    }
    .card-body .role {
        font-size: 1.5rem;
    }

    .card-body .period {
        font-size: 1.4rem;
    }

    .card-body .description {
        font-size: 1.2rem;
    }
    .project-card {
        padding: 1.5rem;
    }
    .project-card img {
        height: 180px;
    }
    .project-card h3 {
        font-size: 1.5rem;
    }
    .project-card p {
        font-size: 1rem;
    }
    .project-card .btn-group {
        gap: 0.8rem;
    }
    .project-card .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    .email-form {
        padding: 1.2rem 1rem;
    }

    .email-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }

    .email-row label {
        width: 100%;
    }

    .input-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }

    .recipient-badge {
        font-size: 0.8rem;
        word-break: break-all;
    }
    
}

@media (max-width: 600px) {
    header {
        padding: 0.6rem 1.2rem;
    }
    header .logo {
        font-size: 1rem;
        margin-left: 1.2rem;
    }
    header i {
        font-size: 1rem;
        text-align:initial;
        position: absolute;
        left: 1.5rem;
    }
    /* Sembunyikan tombol visit di HP */
    header .visit-btn {
        display: none;
    }
    /* Tampilkan ikon hamburger di HP */
    #menu-icon {
        display: block !important;
        font-size: 1.8rem;
        color: #ffffff;
        cursor: pointer;
        z-index: 2001;
    }
    .gallery-content {
        gap: 2.5rem;
    }
    
    .nav-btn {
        padding: 0.7rem 0.9rem;
        font-size: 1.1rem;
    }
    .about .about-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .about img {
        width: 150px;
        height: 150px;
    }
    .about-container h3{
        font-size: 1.4rem;
    }
    .about-container h1{
        font-size: 1.1rem;
    }
    .about-container h2{
        font-size: 0.9rem;
    }
    .about-container .btn-group {
        gap: 0.8rem;
    }
    .about-container .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    .experience h2{
        font-size: 1.8rem;
        margin-bottom: 1.3rem;
        margin-top: -2.7rem;
    }
    .experience-grid {
        flex-direction: column;
        gap: 1rem;
    }
    .experience-container img{
        width: 36px;
    }
    .card {
        padding: 1.5rem; /* Diperkecil dari 3rem agar tidak terlalu banyak ruang kosong */
        display: flex;
    }
    .card-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.1rem; /* Diperkecil dari 1rem agar lebih ringkas */
    }
    .card-body {
        gap: 0.2rem;
    }
    .experience-container h3{
        font-size: 0.82rem;
    }
    .card-body .role {
        font-size: 0.8rem;
        font-weight: 700;
        color: inherit;
    }
    .card-body .period {
        font-size: 0.75rem;
        color: #555;
        transition: color 0.25s ease;
    }
    .card-body .description {
        font-size: 0.55rem;
        color: #333;
        text-align: justify;
        transition: color 0.25s ease;
    }
    .education h2{
        font-size: 1.8rem;
        margin-bottom: 1rem;
        margin-top: 0.5rem;
    }
    .projects h2{
        font-size: 1.8rem;
        margin-bottom: 1rem;
        margin-top: -2.5rem;
    }
    .project-grid {
        gap: 1.5rem;
    }
    .project-card {
        padding: 1rem;
    }
    .project-card img {
        height: 120px;
    }
    .project-card h3 {
        font-size: 1.2rem;
    }
    .project-card p {
        font-size: 0.8rem;
    }
    .project-card .btn-group {
        gap: 0.8rem;
    }
    .project-card .btn {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .skills{
        padding: 3rem 5% 2rem;
    }
    .skills-card {
        padding: 1.2rem;
    }
    .skills-grid {
        gap: 0.5rem 1rem;
        grid-template-columns: 1fr; /* 1 Kolom Sejajar di HP */
        gap: 0.5rem; /* Memperkecil jarak antar skill-item */
    }
    .skills h2{
        font-size: 1.8rem;
        margin-bottom: 1rem;
        margin-top: 1rem;
    }

    .skill-name {
        font-size: 0.65rem;
        font-weight: 600;
        color: #222222;
    }
    /* Persentase awal disembunyikan/transparan */
    .skill-percent {
        font-size: 0.55rem;
        font-weight: 700;
        color: #009dff;
        opacity: 0;
        transform: translateX(-5px);
        transition: all 0.3s ease;
    }
    /* Tampilkan persentase saat HOVER atau saat ACTIVE (Diklik) */
    .skill-item:hover .skill-percent,
    .skill-item.active .skill-percent {
        opacity: 1;
        transform: translateX(0);
    }
    /* Base Bar (Abu-Abu Terang) */
    .progress-bar {
        width: 100%;
        height: 8px;
        background-color: #e0e0e0;
        border-radius: 1rem;
        overflow: hidden;
    }
    /* Fill Bar */
    .progress-fill {
        height: 100%;
        background-color: #4a4a4a;
        border-radius: 1rem;
        transition: width 0.8s ease-in-out, background-color 0.3s ease;
    }
    .skill-item:hover .progress-fill,
    .skill-item.active .progress-fill {
        background-color: #000000; /* Bar berubah hitam saat di-hover/diklik */
    }
    /* Box Deskripsi Skill */
    .skill-desc-box {
        margin-top: 1.8rem;
        padding: 1.2rem 1.5rem;
        background-color: #121212;
        color: #ffffff;
        border-radius: 1rem;
        border-left: 4px solid #009dff;
        transition: all 0.3s ease;
    }
    .skill-desc-box h4 {
        font-size: 0.55rem;
        font-weight: 600;
        margin-bottom: 0.4rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        color: #009dff;
    }
    .skill-desc-box p {
        font-size: 0.35rem;
        line-height: 1.5;
        color: #dddddd;
        margin: 0;
        text-align: justify;
    }
    .contact h2{
        font-size: 1.8rem;
        margin-bottom: 1rem;
        margin-top: -1rem;
    }
    .footer {
        padding: 2rem 1rem 1rem;
        text-align: center;
        font-size: 0.8rem;
    }
    .footer ul {
        gap: 1.5rem;
        font-size: 0.8rem;
    }

    /* Menu Dropdown Mobile */
    .nav-links {
        position: absolute;
        top: 110%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 1.5rem;
        padding: 1rem 0;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        border: 1px solid rgba(255, 255, 255, 0.1);
        
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
        
        /* Kondisi tertutup */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease-in-out;
    }

    /* Kondisi TERBUKA saat diklik (dipicu oleh class .active dari JS) */
    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        display: block;
        padding: 0.8rem 0;
        font-size: 1rem;
        width: 100%;
    }
}