/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Futuristic Color Palette */
    --primary-color: #6366f1; /* Indigo */
    --secondary-color: #8b5cf6; /* Violet */
    --accent-color: #ec4899; /* Pink */
    --neon-blue: #06b6d4; /* Cyan */
    --neon-green: #10b981; /* Emerald */
    --neon-purple: #8b5cf6; /* Violet */
    
    --light-bg: #0f172a; /* Dark blue background */
    --card-bg: rgba(30, 41, 59, 0.6); /* Semi-transparent card background */
    --glass-bg: rgba(15, 23, 42, 0.7); /* Glassmorphism background */
    
    --text-light: #e2e8f0; /* Light text */
    --text-gray: #94a3b8; /* Gray text */
    --text-highlight: #f0f9ff; /* Highlighted text */
    
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
    --gradient-neon: linear-gradient(135deg, var(--neon-green), var(--accent-color));
    
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;
    
    /* Glow effects */
    --neon-glow: 0 0 15px rgba(99, 102, 241, 0.7);
    --accent-glow: 0 0 20px rgba(236, 72, 153, 0.5);
    --green-glow: 0 0 15px rgba(16, 185, 129, 0.5);
    
    /* Dark mode variables */
    --dark-bg: #0a0f1d;
    --dark-surface: #111827;
    --dark-text: #f9fafb;
    --dark-text-secondary: #d1d5db;
    --dark-border: #374151;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--dark-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 30%),
        /* Additional pattern elements for visual interest */
        repeating-linear-gradient(0deg, 
            rgba(139, 92, 246, 0.03) 0px, 
            rgba(139, 92, 246, 0.03) 1px, 
            transparent 1px, 
            transparent 2px),
        repeating-linear-gradient(90deg, 
            rgba(6, 182, 212, 0.03) 0px, 
            rgba(6, 182, 212, 0.03) 1px, 
            transparent 1px, 
            transparent 2px);
    overflow-x: hidden;
    transition: background-color var(--transition), color var(--transition);
    position: relative;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    box-shadow: var(--accent-glow);
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

.highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* About Section */
.about {
    padding: 150px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.1) 0%, transparent 30%),
                radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 30%);
    z-index: -1;
}

.about h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--neon-glow), var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat h3 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1.1rem;
}

/* Dark mode styles - now the default */
body {
    background: var(--dark-bg);
    color: var(--text-light);
}

.nav-link {
    color: var(--text-light);
}

.nav-link::after {
    background: var(--gradient-accent);
}

/* Dark mode for navbar logo */
.nav-logo-img {
    filter: brightness(0) invert(1) brightness(1.2);
}

.stat {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card:hover,
.category-card.active {
    border-color: rgba(99, 102, 241, 0.5);
    background: var(--card-bg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.project-tech span {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

input,
textarea {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
}

h1,
h2,
h3 {
    color: var(--text-highlight);
}

h2::after {
    background: var(--gradient-accent);
}

p {
    color: var(--text-gray);
}

.about-text p {
    color: var(--text-gray);
}

.highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.project-info h3 {
    color: var(--text-highlight);
}

.project-info p {
    color: var(--text-gray);
}

.skill span {
    color: var(--text-light);
}

.contact-item h4 {
    color: var(--text-highlight);
}

.contact-item p {
    color: var(--text-gray);
}

.contact-option {
    background: var(--card-bg);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-option:hover {
    color: white;
    border-color: rgba(99, 102, 241, 0.5);
}

/* Glassmorphism and neon effects implementation */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
}

.neon-border {
    position: relative;
}

.neon-border::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: inherit;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.6;
}

/* Smooth animations and transitions throughout */
* {
    will-change: auto;
}

/* Section entrance animations */
section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.appear {
    opacity: 1;
    transform: translateY(0);
}

/* Hover animations for interactive elements */
*:hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Scroll animations */
.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animation.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments for futuristic design */
@media screen and (max-width: 1024px) {
    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .hero-content h2 {
        font-size: 2.2rem;
    }
    
    .profile-circle {
        width: 350px;
        height: 350px;
    }
    
    h2 {
        font-size: 2.8rem;
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 1024px) {
    .category-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media screen and (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .category-cards {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2.5rem;
    }
    
    .profile-circle {
        width: 300px;
        height: 300px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .profile-circle {
        width: 250px;
        height: 250px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact {
        padding: 60px 0;
    }
    
    .contact h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-container {
        gap: 1.5rem;
    }
    
    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-info p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-methods {
        margin-bottom: 1.2rem;
    }
    
    .contact-item {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .contact-item i {
        font-size: 1.1rem;
        min-width: 20px;
    }
    
    .contact-item h4 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }
    
    .contact-item p {
        font-size: 0.8rem;
    }
    
    .contact-options {
        gap: 0.8rem;
    }
    
    .contact-option {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0.8rem;
        margin: 0 0.5rem;
    }
    
    .contact-option i {
        font-size: 1.1rem;
    }
    
    .contact-option span {
        font-size: 0.85rem;
    }
    
    .projects,
    .skills,
    .about {
        padding: 80px 0;
    }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

.highlight {
    color: var(--primary-color);
}

/* Futuristic Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: var(--shadow);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--neon-glow), var(--shadow-lg);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    position: relative;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--neon-glow);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    position: relative;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--neon-glow);
}

/* Neon glow effect for buttons */
.btn:focus {
    outline: none;
    box-shadow: var(--neon-glow), 0 0 0 4px rgba(99, 102, 241, 0.3);
}

/* Modern Navigation with Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, padding 0.3s ease;
}

/* Mobile navigation when menu is active */
.nav-menu.active ~ .navbar {
    position: fixed;
    z-index: 999;
}

/* Ensuring body doesn't scroll when mobile menu is open */
body.nav-menu-open {
    overflow: hidden;
}

.nav-menu.active {
    overflow: hidden;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-highlight);
    text-decoration: none;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    max-width: 100px;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
    font-size: 1.1rem;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition);
    box-shadow: var(--accent-glow);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ==== FIXED FULLSCREEN HAMBURGER MENU ==== */
@media screen and (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
  }

  .hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
  }

  /* Tidak ada animasi - tetap seperti hamburger biasa */

  /* Pastikan menu menutupi satu layar penuh */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh; /* ini kuncinya */
    background: rgba(15, 23, 42, 0.95); /* kurangi transparansi */
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* biar menu di tengah */
    text-align: center;
    gap: 2rem;
    transition: left 0.4s ease;
    z-index: 1001;
    overflow: hidden;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    font-size: 1.8rem;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
  }

  .nav-link:hover {
    color: white;
    background: var(--gradient-primary);
    transform: scale(1.1);
    box-shadow: var(--neon-glow);
  }

  body.nav-menu-open {
    overflow: hidden; /* biar layar gak scroll */
  }
}



.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
}





/* Bottom theme toggle button */
.theme-toggle-bottom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--light-gray);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--dark-color);
    font-size: 1.2rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.theme-toggle-bottom:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

body.dark-mode .theme-toggle-bottom {
    background: #3a3a3a;
    color: #e0e0e0;
}

body.dark-mode .theme-toggle-bottom:hover {
    background: var(--primary-color);
    color: white;
}

body.dark-mode .profile-circle {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background: var(--dark-bg);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 25%),
        /* Rectangle grid pattern with matched opacity */
        repeating-linear-gradient(0deg, 
            rgba(139, 92, 246, 0.03) 0px, 
            rgba(139, 92, 246, 0.03) 1px, 
            transparent 1px, 
            transparent 10px),
        repeating-linear-gradient(90deg, 
            rgba(6, 182, 212, 0.03) 0px, 
            rgba(6, 182, 212, 0.03) 1px, 
            transparent 1px, 
            transparent 10px);
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    font-size: 4.5rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    color: var(--text-gray);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeIn 1s ease-out 0.4s forwards;
    opacity: 0;
}

.profile-circle {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.profile-circle::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-accent);
    border-radius: 50%;
    z-index: -1;
    filter: blur(10px);
    opacity: 0.7;
}

.profile-circle:hover {
    transform: scale(1.03);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.4);
}

.profile-circle img {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    object-fit: cover;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    left: 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.profile-circle i {
    font-size: 10rem;
    color: white;
}

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

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

/* About Section */
.about {
    padding: 150px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(236, 72, 153, 0.1) 0%, transparent 30%),
                radial-gradient(circle at 30% 70%, rgba(139, 92, 246, 0.1) 0%, transparent 30%);
    z-index: -1;
}

.about h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3.5rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 6rem;
    align-items: start;
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.8rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.stat:hover {
    transform: translateY(-8px);
    box-shadow: var(--neon-glow), var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.3);
}

.stat h3 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1.1rem;
}

/* Skills Section */
.skills {
    padding: 150px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(100, 116, 139, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 70% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 30%),
        /* Adding subtle wave pattern */
        repeating-linear-gradient(45deg, 
            rgba(100, 116, 139, 0.03) 0px, 
            rgba(100, 116, 139, 0.03) 2px, 
            transparent 2px, 
            transparent 10px);
    z-index: -1;
}

.skills h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3.5rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.skill-category h3 {
    margin-bottom: 2.5rem;
    color: var(--text-highlight);
    font-size: 1.8rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.skill {
    margin-bottom: 1.5rem;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
    padding: 1.2rem;
    border-radius: var(--border-radius);
    background: rgba(30, 41, 59, 0.85); /* More opaque background */
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill:hover {
    transform: translateX(15px);
    background: rgba(99, 102, 241, 0.2);
    box-shadow: var(--neon-glow);
    border-color: rgba(99, 102, 241, 0.3);
}

.skill-name {
    flex: 1;
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.1rem;
}

.skill-icon {
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Remove the skill level and progress bar related styles */

/* Projects Section */
.projects {
    padding: 150px 0 100px;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 30%),
                radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 30%);
    z-index: -1;
}

.projects h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3.5rem;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 6rem;
    position: relative;
    z-index: 2;
}

.category-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 1.8rem 1rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    filter: blur(10px);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.category-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--neon-glow), var(--shadow-lg);
}

.category-card:hover::before {
    opacity: 0.6;
}

.category-card.active {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.7), var(--shadow-lg);
    border: 1px solid rgba(139, 92, 246, 0.5);
}

.category-card.active::before {
    opacity: 0.8;
}

.category-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.category-card h3 {
    margin-bottom: 0.6rem;
    color: var(--text-highlight);
    font-size: 1.2rem;
}

.category-card p {
    color: var(--text-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 320px);
    gap: 2.5rem;
    position: relative;
    z-index: 2;
    justify-content: center;
    align-items: start;
}

.project-card {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    background: var(--card-bg);
    opacity: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-glow), var(--shadow-lg);
}

.project-image {
    height: 220px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,0.1) 30%, rgba(0,0,0,0.3) 70%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.project-placeholder {
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
    text-align: center;
    z-index: 2;
}

.project-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: rotate(45deg) translateX(-100%); }
    100% { transform: rotate(45deg) translateX(100%); }
}

.project-placeholder {
    color: white;
    font-weight: 600;
    font-size: 1.3rem;
    text-align: center;
    z-index: 2;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    margin-bottom: 1.2rem;
    color: var(--text-highlight);
    font-size: 1.5rem;
}

.project-info p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.8rem;
}

.project-tech span {
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-links {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.project-links .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: 150px 0;
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 20% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 30%),
        /* Diagonal pattern from top right to bottom left (opposite of skills section) */
        repeating-linear-gradient(135deg, 
            rgba(6, 182, 212, 0.03) 0px, 
            rgba(6, 182, 212, 0.03) 2px, 
            transparent 2px, 
            transparent 10px);
    z-index: -1;
}

/* Hidden class for project filtering */
.project-card.hidden {
    display: none;
}

.contact h2 {
    text-align: center;
    margin-bottom: 5rem;
    font-size: 3.5rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    position: relative;
    z-index: 2;
}

.contact-info h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--dark-surface); /* More opaque background like the skill section */
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
    border-color: rgba(99, 102, 241, 0.5); /* Slightly stronger border on hover */
}

.contact-item i {
    font-size: 1.8rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    min-width: 30px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-highlight);
    font-size: 1.3rem;
}

.contact-item p {
    color: var(--text-gray);
    margin: 0;
    font-size: 1rem;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    min-width: 0;
}

.contact-option {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem;
    background: var(--dark-surface); /* More opaque background like the skill section */
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-option i {
    font-size: 1.8rem;
}

.contact-option span {
    font-size: 1.3rem;
    font-weight: 600;
}

.contact-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--gradient-primary);
    z-index: -1;
    transition: width 0.5s ease;
}

.contact-option:hover {
    color: white;
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-8px);
    box-shadow: var(--neon-glow), var(--shadow-lg);
}

.contact-option:hover::before {
    width: 100%;
}

.contact-option i {
    font-size: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.contact-option span {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--text-light);
    padding: 4rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 30%),
        /* Adding subtle grid pattern */
        repeating-linear-gradient(0deg, 
            rgba(99, 102, 241, 0.03) 0px, 
            rgba(99, 102, 241, 0.03) 2px, 
            transparent 2px, 
            transparent 20px),
        repeating-linear-gradient(90deg, 
            rgba(99, 102, 241, 0.03) 0px, 
            rgba(99, 102, 241, 0.03) 2px, 
            transparent 2px, 
            transparent 20px);
    z-index: -1;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

.footer-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--neon-glow);
}

/* Theme Toggle Button - Always dark mode */
.theme-toggle-bottom {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-light);
    font-size: 1.4rem;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    display: none; /* Hide the theme toggle since we're always in dark mode */
}

.theme-toggle-bottom:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--neon-glow), var(--shadow-lg);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 320px);
    }
    
    .category-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-circle {
        width: 320px;
        height: 320px;
        padding: 10px;
    }
    
    .profile-circle img {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        top: 10px;
        left: 10px;
    }
}

@media screen and (max-width: 768px) {

    
    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }
    
    .hero-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .hero-image {
        order: -1; /* Move image above content on mobile */
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap; /* Allow buttons to wrap if needed */
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .profile-circle {
        width: 280px;
        height: 280px;
        padding: 10px;
    }
    
    .profile-circle img {
        width: calc(100% - 20px);
        height: calc(100% - 20px);
        top: 10px;
        left: 10px;
    }
    
    .skills-grid,
    .category-cards {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: repeat(1, 280px);
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem; /* Reduce gap on mobile */
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-methods {
        justify-content: center;
    }
    
    .contact-options {
        min-width: 0;
        width: 100%;
    }
    
    .contact-option {
        min-width: 0;
        width: 100%;
        padding: 1.2rem; /* Slightly reduced padding */
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .hero {
        padding: 100px 0 40px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-circle {
        width: 220px;
        height: 220px;
        padding: 8px; /* Slightly smaller padding on very small screens */
    }
    
    .profile-circle img {
        width: calc(100% - 16px); /* Adjust for smaller padding */
        height: calc(100% - 16px);
        top: 8px;
        left: 8px;
    }
    
    .profile-circle i {
        font-size: 6rem;
    }
    
    .contact-option {
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .contact-option i {
        margin-bottom: 0.5rem;
    }
    
    .contact-container {
        gap: 1.5rem;
    }
    
    .projects-grid {
        grid-template-columns: repeat(1, 260px);
        justify-content: center;
    }
}