::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
    border-radius: 10px;
    box-shadow: inset 6px 6px 10px var(--shadow-inset-dark),
        inset -6px -6px 10px var(--shadow-inset-light);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-secondary);
    border-radius: 10px;
    box-shadow: inset 3px 3px 6px var(--shadow-dark),
        inset -3px -3px 6px var(--shadow-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Remove blue outline/focus ring from all interactive elements */
*:focus {
    outline: none !important;
}

*:focus-visible {
    outline: none !important;
}

/* Remove tap highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for paragraphs and text content */
p,
span,
div,
h1,
h2,
h3,
h4,
h5,
h6 {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --text-primary: #2d3748;
    --text-secondary: #4a5568;
    --bg-primary: #e6e7ee;
    --bg-secondary: #f0f2f5;
    --shadow-light: #ffffff;
    --shadow-dark: #c8d0e7;
    --shadow-inset-light: #ffffff;
    --shadow-inset-dark: #c8d0e7;
    --border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] {
    --text-primary: #e2e8f0;
    --text-secondary: #a0aec0;
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --shadow-light: #232744;
    --shadow-dark: #0d1117;
    --shadow-inset-light: #232744;
    --shadow-inset-dark: #0d1117;
    --border-color: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.section-title,
.title,
.sidebar-logo {
    font-family: 'Roboto Mono', monospace;
}

/* Tombol toggle khusus mobile */
.sidebar-toggle-mobile {
    position: fixed;
    width: 50px;
    height: 50px;
    top: 20px;
    left: 20px;
    background: var(--bg-primary);
    box-shadow: 6px 6px 12px var(--shadow-dark), -6px -6px 12px var(--shadow-light);
    border-radius: 50%;
    padding: 0.6rem;
    cursor: pointer;
    z-index: 1101;
    display: none;
}

.overlay {
    display: none;
}

/* Sidebar base */
.sidebar {
    width: 240px;
    background: var(--bg-primary);
    box-shadow: inset 6px 6px 12px var(--shadow-inset-dark),
        inset -6px -6px 12px var(--shadow-inset-light);
    padding: 2rem 1rem;
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    z-index: 1000;
    overflow: hidden;
}

.sidebar.collapsed {
    width: 60px;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.sidebar-logo {
    display: flex;
    margin-bottom: 1.3rem;
    flex-direction: column;
    align-items: center;
    font-weight: bold;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    transition: opacity 0.3s, transform 0.3s;
}

.sidebar-logo i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3.4rem;
    margin-bottom: 0.3rem;
}

.sidebar-logo span {
    display: flex;
    gap: 0;
    font-size: 2rem;
}

.blue-logo {
    color: var(--primary-color);
}

.purple-logo {
    color: var(--accent-color);
}

.sidebar.collapsed .sidebar-logo {
    opacity: 0;
    transform: translateX(-20px);
    transition-delay: 0.4s;
    transition: margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-menu {
    margin-top: 0;
    transition: margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    padding: 1.2rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
    white-space: nowrap;
}

.sidebar-menu a i {
    margin-left: -8px;
}

.sidebar-menu a:hover {
    background: var(--bg-secondary);
    color: var(--primary-color);
}

.sidebar.collapsed .sidebar-menu span {
    display: none;
}

.sidebar.collapsed .sidebar-menu {
    margin-top: -5rem;
}

.sidebar-toggle {
    position: absolute;
    top: 1rem;
    right: 15px;
    background: var(--bg-primary);
    box-shadow: 4px 4px 10px var(--shadow-dark), -4px -4px 10px var(--shadow-light);
    border-radius: 20%;
    padding: 0.7rem;
    cursor: pointer;
    z-index: 1100;
    transition: all 0.3s;
}

.sidebar.collapsed~.container {
    margin-left: 80px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    margin-left: 240px;
    transition: margin-left 0.3s ease;
}

.glass-card {
    background: var(--bg-primary);
    border-radius: 20px;
    box-shadow:
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s ease forwards;
    border: 1px solid var(--border-color);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow:
        16px 16px 32px var(--shadow-dark),
        -16px -16px 32px var(--shadow-light);
}

.header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow:
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    outline: none !important;
}

.profile-img img {
    width: 96%;
    height: 96%;
    object-position: center 25%;
    object-fit: cover;
    border-radius: 50%;
    outline: none !important;
    border: none;
}

.profile-img:hover {
    transform: scale(1.02);
    cursor: pointer;
    box-shadow:
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    border-radius: 20px;
}

.modal-content {
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    display: block;
    border-radius: 20px;
    box-shadow:
        20px 20px 40px var(--shadow-dark),
        -20px -20px 40px var(--shadow-light);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #f093fb;
}

.name {
    text-transform: uppercase;
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title {
    font-size: 1.3em;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.contact-info a {
    text-decoration: none;
    color: var(--text-primary);
    outline: none !important;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: var(--bg-primary);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
    transition: all 0.3s ease;
    outline: none !important;
}

.contact-item i {
    font-size: 1.1em;
    color: var(--text-secondary);
    vertical-align: middle;
    transition: color 0.3s ease;
}

.contact-item:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-1px);
    box-shadow:
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.contact-item:active {
    transform: translateY(0);
    box-shadow:
        inset 3px 3px 6px var(--shadow-inset-dark),
        inset -3px -3px 6px var(--shadow-inset-light);
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--bg-primary);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
    transition: all 0.3s ease;
    z-index: 1000;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
    transform: scale(1.05);
}

.theme-toggle:active {
    box-shadow:
        inset 3px 3px 6px var(--shadow-inset-dark),
        inset -3px -3px 6px var(--shadow-inset-light);
}

.theme-toggle:focus {
    outline: none !important;
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light) !important;
}

.language-toggle {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--bg-primary);
    border: none;
    border-radius: 25px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
    transition: all 0.3s ease;
    z-index: 1000;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.language-toggle:hover {
    transform: scale(1.02);
}

.language-toggle:active {
    box-shadow:
        inset 3px 3px 6px var(--shadow-inset-dark),
        inset -3px -3px 6px var(--shadow-inset-light);
}

.language-toggle:focus {
    outline: none !important;
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light) !important;
}

.section-title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow:
        2px 2px 4px var(--shadow-dark),
        -2px -2px 4px var(--shadow-light);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.skill-item {
    font-family: 'Roboto Mono', monospace;
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow:
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.skill-item:hover {
    transform: translateY(-2px);
    box-shadow:
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.skill-item:active {
    box-shadow:
        inset 4px 4px 8px var(--shadow-inset-dark),
        inset -4px -4px 8px var(--shadow-inset-light);
}

.skill-icon {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: block;
    outline: none !important;
}

.fa-play {
    transform: rotate(270deg);
}

.experience-item {
    background: var(--bg-primary);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow:
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    transition: all 0.3s ease;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.experience-item:hover {
    transform: translateX(5px);
    box-shadow:
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.experience-item.is-active {
    box-shadow:
        inset 4px 4px 8px var(--shadow-inset-dark),
        inset -4px -4px 8px var(--shadow-inset-light);
}

.experience-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.experience-title {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 5px;
}

.experience-company {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 15px;
}

.buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

#gpa-content {
    margin-left: 0;
    align-self: flex-start;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.btn i {
    margin-right: 8px;
    font-size: 1.2em;
}

.btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    box-shadow:
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow:
        4px 4px 8px var(--shadow-dark),
        -4px -4px 8px var(--shadow-light);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow:
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow:
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.btn-secondary:active {
    transform: translateY(0);
    box-shadow:
        inset 4px 4px 8px var(--shadow-inset-dark),
        inset -4px -4px 8px var(--shadow-inset-light);
}

button {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-size: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light);
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

.social-link:focus {
    outline: none !important;
    box-shadow:
        6px 6px 12px var(--shadow-dark),
        -6px -6px 12px var(--shadow-light) !important;
}

.social-link i {
    font-size: 1.25em;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.social-link:hover {
    transform: scale(1.05);
    box-shadow:
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
}

.social-link:hover i {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-link:active {
    box-shadow:
        inset 4px 4px 8px var(--shadow-inset-dark),
        inset -4px -4px 8px var(--shadow-inset-light);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.achievement-item {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 15px;
    box-shadow:
        8px 8px 16px var(--shadow-dark),
        -8px -8px 16px var(--shadow-light);
    transition: all 0.3s ease;
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
    width: 100%;
    box-sizing: border-box;
    max-width: 100%;
}

.achievement-item:hover {
    transform: translateY(-2px);
    box-shadow:
        12px 12px 24px var(--shadow-dark),
        -12px -12px 24px var(--shadow-light);
}

.achievement-item:active {
    box-shadow:
        inset 4px 4px 8px var(--shadow-inset-dark),
        inset -4px -4px 8px var(--shadow-inset-light);
}

.achievement-date {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.achievement-title {
    font-weight: 600;
    margin-bottom: 10px;
}

/* Additional focus removal for buttons and interactive elements */
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
    outline: none !important;
    -webkit-tap-highlight-color: transparent;
}

button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus,
a:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove focus from any clickable element */
[tabindex]:focus {
    outline: none !important;
}

@media (max-width: 768px) {
    .sidebar-logo {
        margin-top: 2rem;
    }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar-toggle {
        display: none;
    }

    .sidebar-toggle-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }

    .overlay.active {
        display: block;
    }

    .container {
        margin-left: 0 !important;
    }

    .glass-card {
        padding: 20px;
        box-shadow:
            8px 8px 16px var(--shadow-dark),
            -8px -8px 16px var(--shadow-light);
    }

    .name {
        font-size: 2em;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }

    .buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .skill-item,
    .experience-item,
    .achievement-item {
        box-shadow:
            6px 6px 12px var(--shadow-dark),
            -6px -6px 12px var(--shadow-light);
    }
}

@media (max-width: 400px) {
    .contact-item {
        font-size: 0.9em;
        margin-right: 4px;
    }

    .achievements-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .section-title {
        font-size: 1.5em;
    }

    #about p, .skill-item, .experience-item {
        font-size: 14px;
    }
    
    .achievement-item {
        padding: 16px;
        font-size: 14px;
        border-radius: 12px;
    }
}
    

.fade-in {
    animation-delay: 0.2s;
}

.fade-in-2 {
    animation-delay: 0.4s;
}

.fade-in-3 {
    animation-delay: 0.6s;
}

.fade-in-4 {
    animation-delay: 0.8s;
}

.fade-in-5 {
    animation-delay: 1s;
}

.fade-in-6 {
    animation-delay: 1.2s;
}

/* Copyright Section */
.copyright {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.9em;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
}

.copyright p {
    margin: 0;
}

/* Responsive Copyright */
@media (max-width: 768px) {
    .copyright {
        padding: 15px 10px;
        font-size: 0.8em;
    }
}

@media (max-width: 400px) {
    .copyright {
        padding: 12px 8px;
        font-size: 0.75em;
    }
}
