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

:root {
    --primary-color: rgba(41, 41, 41, 0.9);
    --secondary-color: rgba(37, 37, 37, 0.905);
    --accent-color: #1f1f1f;
    --liquid-color: #fdfdfdca;
    --text-color: #36363689;
    --light-text: #191919;
    --background: linear-gradient(135deg, #ecececf7 0%, #bdbdbd 100%);
    --card-bg: rgba(254, 254, 254, 0.927);
    --shadow: inset 0 0 8px 1px  hsl(0, 0%, 100%, 0.3);
    --glass-border: inset 0 0 8px 1px  hsl(0, 0%, 100%, 0.3);
    --glass-background: hsl(0, 0%, 100%, 0.2);
}

body {
    background:var(--background);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Glass Morphism Effect Base */
.glass-effect {
    background: var(--card-bg);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border: 3px solid var(--glass-border);
    box-shadow: var(--shadow);
}

/* Top Navigation */
.top-nav {
    background: var(--glass-background);
    backdrop-filter: blur(3.5px);
    -webkit-backdrop-filter: blur(2px);
    border-bottom: 1px solid hsl(0, 0%, 100%, 0.3);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border: var(--glass-border);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

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

.nav-logo {
    color: var(--light-text);
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin-left: 3rem;
}

/* Theme Switcher Button */
.theme-btn {
    background: rgba(255, 255, 255, 0.05);
    text-decoration: none;
    backdrop-filter: blur(2px);
    border: 2px hsl(0, 0%, 100%, 0.3);
    color: var(--light-text);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
    font-size: 1rem;
    gap: 1.5rem;
}

.theme-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
}

/* Untuk mobile - theme button di sidebar */
.nav-links .theme-btn {
    margin: 1rem 1.5rem 0;
    text-align: center;
    width: calc(100% - 3rem);
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    border: 2px hsl(0, 0%, 100%, 0.3);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--accent-color);
    transform: translateY(-2px) scale(1.5); /* ← TAMBAH SCALE DI SINI */
    box-shadow: var(--shadow);
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(244, 243, 243, 0.1);
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease; /* ← TAMBAH TRANSITION */
}

.menu-btn:hover {
    transform: scale(1.1); /* ← MEMBESAR SEDIKIT */
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent-color);
}

/* Hero Section dengan Liquid Glass */
.hero {
    padding: 4rem 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    padding: 0 2rem;
    align-items: start;
}

.hero-left {
    text-align: center;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--glass-background);
    backdrop-filter: blur(2px);
    color: var(--light-text);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px hsl(0, 0%, 100%, 0.3);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.social-links a:hover {
    transform: translateY(-lightness);
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

.hero-right h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(154, 154, 154, 0.502);
    background: linear-gradient(20deg, #acacace2, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: justify;
    font-size: 1.1rem;
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(2px);
    transition: all 0.4s ease;
    cursor: default;
    background: var(--glass-background);
    border: 2px hsl(0, 0%, 100%, 0.3);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.about-content p:hover {
    transform: scale(1.03);
}

.about-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* CV Download Section Styles */
.cv-download-btn {
    margin-top: 2rem;
    background: var(--glass-background);
    color: var(--light-text);
    border: var(--glass-border);
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
    position: relative;
    overflow: hidden;
}

.cv-download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cv-download-btn:hover::before {
    left: 100%;
}

.cv-download-btn:hover {
    transform: translateY(-3px);
}

.cv-download-btn:active {
    transform: translateY(-1px);
}

/* Glass Ripple Effect untuk CV Button */
.cv-download-btn {
    position: relative;
    overflow: hidden;
}

/* Navigation Buttons dengan Liquid Effect */
.nav-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 2rem;
}

.nav-btn {
    background: var(--glass-background);
    backdrop-filter: blur(2px);
    border: 2px hsl(0, 0%, 100%, 0.3);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light-text);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.nav-btn:hover::before {
    left: 100%;
}

.nav-btn:hover {
    transform: translateY(-8px);
    background: rgba(from var(--glass-background) r g b / 0.4);
    color: var(--accent-color);
}

/* Content Sections dengan Glass Effect */
.content-section {
    display: none;
    background: var(--glass-background);
    backdrop-filter: blur(2px);
    border: 2px hsl(0, 0%, 100%, 0.3);
    padding: 2.5rem;
    border-radius: 1em;
    margin: 1rem auto;
    max-width: 1200px;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.content-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--light-text);
    text-align: center;
    background: linear-gradient(45deg, #ffffffa1, var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    padding-bottom: 0.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    border-radius: 2px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
}

.skill-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid hsl(0, 0%, 100%, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.skill-item:hover{
    transform: scale(1.1);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.3rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--text-color);
    text-align: center;
}

.skill-item {
    margin-bottom: 0.8rem;
    padding: 1rem;
    background: var(--glass-background);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;

}

.skill-item{
    color: var(--accent-color);
}

/* Tools Section */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.tool-item {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid hsl(0, 0%, 100%, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    position: relative;
    overflow: hidden;
}

.tool-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsl(0, 0%, 100%, 0.3), transparent);
    transition: left 0.5s;
}

.tool-item:hover::before {
    left: 100%;
}

.tool-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: var(--glass-background);
}

.tool-item i,
.tool-item svg {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tool-item div {
    font-weight: 600;
    color: var(--light-text);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tool-item:hover i,
.tool-item:hover div,
.tool-item:hover svg {
    transform: scale(1.1);
}

.tool-item svg {
    width: 2.5rem;        /* Same as FontAwesome icons */
    height: 2.5rem;       /* Same as FontAwesome icons */
    margin-bottom: 1rem;  /* Same spacing */
    color: var(--accent-color); /* Same color */
    transition: all 0.3s ease;  /* Same transition */
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid hsl(0, 0%, 100%, 0.3);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsl(0, 0%, 100%, 0.3), transparent);
    transition: left 0.5s;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
}

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

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

.project-content {
    padding: 2rem;
}

.project-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--light-text);
    font-weight: 600;
}

.project-content p {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Certificates Section dengan Layout Baru */
.certificates-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1rem;
}

.certificate-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid hsl(0, 0%, 100%, 0.3);
    position: relative;
    overflow: hidden;
}

.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsl(0, 0%, 100%, 0.3), transparent);
    transition: left 0.5s;
}

.certificate-item:hover {
    transform: translateX(8px);
}

.certificate-content {
    flex: 1;
}

.certificate-image {
    flex-shrink: 0;
    width: 150px;
    height: 100px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cert-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.certificate-item:hover .certificate-image {
    box-shadow: 0 6px 20px rgb(200, 200, 200);
}

.certificate-item h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.certificate-item p {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.certificate-item p:last-child {
    color: var(--accent-color);
    font-weight: 500;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1002;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-background);
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid hsl(0, 0%, 100%, 0.3);
    color: var(--liquid-color);
    position: absolute;
    top: 15px;
    right: 35px;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1003;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.close:hover {
    transform: scale(1.1);
}

#modalCaption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: var(--text-color);
    padding: 15px 0;
    font-size: 1.1rem;
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 3rem auto 0;
    padding: 2rem 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 3rem;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border: 4px solid hsl(0, 0%, 100%, 0.3);
    border-radius: 50%;
    top: 20px;
    z-index: 1;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--accent-color);
}

.timeline-item:hover::after {
    transform: scale(1.3);
}

.left {
    left: 0;
}

.left::after {
    right: -12px;
}

.right {
    left: 50%;
}

.right::after {
    left: -12px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid hsl(0, 0%, 100%, 0.3);
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, hsl(0, 0%, 100%, 0.3), transparent);
    transition: left 0.5s;
}

.timeline-content:hover::before {
    left: 100%;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.timeline-content h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 500;
    font-size: 1.1rem;
}

.timeline-content p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.timeline-content p:first-of-type {
    color: var(--secondary-color);
    font-weight: 500;
}

/* Mobile Sidebar */
.sidebar {
    width: 280px;
    background: var(--glass-background);
    backdrop-filter: blur(3.5px);
    color: var(--light-text);
    padding: 2rem 1rem;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    top: 0;
    left: 0;
    border-right: 1px solid hsl(0, 0%, 100%, 0.3);
}

.sidebar.active {
    transform: translateX(0);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.354);
    backdrop-filter: blur(2px);
    z-index: 1000;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--liquid-color);
}

.sidebar-header h2 {
    font-size: 1.5rem;
    color: var(--light-text);
    background: linear-gradient(45deg, #6a6a6a, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid hsl(0, 0%, 100%, 0.3);
    color: var(--liquid-color);
    font-size: 1.5rem;
    cursor: poiznter;
    padding: 0.5rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
    transition: all 0.3s ease;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.close-btn:hover {
    background: var(--accent-color);
    transform: rotate(90deg);
}

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

.nav-links li {
    margin-bottom: 0.8rem;
}

.nav-links a {
    color: var(--liquid-color);
    text-decoration: none;
    display: block;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    border: 1px solid hsl(0, 0%, 100%, 0.3);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.nav-links a:hover {
    background: var(--glass-background);
    color: var(--accent-color);
    transform: translateX(10px);
}

/* Main Content */
.main-content {
    min-height: 100vh;
}

/* Footer Styles */
.footer {
    background: var(--glass-background);
    backdrop-filter: blur(2px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 4rem;
    padding: 3rem 0 1rem;
    border: 1px hsl(0, 0%, 100%, 0.3);
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

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

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: start;
    margin-bottom: 2rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-text h3 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-text p {
    color: var(--secondary-color);
    line-height: 1.6;
    font-size: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateY(-2px);
}

/* Let's Connect Section */
.footer-connect {
    text-align: center;
}

.connect-title {
    color: var(--light-text);
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
    background: linear-gradient(45deg, #535353cd, #212121a6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-social {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.connect-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    
    background: linear-gradient(
        90deg,
        #ff6b6b,
        #4ecdc4,
        #45b7d1,
        #96ceb4,
        #ff6b6b
    );
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    
    animation: gradientFlow 4s ease-in-out infinite;
}

@keyframes gradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    border: 2px hsl(0, 0%, 100%, 0.3);
    border-radius: 50%;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    box-shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
}

.footer-social a:hover {
    transform: translateY(-5px) scale(1.1);
}

.footer-bottom {
    border-top: 1px solid hsl(0, 0%, 100%, 0.3);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-main {
        gap: 1.5rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .connect-title {
        font-size: 3rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-social {
        gap: 1rem;
    }
    
    .footer-social a {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        gap: 2rem;
    }
    
    .footer-text h3 {
        font-size: 1.3rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
    
    .connect-title {
        font-size: 2.4rem;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Responsive Sidebar */
@media (max-width: 1287px) {
    .nav-menu {
        display: none;
    }
    
    .menu-btn {
        display: block;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-left {
        order: 1;
    }
    
    .hero-right {
        order: 2;
    }
    
    .about-content p {
        text-align: left;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item::after {
        left: 21px;
    }
    
    .left, .right {
        left: 0;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 1rem;
    }
    
    .profile-img {
        width: 200px;
        height: 200px;
    }
    
    .hero-right h2 {
        font-size: 1.8rem;
    }
    
    .nav-buttons {
        grid-template-columns: 1fr;
    }
    
    .content-section {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .tools-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
}

@media (min-width: 1288px) {
    .sidebar {
        display: none;
    }
    
    .sidebar-overlay {
        display: none !important;
    }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.nav-btn {
    position: relative;
    overflow: hidden;
}

/* Tambahkan di style.css - Glass Ripple Effects */
@keyframes glass-ripple {
    0% {
        transform: scale(0);
        opacity: 0.7;
        backdrop-filter: blur(2px);
    }
    50% {
        backdrop-filter: blur(25px);
    }
    100% {
        transform: scale(4);
        opacity: 0;
        backdrop-filter: blur(2px);
    }
}

.glass-ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.4) 0%,
        rgba(255, 255, 255, 0.2) 30%,
        hsl(0, 0%, 100%, 0.3) 50%,
        transparent 70%
    );
    backdrop-filter: blur(2px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: glass-ripple 0.8s ease-out;
    pointer-events: none;
    z-index: 1;
}

/* Pastikan buttons siap untuk ripple */
.nav-btn {
    position: relative;
    overflow: hidden;
}

/* Optional: Glass ripple untuk tool items juga */
.tool-item {
    position: relative;
    overflow: hidden;
}

/*disable transform di mobile */
@media (max-width: 768px) {
    .skill-category,
    .tool-item, 
    .project-card,
    .certificate-item {
        transform: none !important;
        transition: none !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .certificate-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .certificate-image {
        width: 120px;
        height: 80px;
    }
    
    .certificate-item:hover {
        transform: translateY(-5px);
    }
    
    .modal-content {
        max-width: 95%;
    }
    
    .close {
        top: 10px;
        right: 20px;
        font-size: 30px;
        width: 40px;
        height: 40px;
    }
    
    #modalCaption {
        width: 90%;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .certificate-item {
        padding: 1.2rem;
        gap: 1.2rem;
    }
    
    .certificate-image {
        width: 100px;
        height: 70px;
    }
    
    .certificate-item h3 {
        font-size: 1.1rem;
    }
}

/* Responsive Theme Button */
@media (max-width: 1287px) {
    .theme-btn {
        display: none;
    }
    
    .nav-links .theme-btn {
        display: block;
    }
}

/* Theme Classes */
body.theme-default {
    --primary-color: rgba(41, 41, 41, 0.9);
    --secondary-color: rgba(37, 37, 37, 0.905);
    --accent-color: #1f1f1f;
    --liquid-color: #fdfdfdca;
    --text-color: #36363689;
    --light-text: #191919;
    --background: linear-gradient(135deg, #ecececf7 0%, #bdbdbd 100%);
    --card-bg: rgba(254, 254, 254, 0.927);
    --shadow: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
    --glass-border: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
    --glass-background: hsl(0, 0%, 100%, 0.2);
}

body.theme-dark {
    --primary-color: rgba(250, 250, 250, 0.95);
    --secondary-color: var(--accent-color);
    --accent-color: #e8e8e8;
    --liquid-color: var(--light-text);
    --text-color: #b8b8b8c1;
    --light-text: #ffffff;
    --background: url(images/background/dark.jpg);
    --card-bg: rgba(31, 41, 55, 0.88);
    --shadow: inset 0 0 12px 2px rgba(255, 255, 255, 0.08);
    --glass-border: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
    --glass-background: hsla(240, 6%, 3%, 0.2);
}

body.theme-summer {
    --primary-color: rgba(254, 252, 232, 0.95);
    --secondary-color: var(--accent-color);
    --accent-color: #ffca0c;
    --liquid-color: var(--light-text);
    --text-color: #854d0ec1;
    --light-text: #422006;
    --background: url(images/background/summer.jpg);
    --card-bg: rgba(254, 243, 199, 0.88);
    --shadow: inset 0 0 12px 2px rgba(251, 191, 36, 0.08);
    --glass-border: inset 0 0 8px 1px hsl(45, 95%, 55%, 0.3);
    --glass-background: hsla(45, 95%, 55%, 0.2);
}

body.theme-autumn {
    --primary-color: rgba(255, 255, 255, 0.95);
    --secondary-color: var(--accent-color);
    --accent-color: #ffb86c;
    --liquid-color: var(--light-text);
    --text-color: #dadadae3;
    --light-text: #dcdcdc;
    --background: url(images/background/autumn.jpg);
    --card-bg: rgba(31, 41, 55, 0.88);
    --shadow: inset 0 0 12px 2px rgba(255, 255, 255, 0.08);
    --glass-border: inset 0 0 8px 1px hsl(0, 0%, 100%, 0.3);
    --glass-background: hsla(23, 97%, 30%, 0.2);
}

body.theme-spring {
    --primary-color: rgba(240, 253, 244, 0.95);
    --secondary-color: var(--accent-color);
    --accent-color: #09dc53ed;
    --liquid-color: var(--light-text);
    --text-color: #7af6a8e7;
    --light-text: #1ade68;
    --background: url(images/background/spring.jpg);
    --card-bg: rgba(220, 252, 231, 0.88);
    --shadow: inset 0 0 12px 2px rgba(22, 163, 74, 0.08);
    --glass-border: inset 0 0 8px 1px hsl(142, 76%, 36%, 0.3);
    --glass-background: hsla(142, 98%, 18%, 0.2);
}

body.theme-winter {
    --primary-color: rgba(239, 246, 255, 0.95);
    --secondary-color: var(--accent-color);
    --accent-color: #1880ff;
    --liquid-color: var(--light-text);
    --text-color: #1e40afc1;
    --light-text: #1e3a8a;
    --background: url(images/background/winter.jpg);
    --card-bg: rgba(219, 234, 254, 0.88);
    --shadow: inset 0 0 12px 2px rgba(59, 130, 246, 0.08);
    --glass-border: inset 0 0 8px 1px hsl(217, 91%, 60%, 0.3);
    --glass-background: hsla(217, 91%, 60%, 0.2);
}