/* Reset dan Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Mode Colors (Default) */
    --primary-color: #00ff87; /* Neon Green */
    --secondary-color: #1a1a1a; /* Dark Gray */
    --background-dark: #0a0a0a; /* Deep Black/Darkest Background */
    --background-light: #111111; /* Slightly Lighter Dark for elements */
    --text-light: #ffffff;
    --text-gray: #a0a0a0;
    --accent-color: #00d4ff; /* Neon Blue/Cyan */
    --gradient-primary: linear-gradient(135deg, #00ff87, #00d4ff);
    --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    --border-color: rgba(255, 255, 255, 0.1);
    --element-glow: 0 0 15px rgba(0, 255, 135, 0.4); /* Neon green glow */
    --text-glow: 0 0 5px rgba(0, 255, 135, 0.5); /* Text glow */
}

/* Light mode variables */
[data-theme="light"] {
    --primary-color: #007bff; /* Vibrant Blue */
    --secondary-color: #e9ecef; /* Lighter Gray for secondary elements */
    --background-dark: #f8f9fa; /* Very Light Gray for main background */
    --background-light: #ffffff; /* Pure White for element backgrounds */
    --text-light: #212529; /* Darker text for contrast */
    --text-gray: #6c757d; /* Medium gray for secondary text */
    --accent-color: #17a2b8; /* Teal/Cyan for accent */
    --gradient-primary: linear-gradient(135deg, #007bff, #17a2b8); /* Blue to Teal gradient */
    --gradient-dark: linear-gradient(135deg, #f8f9fa, #ffffff); /* Subtle light background gradient */
    --border-color: rgba(0, 0, 0, 0.15); /* Slightly stronger black border */
    --element-glow: 0 0 15px rgba(0, 123, 255, 0.3); /* Blue glow for light mode */
    --text-glow: 0 0 5px rgba(0, 123, 255, 0.4); /* Text glow for light mode */
}

body {
    font-family: 'Inter', sans-serif; /* Using Inter font for modern tech look */
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95); /* Semi-transparent dark background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color); /* Crisp bottom border */
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-logo i {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-gray); /* Default less prominent */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0; /* Add padding for better hover area */
}

.nav-link:hover,
.nav-link.active { /* Active link style */
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after { /* Active link underline */
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-light);
    margin: 3px 0;
    transition: 0.3s;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--background-light);
    border: 2px solid var(--primary-color); /* Primary color border */
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-left: 1rem;
    overflow: hidden;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2); /* Subtle inset shadow */
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 22px;
    height: 22px;
    background: var(--primary-color);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 2;
    box-shadow: var(--element-glow); /* Glow on the toggle switch */
}

.theme-toggle.active::before {
    transform: translateX(28px);
    background: var(--accent-color); /* Different color for light mode toggle */
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: all 0.4s ease;
    z-index: 1;
}

.theme-toggle .sun-icon {
    left: 6px;
    color: var(--background-dark); /* Color against primary button */
    opacity: 1;
}

.theme-toggle .moon-icon {
    right: 6px;
    color: var(--text-light); /* Color against background */
    opacity: 0.5;
}

.theme-toggle.active .moon-icon {
    opacity: 1;
    color: var(--primary-color); /* Primary color for moon in light mode */
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--background-dark); /* Solid dark background */
    padding: 100px 0;
    overflow: hidden; /* Ensure no overflow from parallax */
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    animation: fadeInUp 1s ease 0.2s both;
}

.typing-text {
    color: var(--primary-color);
    font-weight: 600;
}

.cursor {
    color: var(--primary-color);
    animation: blink 1s infinite;
}

.hero-description {
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease, box-shadow 0.3s ease; /* Include box-shadow in transition */
    cursor: pointer;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--background-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--element-glow); /* Apply glow on hover */
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-2px);
    box-shadow: var(--element-glow); /* Apply glow on hover */
}

/* Small button variant for projects */
.btn-small {
    padding: 8px 20px;
    font-size: 0.9rem;
    border-radius: 25px;
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInUp 1s ease 0.8s both;
}

.profile-card {
    background: var(--background-light);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color); /* Crisp border */
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.1); /* Subtle aura */
    backdrop-filter: blur(5px); /* Less blur for sharper look */
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--background-dark);
    border: 3px solid var(--primary-color); /* Stronger border for the icon area */
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.4); /* Stronger glow for the icon */
}

.social-links {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--background-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color); /* Crisp border */
    box-shadow: 0 0 10px rgba(0,0,0,0.3); /* Subtle shadow */
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateX(-5px);
    box-shadow: var(--element-glow); /* Glow on hover */
}

/* Sections */
.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative; /* For the subtle line effect */
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.about {
    padding: 100px 0;
    background: var(--background-light); /* Lighter dark background for contrast */
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.skill-item {
    background: var(--background-dark); /* Deeper dark background for contrast */
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color); /* Crisp border */
}

.skill-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color); /* Highlight border on hover */
    box-shadow: var(--element-glow); /* Glow on hover */
}

.skill-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.skill-item p {
    color: var(--text-gray);
}

/* Projects Section */
.projects {
    padding: 100px 0;
    background: var(--background-dark); /* Default dark background */
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--element-glow);
}

.project-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.project-card h3 {
    font-size: 1.7rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-gray);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Allow description to take available space */
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech span {
    background: rgba(0, 255, 135, 0.1); /* Light background for tags */
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(0, 255, 135, 0.3);
}

/* Interactive 3D Interface Section Styles */
.interactive-3d-interface {
    padding: 100px 0;
    background: var(--background-light); /* Lighter dark background for contrast */
    text-align: center;
}

.interface-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.canvas-wrapper {
    width: 100%;
    max-width: 900px; /* Max width for the canvas */
    height: 500px; /* Fixed height for the canvas */
    margin: 0 auto;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    overflow: hidden; /* Ensure 3D elements stay within bounds */
    box-shadow: var(--element-glow);
    background-color: var(--background-dark); /* Dark background for canvas */
    position: relative; /* For canvas positioning and overlay */
}

#interactive3DCanvas {
    display: block;
    width: 100%; /* Make canvas responsive within its wrapper */
    height: 100%; /* Fill parent wrapper height */
    background-color: transparent; /* Three.js will render the background */
    cursor: grab; /* Indicate interactivity */
}

#interactive3DCanvas:active {
    cursor: grabbing;
}

.data-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent dark background */
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 1rem;
    text-align: left;
    color: var(--text-light);
    font-family: 'Share Tech Mono', monospace; /* Futuristic font for overlay */
    box-shadow: var(--element-glow);
    backdrop-filter: blur(5px);
    opacity: 0; /* Hidden by default */
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 10; /* Ensure it's above canvas */
}

.data-overlay.show {
    opacity: 1;
    transform: translateY(0);
}

.data-overlay h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-shadow: var(--text-glow);
}

.data-overlay p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 0.3rem;
}

.data-overlay .status-indicator {
    color: var(--primary-color);
    font-weight: bold;
    text-shadow: var(--text-glow);
}

.data-overlay .instruction {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-top: 1rem;
    text-align: center;
}


/* Resume Section */
.resume {
    padding: 100px 0;
    background: var(--background-dark); /* Default dark background */
}

.resume-content {
    max-width: 900px;
    margin: 0 auto;
}

.resume-section {
    margin-bottom: 4rem;
}

.resume-section h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; /* Added transitions */
}

.timeline-item:hover {
    transform: translateX(10px); /* Subtle shift on hover */
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -0.5rem; /* Adjusted for centered circle */
    top: 5px; /* Aligned with text */
    width: 15px;
    height: 15px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 2px solid var(--background-dark); /* Border to stand out */
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.5); /* Glow */
}

.timeline-date {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-content h4 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.company {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
    padding-left: 0;
}

.timeline-content li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '‣'; /* Using triangle bullet for techy look */
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2em;
    line-height: 1; /* Align with text */
}

.certifications {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.cert-item {
    background: var(--background-light); /* Lighter dark background */
    padding: 1.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--border-color); /* Crisp border */
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cert-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--element-glow);
}

.cert-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-light); /* Lighter dark background */
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease; /* Added for hover */
}

.contact-item:hover {
    transform: translateX(10px); /* Subtle shift on hover */
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--background-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.4); /* Glow for icons */
}

.contact-item h4 {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-gray);
}

.contact-form {
    background: var(--background-dark); /* Deeper dark background */
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color); /* Crisp border */
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.1); /* Subtle aura */
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: var(--background-light);
    border: 1px solid var(--border-color); /* Crisp border */
    border-radius: 10px;
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-gray);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 135, 0.4); /* Glow on focus */
}

/* Footer */
.footer {
    background: var(--background-dark); /* Deeper dark background */
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color); /* Crisp top border */
}

.footer p {
    color: var(--text-gray);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--background-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .theme-toggle {
        margin: 1rem auto 0; /* Center toggle in mobile menu */
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links {
        position: static; /* Remove fixed position for mobile */
        flex-direction: row;
        justify-content: center;
        margin-top: 2rem;
        transform: none;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .skills-grid,
    .project-grid { /* Added project-grid to responsive */
        grid-template-columns: 1fr;
    }
    
    .certifications {
        grid-template-columns: 1fr;
    }

    .canvas-wrapper { /* Adjusted height for smaller screens */
        height: 350px; 
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

/* Light mode specific styles, refined */
[data-theme="light"] {
    --primary-color: #007bff; /* Vibrant Blue */
    --secondary-color: #e9ecef; /* Lighter Gray for secondary elements */
    --background-dark: #f8f9fa; /* Very Light Gray for main background */
    --background-light: #ffffff; /* Pure White for element backgrounds */
    --text-light: #212529; /* Darker text for contrast */
    --text-gray: #6c757d; /* Medium gray for secondary text */
    --accent-color: #17a2b8; /* Teal/Cyan for accent */
    --gradient-primary: linear-gradient(135deg, #007bff, #17a2b8); /* Blue to Teal gradient */
    --gradient-dark: linear-gradient(135deg, #f8f9fa, #ffffff); /* Subtle light background gradient */
    --border-color: rgba(0, 0, 0, 0.15); /* Slightly stronger black border */
    --element-glow: 0 0 15px rgba(0, 123, 255, 0.3); /* Blue glow for light mode */
    --text-glow: 0 0 5px rgba(0, 123, 255, 0.4); /* Text glow for light mode */
}

[data-theme="light"] .theme-toggle::before {
    background: var(--accent-color); /* Teal for light mode toggle switch */
}

[data-theme="light"] .skill-item,
[data-theme="light"] .profile-card,
[data-theme="light"] .social-link,
[data-theme="light"] .cert-item,
[data-theme="light"] .project-card,
[data-theme="light"] .data-overlay { /* Added data-overlay to light mode */
    background: var(--background-light);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Softer shadow for light mode */
}

[data-theme="light"] .contact-form {
    background: var(--background-light);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea {
    background: #ffffff; /* Pure white input background */
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

/* Override hover effects for light mode to align with new colors */
[data-theme="light"] .skill-item:hover,
[data-theme="light"] .cert-item:hover,
[data-theme="light"] .project-card:hover { 
    border-color: var(--primary-color);
    box-shadow: var(--element-glow); /* Blue glow for light mode */
}

[data-theme="light"] .social-link:hover {
    background: var(--primary-color); /* Blue background */
    color: #ffffff; /* White text */
    box-shadow: var(--element-glow); /* Blue glow */
}

[data-theme="light"] .btn-primary:hover,
[data-theme="light"] .btn-secondary:hover {
    box-shadow: var(--element-glow); /* Blue shadow for light mode buttons */
}

[data-theme="light"] .project-tech span { /* Light mode for project tech tags */
    background: rgba(0, 123, 255, 0.1); /* Lighter blue for tags */
    border: 1px solid rgba(0, 123, 255, 0.3);
    color: var(--primary-color);
}

[data-theme="light"] .loading-spinner { /* Light mode for loading spinner */
    border-top: 4px solid var(--primary-color);
}

[data-theme="light"] .canvas-wrapper { /* Light mode for game canvas */
    border: 2px solid var(--primary-color);
    box-shadow: var(--element-glow);
    background-color: var(--background-light); /* Lighter background for canvas */
}

[data-theme="light"] .data-overlay { /* Light mode for data overlay */
    background: rgba(255, 255, 255, 0.8); /* Lighter background for overlay */
    border: 1px solid var(--primary-color);
    box-shadow: var(--element-glow);
}

[data-theme="light"] .data-overlay h3 {
    color: var(--primary-color);
    text-shadow: var(--text-glow);
}

[data-theme="light"] .data-overlay .status-indicator {
    color: var(--primary-color);
    text-shadow: var(--text-glow);
}

[data-theme="light"] .data-overlay .instruction {
    color: var(--accent-color);
}
