/* ==========================================================================
   Futuristic AI/ML Portfolio Styles
   ========================================================================== */

/* Base Styles & Variables */
:root {
    /* Color Scheme - Dark Theme */
    --primary: #00f0ff;
    --primary-dark: #00a8b5;
    --primary-light: #7df9ff;
    --secondary: #ff00e4;
    --secondary-dark: #b5009e;
    --secondary-light: #ff7df9;
    --accent: #00ff88;
    --accent-dark: #00b562;
    --accent-light: #7dffb8;
    --text: #e0e0e0;
    --text-dark: #a0a0a0;
    --text-light: #ffffff;
    --bg: #0a0a12;
    --bg-dark: #050508;
    --bg-light: #151520;
    --card-bg: rgba(20, 20, 30, 0.7);
    --card-border: rgba(0, 240, 255, 0.1);
    --nav-bg: rgba(10, 10, 18, 0.9);
    --overlay: rgba(0, 0, 0, 0.8);
    --success: #00ff88;
    --error: #ff3860;
    --warning: #ffaa00;
    --info: #00a8ff;
  
    /* Typography */
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
    --font-mono: 'SF Mono', 'Roboto Mono', monospace;
    --text-base: 1rem;
    --text-scale: 1.25;
    --text-xs: calc(var(--text-base) / var(--text-scale));
    --text-sm: calc(var(--text-xs) * var(--text-scale));
    --text-md: calc(var(--text-sm) * var(--text-scale));
    --text-lg: calc(var(--text-md) * var(--text-scale));
    --text-xl: calc(var(--text-lg) * var(--text-scale));
    --text-xxl: calc(var(--text-xl) * var(--text-scale));
    --text-xxxl: calc(var(--text-xxl) * var(--text-scale));
  
    /* Spacing */
    --space-unit: 1rem;
    --space-xxs: calc(var(--space-unit) * 0.25);
    --space-xs: calc(var(--space-unit) * 0.5);
    --space-sm: calc(var(--space-unit) * 0.75);
    --space-md: calc(var(--space-unit) * 1);
    --space-lg: calc(var(--space-unit) * 1.5);
    --space-xl: calc(var(--space-unit) * 2);
    --space-xxl: calc(var(--space-unit) * 3);
  
    /* Borders */
    --border-radius: 4px;
    --border-radius-sm: 2px;
    --border-radius-lg: 8px;
    --border-radius-xl: 16px;
    --border-radius-xxl: 32px;
    --border-width: 1px;
    --border-width-thick: 2px;
  
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-primary: 0 0 8px var(--primary), 0 0 16px rgba(0, 240, 255, 0.3);
    --shadow-secondary: 0 0 8px var(--secondary), 0 0 16px rgba(255, 0, 228, 0.3);
    --shadow-accent: 0 0 8px var(--accent), 0 0 16px rgba(0, 255, 136, 0.3);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.1);
  
    /* Transitions */
    --transition-speed: 0.3s;
    --transition-speed-fast: 0.15s;
    --transition-speed-slow: 0.45s;
    --transition-easing: cubic-bezier(0.65, 0, 0.35, 1);
    --transition-easing-bounce: cubic-bezier(0.68, -0.6, 0.32, 1.6);
  
    /* Z-index */
    --z-below: -1;
    --z-base: 1;
    --z-above: 10;
    --z-nav: 100;
    --z-overlay: 1000;
    --z-modal: 1010;
    --z-max: 9999;
  }
  
  /* Light Theme Overrides */
  [data-theme="light"] {
    --primary: #0066ff;
    --primary-dark: #0044bb;
    --primary-light: #0099ff;
    --secondary: #ff0066;
    --secondary-dark: #bb0044;
    --secondary-light: #ff0099;
    --accent: #00cc88;
    --accent-dark: #00aa66;
    --accent-light: #00ffaa;
    --text: #333333;
    --text-dark: #111111;
    --text-light: #666666;
    --bg: #f8f8fa;
    --bg-dark: #e8e8f0;
    --bg-light: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.9);
    --card-border: rgba(0, 102, 255, 0.1);
    --nav-bg: rgba(248, 248, 250, 0.9);
    --overlay: rgba(248, 248, 250, 0.9);
  }
  
  /* Base Reset */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  
  
  html {
    scroll-behavior: smooth;
    font-size: 16px;
  }
  
  body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    color: var(--text-light);
  }
  
  h1 { font-size: var(--text-xxxl); }
  h2 { font-size: var(--text-xxl); }
  h3 { font-size: var(--text-xl); }
  h4 { font-size: var(--text-lg); }
  h5 { font-size: var(--text-md); }
  h6 { font-size: var(--text-sm); }
  
  a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-easing);
  }
  
  a:hover {
    color: var(--primary-light);
  }
  
  p {
    margin-bottom: var(--space-md);
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
  }
  
  /* Utility Classes */
  .container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
  }
  
  .section {
    padding: var(--space-xxl) 0;
    position: relative;
  }
  
  .section-header {
    margin-bottom: var(--space-xl);
    position: relative;
  }
  
  .section-title {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .title-number {
    color: var(--primary);
    margin-right: var(--space-sm);
    font-size: var(--text-lg);
  }
  
  .title-text {
    position: relative;
  }
  
  .title-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--primary), transparent);
    margin-left: var(--space-md);
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-easing);
    border: none;
    position: relative;
    overflow: hidden;
  }
  
  .btn i {
    margin-left: var(--space-xs);
    transition: transform var(--transition-speed) var(--transition-easing);
  }
  
  .btn:hover i {
    transform: translateX(3px);
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-primary);
  }
  
  .btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 0 16px var(--primary), 0 4px 32px rgba(0, 240, 255, 0.4);
  }
  
  .btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow-primary);
  }
  
  .btn-secondary:hover {
    background-color: rgba(0, 240, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 16px var(--primary), 0 4px 32px rgba(0, 240, 255, 0.4);
  }
  
  .btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
  }
  
  .btn-outline:hover {
    background-color: rgba(0, 240, 255, 0.1);
    box-shadow: var(--shadow-primary);
  }
  
  .btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 0;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--primary);
  }
  
  .btn-icon:hover {
    background-color: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-2px);
  }
  
  /* Layout Components */
  .main-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: var(--z-base);
  }
  
  .content-wrapper {
    flex: 1;
    margin-left: 300px;
    padding: var(--space-lg);
    position: relative;
  }
  
  /* Floating Navigation */
  .floating-nav {
    width: 280px;
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-right: 1px solid rgba(0, 240, 255, 0.1);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    z-index: var(--z-nav);
    transition: all var(--transition-speed) var(--transition-easing);
  }
  
  .nav-brand {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
  }
  
  .nav-logo {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-md);
    margin-right: var(--space-sm);
  }
  
  .nav-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-md);
    color: var(--text-light);
  }
  
  .nav-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .nav-link {
    display: flex;
    align-items: center;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    transition: all var(--transition-speed) var(--transition-easing);
    position: relative;
  }
  
  .nav-link:hover {
    color: var(--text-light);
    background-color: rgba(0, 240, 255, 0.05);
  }
  
  .nav-link.active {
    color: var(--primary);
    background-color: rgba(0, 240, 255, 0.1);
  }
  
  .nav-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
  }
  
  .link-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--space-sm);
  }
  
  .link-text {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: var(--text-sm);
    letter-spacing: 1px;
  }
  
  .nav-footer {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid rgba(0, 240, 255, 0.1);
  }
  
  .theme-toggle {
    width: 100%;
    height: 40px;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-easing);
    margin-bottom: var(--space-md);
    position: relative;
    overflow: hidden;
  }
  
  .theme-toggle i {
    position: absolute;
    transition: all var(--transition-speed) var(--transition-easing);
  }
  
  .theme-toggle i.fa-moon {
    opacity: 1;
    transform: translateY(0);
  }
  
  .theme-toggle i.fa-sun {
    opacity: 0;
    transform: translateY(20px);
  }
  
  [data-theme="light"] .theme-toggle i.fa-moon {
    opacity: 0;
    transform: translateY(-20px);
  }
  
  [data-theme="light"] .theme-toggle i.fa-sun {
    opacity: 1;
    transform: translateY(0);
  }
  
  .theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
  }
  
  .social-links {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
  }
  
  .social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text);
    transition: all var(--transition-speed) var(--transition-easing);
  }
  
  .social-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
  }
  
  /* Particle Background */
  #particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-below);
    pointer-events: none;
  }
  
  /* Preloader */
  .preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-max);
    transition: opacity 0.5s ease-out;
  }
  
  .preloader.loaded {
    opacity: 0;
    pointer-events: none;
  }
  
  .quantum-loader {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
  }
  
  .quantum-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
    animation: quantum-pulse 1.5s infinite ease-in-out;
    animation-delay: calc(var(--delay) * 1s);
    box-shadow: 0 0 10px var(--primary);
  }
  
  @keyframes quantum-pulse {
    0%, 100% {
      transform: scale(0.8);
      opacity: 0.5;
    }
    50% {
      transform: scale(1.2);
      opacity: 1;
    }
  }
  
  .loading-text {
    font-family: var(--font-heading);
    color: var(--text);
    letter-spacing: 2px;
    font-size: var(--text-sm);
    position: relative;
  }
  
  .loading-text::after {
    content: '...';
    position: absolute;
    animation: loading-dots 1.5s infinite steps(3);
  }
  
  @keyframes loading-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
  }
  
  /* Home Section */
  .home-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }
  
  .home-content {
    display: flex;
    align-items: center;
    gap: var(--space-xxl);
    width: 100%;
  }
  
  .home-text {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: var(--z-above);
  }
  
  .home-title {
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
  }
  
  .title-line {
    font-size: var(--text-xl);
    color: var(--text);
    font-weight: 400;
    margin-bottom: var(--space-xs);
  }
  
  .title-name {
    font-size: var(--text-xxxl);
    color: var(--text-light);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-xs);
    line-height: 1;
  }
  
  .title-sub {
    font-size: var(--text-lg);
    color: var(--text-dark);
    font-weight: 400;
    margin-bottom: 0;
  }
  
  .home-description {
    font-size: var(--text-md);
    margin-bottom: var(--space-xl);
    color: var(--text);
  }
  
  .home-buttons {
    display: flex;
    gap: var(--space-md);
  }
  
  .home-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .holographic-display {
    width: 400px;
    height: 400px;
    perspective: 1000px;
    position: relative;
  }
  
  .hologram-base {
    width: 200px;
    height: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 50%;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(10px);
    opacity: 0.7;
  }
  
  .hologram-container {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    animation: hologram-rotate 20s infinite linear;
  }
  
  .hologram-inner {
    width: 100%;
    height: 100%;
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 50px rgba(0, 240, 255, 0.1), 0 0 50px rgba(0, 240, 255, 0.1);
  }
  
  @keyframes hologram-rotate {
    0% { transform: rotateY(0) rotateX(5deg); }
    100% { transform: rotateY(360deg) rotateX(5deg); }
  }
  
  .neural-network-visualization {
    position: absolute;
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    display: flex;
    justify-content: space-between;
  }
  
  .neuron-layer {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
  }
  
  .neuron {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    position: relative;
    opacity: 0.8;
    animation: neuron-pulse 2s infinite ease-in-out;
    animation-delay: calc(var(--delay) * 0.5s);
  }
  
  @keyframes neuron-pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
  }
  
  .data-stream {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .data-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 5px var(--primary);
    animation: data-flow 5s infinite linear;
    animation-delay: calc(var(--delay) * 1s);
    opacity: 0;
  }
  
  @keyframes data-flow {
    0% { 
      transform: translate(0, 0);
      opacity: 0;
    }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { 
      transform: translate(calc(var(--x) * 1px), calc(var(--y) * 1px));
      opacity: 0;
    }
  }
  
  .scroll-indicator {
    position: absolute;
    bottom: var(--space-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
    font-size: var(--text-xs);
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: bounce 2s infinite ease-in-out;
  }
  
  .scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    margin-bottom: var(--space-xs);
  }
  
  @keyframes bounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
  }
  
  /* About Section */
  .about-content {
    display: flex;
    gap: var(--space-xxl);
    align-items: center;
  }
  
  .about-image {
    flex: 1;
    max-width: 400px;
    position: relative;
  }
  
  .image-container {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
  }
  
  .image-border {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--primary);
    border-radius: var(--border-radius-lg);
    animation: border-pulse 4s infinite ease-in-out;
    z-index: 1;
  }
  
  @keyframes border-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
  }
  
  .image-main {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    background-image: url('https://images.unsplash.com/photo-1571171637578-41bc2dd41cd2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%) contrast(120%);
  }
  
  .image-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary);
    box-shadow: 0 0 10px var(--primary);
    animation: particle-float 10s infinite linear;
  }
  
  .particle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
  }
  .particle:nth-child(2) {
    top: 70%;
    left: 10%;
    animation-delay: -2s;
  }
  .particle:nth-child(3) {
    top: 40%;
    left: 80%;
    animation-delay: -4s;
  }
  .particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: -6s;
  }
  
  @keyframes particle-float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(10px, 10px); }
    50% { transform: translate(5px, -5px); }
    75% { transform: translate(-5px, 5px); }
  }
  
  .about-text {
    flex: 1;
  }
  
  .about-subtitle {
    font-size: var(--text-xl);
    color: var(--primary);
    margin-bottom: var(--space-lg);
    position: relative;
    display: inline-block;
  }
  
  .about-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
  }
  
  .about-description {
    font-size: var(--text-md);
    margin-bottom: var(--space-xl);
    color: var(--text);
  }
  
  .about-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
  }
  
  .detail-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    transition: all var(--transition-speed) var(--transition-easing);
  }
  
  .detail-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
  }
  
  .detail-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 240, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: var(--space-sm);
  }
  
  .detail-card h4 {
    font-size: var(--text-md);
    margin-bottom: var(--space-xs);
    color: var(--text-light);
  }
  
  .detail-card p {
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
    color: var(--text);
  }
  
  /* Skills Section */
  .skills-categories {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
  }
  
  .category-tabs {
    display: flex;
    border-bottom: 1px solid var(--card-border);
  }
  
  .category-tab {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    background-color: transparent;
    border: none;
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--text-sm);
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-easing);
    position: relative;
  }
  
  .category-tab.active {
    color: var(--primary);
  }
  
  .category-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary);
  }
  
  .category-tab:hover:not(.active) {
    color: var(--text-light);
  }
  
  .category-content {
    padding: var(--space-xl);
    display: none;
  }
  
  .category-content.active {
    display: block;
  }
  
  .skill-radar {
    width: 100%;
    max-width: 400px;
    margin: 0 auto var(--space-xl);
  }
  
  .skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
  }
  
  .skill-item {
    background-color: var(--bg-light);
    border-radius: var(--border-radius);
    padding: var(--space-md);
  }
  
  .skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xs);
  }
  
  .skill-name {
    font-weight: 500;
    color: var(--text-light);
  }
  
  .skill-level {
    color: var(--text-dark);
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
  }
  
  .skill-bar {
    height: 6px;
    background-color: var(--bg-dark);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
  }
  
  .skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--border-radius-xl);
    position: relative;
  }
  
  .skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: progress-shine 2s infinite linear;
  }
  
  @keyframes progress-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  /* Projects Section */
  .project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
  }
  
  .filter-btn {
    padding: var(--space-xs) var(--space-md);
    background-color: transparent;
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-xl);
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: var(--text-xs);
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-easing);
  }
  
  .filter-btn.active {
    background-color: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: var(--shadow-primary);
  }
  
  .filter-btn:not(.active):hover {
    border-color: var(--primary);
    color: var(--primary);
  }
  
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
  }
  
  .project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-speed) var(--transition-easing);
    position: relative;
  }
  
  .project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
  }
  
  .project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
  }
  
  .project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity var(--transition-speed) var(--transition-easing);
    z-index: 1;
  }
  
  .project-card:hover .project-image::before {
    opacity: 0.2;
  }
  
  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: 1;
  }
  
  .project-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background-color: var(--primary);
    color: var(--bg-dark);
    padding: var(--space-xxs) var(--space-sm);
    border-radius: var(--border-radius-xl);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
  }
  
  .project-content {
    padding: var(--space-lg);
  }
  
  .project-title {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-light);
  }
  
  .project-description {
    font-size: var(--text-sm);
    color: var(--text);
    margin-bottom: var(--space-md);
    min-height: 60px;
  }
  
  .project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-md);
  }
  
  .tech-tag {
    background-color: rgba(0, 240, 255, 0.1);
    color: var(--primary);
    padding: var(--space-xxs) var(--space-sm);
    border-radius: var(--border-radius-xl);
    font-size: var(--text-xs);
    font-weight: 500;
  }
  
  .project-links {
    display: flex;
    gap: var(--space-md);
  }
  
  .project-link {
    display: flex;
    align-items: center;
    color: var(--text);
    font-size: var(--text-sm);
    transition: all var(--transition-speed) var(--transition-easing);
  }
  
  .project-link i {
    margin-right: var(--space-xs);
  }
  
  .project-link:hover {
    color: var(--primary);
  }
  
  /* Experience Section */
  .timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    transform: translateX(-50%);
    z-index: 1;
  }
  
  .timeline-items {
    position: relative;
    z-index: 2;
  }
  
  .timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    position: relative;
  }
  
  .timeline-item:last-child {
    margin-bottom: 0;
  }
  
  .timeline-date {
    width: 120px;
    padding: var(--space-xs);
    background-color: var(--primary);
    color: var(--bg-dark);
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
    align-self: flex-start;
    position: relative;
    z-index: 2;
  }
  
  .timeline-card {
    width: calc(50% - 80px);
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-speed) var(--transition-easing);
    position: relative;
  }
  
  .timeline-card::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 3;
  }
  
  .timeline-item:nth-child(odd) .timeline-card {
    margin-left: auto;
  }
  
  .timeline-item:nth-child(odd) .timeline-card::before {
    left: -30px;
  }
  
  .timeline-item:nth-child(even) .timeline-card {
    margin-right: auto;
  }
  
  .timeline-item:nth-child(even) .timeline-card::before {
    right: -30px;
  }
  
  .timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-primary);
    border-color: var(--primary);
  }
  
  .timeline-card-header {
    margin-bottom: var(--space-md);
  }
  
  .timeline-title {
    font-size: var(--text-md);
    color: var(--text-light);
    margin-bottom: var(--space-xs);
  }
  
  .timeline-company {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 500;
  }
  
  .timeline-card-body p {
    font-size: var(--text-sm);
    color: var(--text);
    margin-bottom: var(--space-md);
  }
  
  .timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
  }
  
  /* Contact Section */
  .contact-content {
    display: flex;
    gap: var(--space-xxl);
  }
  
  .contact-info {
    flex: 1;
    max-width: 400px;
  }
  
  .contact-subtitle {
    font-size: var(--text-xl);
    color: var(--primary);
    margin-bottom: var(--space-lg);
    position: relative;
  }
  
  .contact-subtitle::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary);
  }
  
  .contact-description {
    font-size: var(--text-md);
    color: var(--text);
    margin-bottom: var(--space-xl);
  }
  
  .contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
  }
  
  .contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
  }
  
  .method-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 240, 255, 0.1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
  }
  
  .method-content h4 {
    font-size: var(--text-md);
    color: var(--text-light);
    margin-bottom: var(--space-xs);
  }
  
  .method-content a, .method-content span {
    font-size: var(--text-sm);
    color: var(--text);
    transition: color var(--transition-speed) var(--transition-easing);
  }
  
  .method-content a:hover {
    color: var(--primary);
  }
  
  .contact-social h4 {
    font-size: var(--text-md);
    color: var(--text-light);
    margin-bottom: var(--space-md);
  }
  
  .contact-form {
    flex: 1;
  }
  
  .neon-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
  }
  
  .form-group {
    position: relative;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: var(--space-md) var(--space-sm);
    background-color: transparent;
    border: none;
    border-bottom: 1px solid var(--text-dark);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    transition: all var(--transition-speed) var(--transition-easing);
  }
  
  .form-group textarea {
    resize: vertical;
    min-height: 120px;
  }
  
  .form-group label {
    position: absolute;
    top: var(--space-md);
    left: var(--space-sm);
    color: var(--text-dark);
    font-size: var(--text-sm);
    transition: all var(--transition-speed) var(--transition-easing);
    pointer-events: none;
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group input:not(:placeholder-shown),
  .form-group textarea:not(:placeholder-shown) {
    outline: none;
    border-bottom-color: var(--primary);
  }
  
  .form-group input:focus + label,
  .form-group textarea:focus + label,
  .form-group input:not(:placeholder-shown) + label,
  .form-group textarea:not(:placeholder-shown) + label {
    transform: translateY(-25px);
    font-size: var(--text-xs);
    color: var(--primary);
  }
  
  .form-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition-speed) var(--transition-easing);
  }
  
  .form-group input:focus ~ .form-border,
  .form-group textarea:focus ~ .form-border {
    width: 100%;
  }
  
  /* Footer */

  .admin-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--border-radius);
    color: var(--text-dark);
    transition: all var(--transition-speed) var(--transition-easing);
    font-size: var(--text-sm);
}

.admin-link:hover {
    color: var(--primary);
    background-color: rgba(0, 240, 255, 0.1);
}


/* Loading and error states */
.loading-spinner {
  text-align: center;
  padding: 2rem;
  grid-column: 1 / -1;
}

.loading-spinner i {
  font-size: 2rem;
  color: var(--primary);
}

.no-projects, .no-blogs, .error-message {
  text-align: center;
  grid-column: 1 / -1;
  padding: 2rem;
  color: var(--text);
}

.error-message {
  color: #ff4d4f;
}


  .main-footer {
    background-color: var(--bg-light);
    padding: var(--space-xl) 0;
    position: relative;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
  }
  
  .footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .footer-logo {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-md);
  }
  
  .footer-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-md);
    color: var(--text-light);
  }
  
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xxl);
  }
  
  .link-group {
    flex: 1;
    min-width: 150px;
  }
  
  .link-group h4 {
    font-size: var(--text-md);
    color: var(--text-light);
    margin-bottom: var(--space-md);
  }
  
  .link-group a {
    display: block;
    color: var(--text);
    font-size: var(--text-sm);
    margin-bottom: var(--space-xs);
    transition: color var(--transition-speed) var(--transition-easing);
  }
  
  .link-group a:hover {
    color: var(--primary);
  }
  
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-md);
    border-top: 1px solid var(--card-border);
  }
  
  .copyright {
    font-size: var(--text-sm);
    color: var(--text-dark);
  }
  
  /* Custom Cursor */
  .custom-cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--primary);
    mix-blend-mode: difference;
    position: fixed;
    pointer-events: none;
    z-index: var(--z-max);
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s ease, height 0.3s ease;
    display: none;
  }
  
  .cursor-follower {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--primary);
    position: fixed;
    pointer-events: none;
    z-index: var(--z-max);
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease-out, width 0.3s ease, height 0.3s ease;
    display: none;
  }
  
  @media (pointer: fine) {
    .custom-cursor, .cursor-follower {
      display: block;
    }
  }
  
  /* Notification */
  .notification {
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    background-color: var(--success);
    color: var(--bg-dark);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-speed) var(--transition-easing);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
  }
  
  .notification.show {
    transform: translateY(0);
    opacity: 1;
  }
  
  .notification i {
    font-size: var(--text-lg);
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    .content-wrapper {
      margin-left: 280px;
    }
  }
  
  @media (max-width: 992px) {
    .content-wrapper {
      margin-left: 0;
      padding-top: 80px;
    }
  
    .floating-nav {
      width: 100%;
      height: auto;
      flex-direction: row;
      padding: var(--space-md);
      border-right: none;
      border-bottom: 1px solid rgba(0, 240, 255, 0.1);
    }
  
    .nav-brand {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
      margin-right: var(--space-lg);
    }
  
    .nav-links {
      flex-direction: row;
      flex: 1;
      justify-content: center;
    }
  
    .link-text {
      display: none;
    }
  
    .nav-footer {
      display: none;
    }
  
    .home-content {
      flex-direction: column;
      gap: var(--space-xl);
    }
  
    .home-text {
      max-width: 100%;
      text-align: center;
    }
  
    .home-buttons {
      justify-content: center;
    }
  
    .about-content {
      flex-direction: column;
    }
  
    .about-image {
      max-width: 100%;
      margin-bottom: var(--space-xl);
    }
  
    .contact-content {
      flex-direction: column;
    }
  
    .contact-info {
      max-width: 100%;
    }
  
    .timeline-line {
      left: 20px;
    }
  
    .timeline-item {
      flex-direction: column;
    }
  
    .timeline-date {
      width: auto;
      margin-bottom: var(--space-sm);
      align-self: flex-start;
    }
  
    .timeline-card {
      width: calc(100% - 60px);
      margin-left: 40px !important;
    }
  
    .timeline-card::before {
      left: -30px !important;
      right: auto !important;
    }
  }
  
  @media (max-width: 768px) {
    :root {
      --text-base: 0.9rem;
    }
  
    .section {
      padding: var(--space-xl) 0;
    }
  
    .projects-grid {
      grid-template-columns: 1fr;
    }
  
    .nav-links {
      gap: var(--space-xxs);
    }
  
    .link-icon {
      margin-right: 0;
    }
  }
  
  @media (max-width: 576px) {
    :root {
      --text-base: 0.85rem;
    }
  
    .home-title .title-name {
      font-size: var(--text-xxl);
    }
  
    .home-buttons {
      flex-direction: column;
      gap: var(--space-sm);
    }
  
    .btn {
      width: 100%;
      justify-content: center;
    }
  
    .holographic-display {
      width: 300px;
      height: 300px;
    }
  }
  
  /* Animations */
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
  }
  
  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
  }
  
  /* Print Styles */
  @media print {
    .floating-nav, .preloader, .custom-cursor, .cursor-follower {
      display: none !important;
    }
  
    .content-wrapper {
      margin-left: 0;
      padding: 0;
    }
  
    body {
      background-color: white !important;
      color: black !important;
    }
  
    a {
      color: #0066cc !important;
    }
  
    .btn, .project-card, .timeline-card, .detail-card {
      box-shadow: none !important;
      border: 1px solid #ddd !important;
    }
  
    .section {
      page-break-inside: avoid;
      padding: 1cm 0;
    }


  }