* {
    margin: 0px;
    padding: 0px;
}

body {
    font-family: "Jost", sans-serif;
    font-optical-sizing: auto;
    font-weight: weight;
    font-style: normal;
    background-color: rgb(255, 252, 250);
    
}

header {
    border-radius: 35px;
    border: 3px solid hsl(0, 0%, 100%, 0.3);
    background-color: hsl(0, 0%, 100%, 0.2);
    backdrop-filter: blur(2px);
    margin-top: 18px;
    margin-left: 50px;
    margin-right: 50px;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 0%, 0.2);
    position: sticky;
    top: 18px;
    z-index: 1000;
}

.navbar-logo h1 {
    color: (33, 31, 30);
    font-weight: 430;
    font-size: 30px;
    margin-left: 60px;
    letter-spacing: 3.5px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
}

nav {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6em 2em;
}

.nav-isi {
    position: relative;
    display: flex;
    gap: 25px;
    padding: 10px 0;
}

.nav-isi a {
    position: relative;
    z-index: 3;
    padding: 6px 16px;
    border-radius: 14px;
    text-decoration: none;
    color: rgb(33, 31, 30);
    font-weight: 400;
    transition: 0.3s;
}

.nav-isi a:hover {
    color: rgb(20, 20, 20);
}

/* indikator kaca */
.glass-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 30px;

    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transform: scale(1) translateX(var(--x));

    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);

    width: 0;
    opacity: 0;

    transition:
        transform 0.35s ease,
        width 0.35s ease,
        opacity 0.25s ease;
}

/* saat hover link — indikator membesar */
.glass-grow {
    transform: scale(1.15) translateX(var(--x));
}

/* ukuran normal (ketika click) */
.glass-normal {
    transform: scale(1) translateX(var(--x));
}


/* section hero */
main {
    color: rgb(33, 31, 30);
    /* Teks Konten juga diubah menjadi gelap */
    text-align: center;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 50px 0;
    height: 543px;
    background-color: rgb(236, 236, 236);
    margin-top: -100px;
    padding-top: 150px;
    padding-bottom: 50px;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 0%, 0.2);


}

.text {
    position: absolute;
    top: 190px;
    text-align: center;
    left: 560px;
    font-size: 30px;
    text-decoration: none;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 10px;

}

.text1 {
    position: absolute;
    top: 190px;
    text-align: center;
    left: 780px;
    font-size: 30px;
    font-weight: 200;
    font-family: "Poiret One", sans-serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 10px;


}

.text2 {
    position: absolute;
    top: 189px;
    text-align: center;
    left: 715px;

}

.text3 {
    position: absolute;
    top: 335px;
    text-align: center;
    left: 485px;
    font-size: 90px;

}

.text4 {
    position: absolute;
    top: 374px;
    text-align: center;
    left: 520px;
    font-family: "Poiret One", sans-serif;
    font-size: 4.5rem;

}

.text5 {
    position: absolute;
    top: 374px;
    text-align: center;
    left: 860px;
    font-size: 90px;
    font-family: "Poiret One", sans-serif;
    font-size: 4.5rem;
    /* Judul utama yang besar */
    font-weight: 700;
    line-height: 1.1;

    /* Perubahan untuk Efek Mengetik */
    width: fit-content;
    /* Sesuaikan lebar dengan konten */
    right: auto;
    /* Hapus `left: 860px;` dan ganti dengan ini untuk centering yang lebih baik jika perlu */
}

/* Tambahkan kursor berkedip (opsional, tapi disarankan) */
.text5 h4 {
    border-right: 4px solid black;
    /* Kursor vertikal */
    padding-right: 5px;
    /* Jarak antara teks dan kursor */
    white-space: nowrap;
    /* Pastikan teks tidak melompat baris */
    overflow: hidden;
    /* Sembunyikan konten yang meluap, meskipun tidak terlalu penting di sini */
    animation: blink-caret 0.75s step-end infinite;
    /* Animasi berkedip */
}

/* Definisi Keyframes untuk kursor berkedip */
@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: rgb(33, 31, 30);
    }

    /* Warna kursor */
}

.text6 {
    position: absolute;
    top: 620px;
    text-align: center;
    left: 580px;
    font-size: 15px;
    color: rgb(187, 187, 187);
    text-shadow: 0 0 6px rgba(0, 0, 0, 0.5);
}

button {
    position: absolute;
    top: 670px;
    left: 660px;
    border: solid;
    font-family: "Poiret One", sans-serif;
    font-size: 1.5rem;
    /* Judul utama yang besar */
    font-weight: 500;
    line-height: 1.1;
    border-radius: 35px;
    border: 3px solid hsl(0, 0%, 100%, 0.1);
    background-color: hsl(0, 0%, 100%, 0.1);
    backdrop-filter: blur(2px);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 0%, 0.2);
    padding: 0.1em 1em;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
    color: rgb(221, 221, 221);
    opacity: 1;
    transition: 0.3s ease;

}

button:hover {
    /* Glassmorphism */
    font-size: 1.5rem;
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    opacity: 1;

    /* Animasi */
    transform: scale(1.03);
    transition:
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        background-color 0.3s,
        backdrop-filter 0.3s,
        box-shadow 0.3s,
        opacity 0.3s;

    color: rgb(255, 255, 255);
    cursor: pointer;
    padding: 0.2em 1em;
}

/* ==== MODAL OVERLAY ==== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    z-index: 9999;
    overflow-y: auto;
}

/* ==== BOX MODAL ==== */
.modal-content {
    background: rgb(255, 255, 255);
    backdrop-filter: blur(15px);
    padding: 40px 20px;
    border-radius: 20px;
    width: 350px;
    max-width: 400px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(3, 3, 3, 0.56);
    color: rgb(73, 73, 73);
    text-align: center;
    animation: popUp 0.3s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* BIKIN SEMUA ISI DI TENGAH */
    justify-content: center;
    position: relative;
    z-index: 10000;
}

/* ========================
   BOX MODAL (Apple Style)
   ======================== */
.modal-content {
    /* Background semi-transparan putih keabu-abuan */
    background: rgba(255, 255, 255, 0.85); /* Sedikit lebih transparan */
    backdrop-filter: blur(25px); /* Blur yang kuat pada konten di dalam modal */
    padding: 30px 25px; /* Padding yang lebih seimbang */
    border-radius: 14px; /* Sudut membulat yang khas Apple */
    width: 380px;
    max-width: 90%; /* Menggunakan persentase untuk responsif */
    overflow: hidden;
    
    /* Border/Outline tipis seperti macOS */
    border: 1px solid rgba(255, 255, 255, 0.4);
    
    /* Bayangan halus, tidak terlalu pekat */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15),
                0 0 0 1px rgba(255, 255, 255, 0.2); /* Bayangan kedua untuk highlight */
    
    color: #333333; /* Teks abu-abu gelap */
    text-align: center;
    animation: popUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards; /* Animasi pop yang lebih memantul */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10000;
}

.modal-content h2 {
    font-size: 1.5em;
    font-weight: 600; /* Medium-bold */
    margin-bottom: 10px;
}

.modal-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95em;
}

/* ========================
   CLOSE BUTTON (Apple)
   ======================== */
.close {
    position: absolute;
    top: 15px; /* Posisi lebih ke dalam */
    right: 15px;
    font-size: 20px; /* Ukuran X yang lebih kecil */
    cursor: pointer;
    width: 28px;
    height: 28px;
    
    display: flex;
    align-items: center;
    justify-content: center;

    /* Close button khas Apple (abu-abu ringan) */
    color: #888888;
    background: transparent;
    border-radius: 50%; /* Bulat */
    transition: color 0.2s ease, background 0.2s ease;
}

.close:hover {
    color: #333333;
    background: rgba(0, 0, 0, 0.05); /* Sedikit bayangan saat di-hover */
}


/* ========================
   TOMBOL DOWNLOAD (Apple Style)
   ======================== */
.download-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    
    /* Khas tombol macOS: background solid biru (Primary Accent) */
    background: #007aff; /* Apple Blue */
    color: white;
    
    border: none;
    border-radius: 10px; /* Sudut membulat yang konsisten */
    font-weight: 500;
    text-decoration: none;
    transition: 0.2s ease;
    
    /* Bayangan tombol saat ditekan */
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.2);
}

.download-btn:hover {
    background: #0060c0; /* Biru yang sedikit lebih gelap */
    transform: translateY(-1px); /* Efek terangkat halus */
    box-shadow: 0 6px 15px rgba(0, 122, 255, 0.3);
}

.download-btn:active {
    transform: translateY(0);
    opacity: 0.9;
    box-shadow: 0 2px 5px rgba(0, 122, 255, 0.3);
}

.modal-img {
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    margin: 15px 0;

}

.hero img {
    position: absolute;
    top: 189px;
    left: 510px;
    width: 500px;
    height: auto;
    border-radius: 1em;
    margin-top: 50px;
    filter: brightness(83%);


}

/* === ABOUT ME SECTION (MACBOOK CHAT UI) === */
.section1 {
    min-height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 90px 50px;
    position: relative;
    background-color: #f5f5f7;
}

.title {
    font-size: 30px;
    text-align: center;
    letter-spacing: 10px;
    text-decoration: none;
    font-family: "Poiret One", sans-serif;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 10px;
    margin-bottom: 50px;
    margin-top: -10px;
}

.macbook-window {
    width: 900px;
    margin-top: 30px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.chat-header {
    padding: 15px 20px;
    background: rgba(240, 240, 240, 0.8);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.profile-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4f46e5;
    margin-right: 12px;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.profile-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

.profile-status {
    font-size: 12px;
    color: #6b7280;
    display: flex;
    align-items: center;
    margin-top: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #10b981;
    border-radius: 50%;
    margin-right: 4px;
}

.chat-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    overflow-y: auto;
}

.chat-message {
    display: flex;
    max-width: 85%;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.chat-message.sender {
    justify-content: flex-end;
    margin-left: auto;
}

.chat-message.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.chat-bubble {
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 1.4;
    max-width: 100%;
    text-align: left;
}

.chat-bubble.bot {
    background-color: #e5e7eb;
    color: #1f2937;
    border-bottom-left-radius: 5px;
}

.chat-bubble.sender {
    background-color: #3b82f6;
    color: white;
    border-bottom-right-radius: 5px;
}

.no-scroll {
    overflow: hidden;
}

.apple-section {
    background-color: #f5f5f7;
    padding: 20px 0px 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    perspective: 1200px;
    min-height: 500px;
}

.title1 {
    font-size: 30px;
    text-align: center;
    letter-spacing: 10px;
    text-decoration: none;
    font-family: "Poiret One", sans-serif;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 10px;
   margin-bottom: -20px;
    margin-top: -10px;
}

.apple-nav {
    position: sticky;
    top: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.35s ease;
    z-index: 20;
}

.apple-nav.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.apple-section.active .apple-nav {
    opacity: 1;
    transform: translateY(0);
}

.dots {
    display: flex;
    gap: 12px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 12px 20px;
    margin-top: 30px;
    margin-bottom: -10px;
}

.dots div {
    width: 10px;
    height: 10px;
    background: #d4d4d4;
    border-radius: 50%;
    cursor: pointer;
    transform: scale(0);
    transform-origin: center;
    /* <- tambahkan */
    transition: transform 0.4s ease, width 0.3s ease, background 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dots div.active {
    width: 28px;
    background: #3b82f6;
    border-radius: 14px;
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(59, 131, 246, 0.582);
}

.apple-gallery {
    width: 100%;
    max-width: 900px;
    margin: 80px auto 40px;
    overflow: hidden;
    border-radius: 25px;
    position: relative;
    padding-right: 500px;
    padding-left: 110px;
}

.slides {
    display: flex;
    gap: 50px;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 20px 0;
    transform-style: preserve-3d;
    justify-content: flex-start;
    align-items: center;
    height: 400px;
}

.slide {
    min-width: 350px;
    height: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    transform: scale(0.85) rotateY(-20deg);
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: default;
    border: 3px solid hsl(0, 0%, 100%, 0.3);
    background-color: hsl(0, 0%, 100%, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 20px;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 0%, 0.2);
}

.slide.active {
    transform: scale(1) rotateY(0deg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.534);
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(14px) saturate(180%);
}

.slide h4 {
    font-size: 18px;
    color: #404143;
    margin-bottom: 20px;
    font-weight: 700;
}

.slide h3 {
    font-family: "Poiret One", sans-serif;
    font-size: 32px;
    color: rgb(33, 31, 30);
    margin-bottom: 30px;
}

.slide p {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 768px) {
    .apple-nav {
        top: 90px;
        gap: 15px;
    }

    .apple-gallery {
        max-width: 90%;
        margin: 50px auto 30px;
        padding: 10px;
    }

    .slides {
        gap: 30px;
        height: 350px;
    }

    .slide {
        min-width: 80vw;
        height: 250px;
        padding: 20px;
        transform: scale(0.9) rotateY(-10deg);
    }

    .slide.active {
        transform: scale(1) rotateY(0deg);
    }

    .slide h3 {
        font-size: 24px;
    }
}

.work-section {
    position: relative;
    min-height: 500px;
    background-color: #f5f5f7;
    padding: 20px 0;
    overflow: hidden;
    text-align: center;

}

.title2 {
    font-size: 30px;
    text-align: center;
    letter-spacing: 10px;
    text-decoration: none;
    font-family: "Poiret One", sans-serif;
    font-weight: 800;
    font-style: normal;
    letter-spacing: 10px;
    margin-bottom: 50px;
    margin-top: 30px;
}

.notification-panel {
    position: relative;
    margin: 20px auto 0; /* di bawah title */
    width: 100%;
    max-width: 1100px;
    height: 550px;
    background: url('https://4kwallpapers.com/images/wallpapers/ipad-air-2022-stock-blue-background-dark-mode-2560x1440-7903.png') no-repeat center center;
    background-size: 104% auto;
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    padding: 20px;
    top: -50px;
    opacity: 0;
    transition: top 0.7s cubic-bezier(0.68,-0.55,0.27,1.55), opacity 0.6s;
    z-index: 10;
    text-align: left;
    
}

.notification-panel.active {
    top: -30px;
    opacity: 1;
}


.panel-header {
    text-align: center;
    margin-bottom: 20px;
    font-family: "Poiret One", sans-serif;
}

.clock {
    font-size: 80px;
    font-weight: 600;
    color: #c4c6c9;
}

.date {
    margin-top: 10px;
    font-size: 20px;
    color: #c4c6c9;
    font-weight: 600;
}

.notifications {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* cards di bagian bawah panel */
    gap: 15px;
    margin-top: 100px;
}

.notification-card {
    border: 1.2px solid hsla(0, 0%, 100%, 0.226);
    background-color: hsl(0, 0%, 100%, 0.2);
    backdrop-filter: blur(2px);
    border-radius: 15px;
    padding: 12px 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    color: #ffffff;
}

.notification-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
}
.notification-detail {
    margin-top: 20px;
    background: rgba(255,255,255,0.9);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    
}

.notification-detail p {
    margin-bottom: 10px;
}

.notification-detail button {
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    background-color: #3b82f6;
    color: white;
    cursor: pointer;
}

.notification-detail button:hover {
    background-color: #2563eb;
}
.card-detail {
   max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 10px;
    margin-top: 8px;
    font-size: 14px;
    color: #ffffff;
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(15px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-shadow: #404143;
}

.notification-card.active .card-detail {
    max-height: 200px; /* cukup untuk teks notifikasi */
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    animation: bounceDown 0.4s ease;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
/* Animasi bounce */
@keyframes bounceDown {
    0% { transform: translateY(-10px); opacity: 0; }
    50% { transform: translateY(5px); opacity: 0.7; }
    100% { transform: translateY(0); opacity: 1; }
}
/*
 * TEMA: Glass Icon & Dynamic Blue Bar (Glass Progress Bar Modified)
 */

.skills {
    padding: 80px 10%; 
    background: #f5f5f7;
}

.skills .title2 {
    font-size: 36px;
    font-weight: 700; 
    margin-bottom: 50px;
    text-align: center;
    background: linear-gradient(90deg, #1d1d1f, #4a4a4a); 
    background-clip: text;
-webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px; 
}

/* Kotak Skill Individual */
.skill-box {
    background: #fff;
    padding: 30px; 
    border-radius: 20px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: all 0.4s ease-in-out; 
    overflow: hidden; 
    position: relative;
    cursor: pointer;
}

.skill-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15); 
}

/* EFEK GLOW SAAT HOVER pada Kotak */
.skill-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(230, 226, 226, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 20px;
    z-index: 1;
}
.skill-box:hover::before { opacity: 1; }

/* ICON WRAPPER: EFEK GLASSMORPHISM */
.skill-box .icon-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    border-radius: 18px; 
    position: relative;
    z-index: 2;

    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.skill-box:hover .icon-wrapper {
    transform: translateY(-3px) scale(1.05); 
    background: rgba(255, 255, 255, 0.3);
}

/* Icon */
.skill-box .icon {
    font-size: 40px; 
    color: #007aff;
    background: none; 
    -webkit-text-fill-color: initial;
}

/* Judul Skill */
.skill-box h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1d1d1f;
}

/* Progress Bar Container */
.progress {
    width: 100%;
    height: 10px; 
    background: #e5e5e5;
    border-radius: 5px; 
    overflow: hidden;
    margin-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05); 
}

/* ------------------------------------------------ */
/* --- PERUBAHAN UTAMA: PROGRESS BAR GLASS MENGKILAP --- */
/* ------------------------------------------------ */
.progress-bar {
    height: 100%;
    position: relative; /* Diperlukan untuk pseudo-elemen kilauan */
    
    /* 1. Latar Belakang Biru Transparan (Glass Base) */
    background: rgba(0, 122, 255, 0.7); /* Biru dengan sedikit transparansi */
    
    /* 2. Efek Blur (Kaca Buram) */
    backdrop-filter: blur(5px) saturate(150%);
    -webkit-backdrop-filter: blur(5px) saturate(150%);
    
    /* 3. Border Tipis (Garis Kaca) */
    border-right: 1px solid rgba(255, 255, 255, 0.6);
    
    border-radius: 5px;
    width: 0; 
    transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
    /* Hilangkan shadow glow standar, ganti dengan kilauan */
    box-shadow: 0 0 10px rgba(0, 122, 255, 0.3); 
}

/* 4. Efek Kilauan (Shine/Highlight) */
.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient Kilauan Diagonal */
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.5) 45%, /* Garis kilau putih */
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0.8;
    z-index: 10;
}


/* Teks Persentase */
.percent {
    font-size: 15px;
    font-weight: 600;
    color: #4a4a4a; 
    display: block;
    margin-top: 5px;
}

/* --- CONTACT SECTION STYLE --- */
.contact {
    padding: 100px 10%;
    background: #f5f5f7; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-wrapper {
    width: 100%;
    max-width: 350px;
    height: 400px; /* Tinggi tetap untuk menampung card */
    perspective: 1000px; /* Jarak pandang 3D */
    cursor: pointer;
    
}

/* --- KARTU UTAMA --- */
.contact-card {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s; /* Kecepatan animasi flip */
    transform-style: preserve-3d; /* Wajib untuk animasi 3D */
    
}

/* Kartu saat terbuka (flip) */
.contact-card.is-open {
    transform: rotateY(180deg);
}

/* --- SISI DEPAN & BELAKANG --- */
.contact-face {
    position: absolute;
    width: 100%;
    height: 100%;
    /* Desain Glassmorphism */
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    border-radius: 24px;
    padding: 30px;
    /* Menyembunyikan sisi belakang saat tidak diflip */
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* SISI DEPAN (Ikon Tertutup) */
.front-face {
    transform: rotateY(0deg);
}

.avatar {
    width: 100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007aff, #3c82f6);
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0, 122, 255, 0.5);
}

.name-label {
    font-size: 28px;
    font-weight: 600;
    color: #1d1d1f;
}

.tap-indicator {
    margin-top: 10px;
    font-size: 14px;
    color: #888;
}

/* SISI BELAKANG (Daftar Kontak Terbuka) */
.back-face {
    transform: rotateY(180deg);
    justify-content: space-between;
}

.card-title {
    font-size: 24px;
    color: #1d1d1f;
    margin-bottom: 20px;
    margin-top: 0;
}

.contact-details-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.detail-item {
    text-decoration: none;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.1s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.detail-item:hover {
    background: rgba(0, 122, 255, 0.1);
    transform: translateY(-2px);
}

.detail-item i {
    font-size: 24px;
    width: 40px;
    text-align: left;
}

.detail-item span {
    font-weight: 500;
}

/* Warna Icon */
.detail-item.wa i { color: #25D366; }
.detail-item.ig i { color: #dc2743; } 
.detail-item.li i { color: #0A66C2; }

/* Tombol Tutup */
.close-button {
    background: #555;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 20px;
    width: 100%;
    font-size: 16px;
    transition: background 0.3s;
}

.close-button:hover {
    background: #000;
}

/* =========================
   FOOTER STYLE (GLASS DESIGN)
========================= */
.footer {
    background: #f5f5f7; /* Background yang kontras dengan Glassmorphism */
    padding: 60px 10%;
    position: relative;
    overflow: hidden;
}

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

/* --- EFEK GLASSMORPHISM PADA MAIN SECTION --- */
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 20px;
    
    /* Inti Glassmorphism */
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px) saturate(150%);
    -webkit-backdrop-filter: blur(15px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.footer-section {
    color: #1d1d1f;
    min-width: 150px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

/* Garis bawah pada judul section */
.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: #007aff;
    border-radius: 2px;
}

/* --- 1. BRAND --- */
.footer-brand {
    flex-grow: 1;
    position: relative;
}

.brand-title {
    font-size: 28px;
    font-weight: 700;
    color: #007aff; /* Warna biru cerah */
    margin-bottom: 5px;
    margin-top: 35px;
}

.brand-tagline {
    font-size: 14px;
    color: #4a4a4a;
}

/* =========================
   BACK TO TOP BUTTON (FIXED)
========================= */
/* Tombol Back to Top yang BARU dan FIXED */
.back-top-fixed {
    position: fixed; /* Posisi tetap pada viewport */
    bottom: 30px; /* Jarak dari bawah */
    right: 30px; /* Jarak dari kanan */
    z-index: 1000; /* Pastikan tombol di atas elemen lain */
    
    background: #007aff;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.3s ease, opacity 0.3s;
    box-shadow: 0 4px 10px rgba(0, 122, 255, 0.4);
    text-decoration: none;

    /* Sembunyikan di awal (akan ditampilkan oleh JS) */
    opacity: 0;
    visibility: hidden;
}

.back-top-fixed.show {
    opacity: 1;
    visibility: visible;
}

.back-top-fixed:hover {
    background: #005bb5;
    transform: translateY(-3px);
}


/* --- 2. KONTAK --- */
.footer-contact .contact-info {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    color: #4a4a4a;
}

.footer-contact .icon {
    font-size: 16px;
    color: #007aff;
    margin-right: 10px;
    margin-top: 2px;
}

/* --- 3. LINKS --- */
.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a {
    text-decoration: none;
    color: #4a4a4a;
    font-size: 15px;
    line-height: 1.8;
    transition: color 0.2s ease;
    display: block;
}

.footer-links ul li a:hover {
    color: #007aff;
    transform: translateX(5px);
}

/* --- PEMISAH & BOTTOM BAR --- */
.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.footer-copy {
    font-size: 13px;
    color: #666;
}

/* Sosial Media Ikon */
.footer-socials a {
    color: #4a4a4a;
    font-size: 20px;
    margin-right: 20px;
    transition: color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.footer-socials a:hover {
    color: #007aff;
    transform: scale(1.1);
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 25px;
        padding: 20px;
        text-align: center;
    }

    .footer-section {
        min-width: 100%;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-contact .contact-info {
        justify-content: center;
    }
    
    .footer-links ul {
        text-align: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-socials {
        order: -1; /* Pindahkan sosial media ke atas */
        margin-right: 0;
    }
    
    .back-top {
        position: static;
        margin-top: 15px;
    }
}