/* ========================================
   ELITE TECH PORTFOLIO - STYLE SYSTEM
   Deep Slate Aesthetic with Premium Effects
   ======================================== */

html {
    scroll-behavior: smooth;
}

:root {
    /* ========================================
       DARK MODE (Default) - Deep Slate Aesthetic
       ======================================== */
    --bg-primary: #020617;
    --bg-secondary: #0F172A;
    --bg-deep: #020617;
    --bg-dark: #0F172A;
    --bg-card: #1E293B;
    --bg-card-hover: #334155;
    --card-glass: rgba(30, 41, 59, 0.95);
    
    /* Primary Colors - Cyan/Blue Focus */
    --primary: #38BDF8;
    --primary-light: #7DD3FC;
    --primary-dark: #0284C7;
    --accent-cyan: #22D3EE;
    --accent-blue: #3B82F6;
    
    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #E2E8F0;
    --text-muted: #94A3B8;
    
    /* Border & Shadow */
    --border-subtle: rgba(148, 163, 184, 0.15);
    --border-strong: rgba(148, 163, 184, 0.3);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(56, 189, 248, 0.2);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #38BDF8 0%, #3B82F6 100%);
    --gradient-accent: linear-gradient(135deg, #22D3EE 0%, #38BDF8 100%);
    --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Spacing */
    --section-padding: 8rem;
    --container-max: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   TERMINAL FORCED VISIBILITY - OVERRIDE ALL
   ======================================== */
.about-terminal-card,
.about-terminal-card .terminal-body,
.about-terminal-card .terminal-header,
.about-terminal-card .terminal-line,
.about-terminal-card .terminal-prompt,
.about-terminal-card .terminal-input,
.about-terminal-card .terminal-output,
.about-terminal-card .terminal-command,
.about-terminal-card .terminal-blink,
.about-terminal-card .terminal-title,
.about-terminal-card .enter-key,
.about-terminal-card .type-fast,
.about-terminal-card .cmd-1,
.about-terminal-card .cmd-2 {
    opacity: 1 !important;
    visibility: visible !important;
}

.about-terminal-card .terminal-prompt {
    color: #4dabf7 !important;
    text-shadow: 0 0 10px rgba(77, 171, 247, 0.8) !important;
    font-weight: 700 !important;
}

.about-terminal-card .terminal-input,
.about-terminal-card .terminal-command,
.about-terminal-card .type-fast,
.about-terminal-card .cmd-1,
.about-terminal-card .cmd-2 {
    color: #ffffff !important;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5) !important;
    font-weight: 600 !important;
}

.about-terminal-card .terminal-output {
    color: #7ee787 !important;
    text-shadow: 0 0 10px rgba(126, 231, 135, 0.8) !important;
    font-weight: 600 !important;
}

.about-terminal-card .terminal-blink {
    color: #40c057 !important;
    text-shadow: 0 0 10px rgba(64, 192, 87, 0.8) !important;
    font-weight: bold !important;
}

.about-terminal-card .terminal-title {
    color: #c9d1d9 !important;
}

.about-terminal-card .enter-key {
    color: #8b949e !important;
}

[data-theme="light"] {
    /* ========================================
       LIGHT MODE - Absolute Contrast
       ======================================== */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFC;
    --bg-deep: #FFFFFF;
    --bg-dark: #FFFFFF;
    --bg-card: #F1F5F9;
    --bg-card-hover: #E2E8F0;
    --card-glass: rgba(241, 245, 249, 0.98);
    
    /* Text Colors - Absolute Contrast */
    --text-primary: #000000;
    --text-secondary: #0F172A;
    --text-muted: #334155;
    
    /* Accent - Indigo Elite */
    --primary: #4f46e5;
    --secondary: #0891b2;
    --cyan: #0891b2;
    --accent-indigo: #4f46e5;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-gradient: linear-gradient(135deg, #4f46e5, #06b6d4, #ec4899);
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    
    /* Borders */
    --border-subtle: #E2E8F0;
    --border-hover: #CBD5E1;
    --border-glass: rgba(15, 23, 42, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-blur: blur(20px);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 8px 40px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 60px rgba(79, 70, 229, 0.25);
}

/* Light mode card borders */
[data-theme="light"] .bento-card,
[data-theme="light"] .cert-card,
[data-theme="light"] .project-card {
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .project-code-header {
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .about-bio-card,
[data-theme="light"] .about-terminal-card {
    border: 1px solid #e2e8f0;
}

/* Mesh Orbs - Softer in Light Mode */
[data-theme="light"] .gradient-orb {
    opacity: 0.05;
    filter: blur(80px);
}

[data-theme="light"] .orb-indigo {
    background: #a5b4fc;
}

[data-theme="light"] .orb-cyan {
    background: #67e8f9;
}

[data-theme="light"] .orb-pink {
    background: #fbcfe8;
}

/* Smooth transitions for theme switching */
*, *::before, *::after {
    transition: background-color 0.4s ease, 
                color 0.4s ease, 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    line-height: 1.8;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.8;
}

/* Premium Background Visuals */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 1;
}

/* Subtle Dotted Grid Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 1200px 900px at 25% 35%, rgba(102, 126, 234, 0.28) 0%, transparent 70%),
        radial-gradient(ellipse 1000px 1000px at 75% 65%, rgba(244, 114, 182, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 1300px 800px at 50% 50%, rgba(0, 255, 249, 0.18) 0%, transparent 70%);
    filter: blur(180px);
    pointer-events: none;
    z-index: 0;
    animation: orb-drift 40s ease-in-out infinite alternate;
}

@keyframes orb-drift {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, -120px) scale(1.12); }
    50% { transform: translate(-60px, 90px) scale(0.92); }
    75% { transform: translate(50px, -70px) scale(1.08); }
    100% { transform: translate(-40px, 60px) scale(0.96); }
}

/* ========================================
   SIMPLE MINIMAL CURSOR
   ======================================== */
.cursor-outer {
    display: none;
}

.cursor-inner {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.2s, height 0.2s;
    will-change: transform;
}

.cursor-inner.hover {
    width: 12px;
    height: 12px;
    background: var(--accent-indigo);
}

/* ========================================
   SUBTLE DOTTED GRID OVERLAY
   ======================================== */
.dotted-grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, var(--text-muted) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.05;
}

/* Fixed Grid-Line Overlay */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* 3 Moving Mesh Gradient Orbs - 200px blur */
.gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(200px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

[data-theme="light"] .gradient-orb {
    opacity: 0.15;
}

.orb-indigo {
    width: 600px;
    height: 600px;
    background: var(--accent-indigo);
    top: -200px;
    left: -100px;
    animation: floatOrb1 20s ease-in-out infinite;
}

.orb-cyan {
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
    top: 40%;
    right: -150px;
    animation: floatOrb2 25s ease-in-out infinite;
}

.orb-pink {
    width: 450px;
    height: 450px;
    background: var(--accent-pink);
    bottom: -100px;
    left: 30%;
    animation: floatOrb3 22s ease-in-out infinite;
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, 50px) scale(1.1); }
    50% { transform: translate(50px, 100px) scale(0.9); }
    75% { transform: translate(-50px, 50px) scale(1.05); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-80px, 80px) scale(1.15); }
    66% { transform: translate(-40px, -60px) scale(0.95); }
}

@keyframes floatOrb3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, -80px) scale(1.1); }
}

/* Professional Typography */
h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.02em;
    font-weight: 800;
    line-height: 1.2;
}

/* Image CLS Prevention */
img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensure images don't cause layout shift */
    aspect-ratio: attr(width) / attr(height);
}

p {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    color: var(--text-muted);
    transition: color 0.4s ease;
}

nav, section, footer {
    position: relative;
    z-index: 1;
}

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

.floating-social-bar {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--accent-cyan);
    border-radius: 16px;
    padding: 1.5rem 0.8rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(6, 182, 212, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background, opacity;
    contain: layout; /* CLS prevention */
}

[data-theme="light"] .floating-social-bar {
    background: rgba(255, 255, 255, 0.7);
    border-left: 3px solid var(--accent-indigo);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(79, 70, 229, 0.1);
}

.floating-social-bar::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-indigo), var(--accent-pink), var(--accent-cyan));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
    animation: borderGlow 4s ease infinite;
    z-index: -1;
}

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

.floating-social-bar:hover {
    transform: translateY(-50%) scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 0 2px rgba(99, 102, 241, 0.3);
}

.floating-social-bar.scrolled {
    transform: translateY(-50%) scale(0.95);
    opacity: 0.8;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    transform-origin: center;
    position: relative;
    overflow: hidden;
    /* Performance optimization */
    will-change: transform;
    backface-visibility: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon:hover::before {
    opacity: 1;
}

.floating-social-bar.scrolled .social-icon {
    transform: rotate(5deg);
}

.social-icon:hover {
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--accent-cyan);
    transform: scale(1.15) rotate(0deg) !important;
    box-shadow: 0 8px 25px rgba(6, 182, 212, 0.3);
}

/* AI Chatbot - Modern SaaS Widget Style */
.ai-chatbot {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    contain: layout; /* CLS prevention */
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-gradient);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5), 0 0 0 4px rgba(99, 102, 241, 0.1);
    transition: all var(--transition-fast);
    position: relative;
}

.chatbot-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 30px rgba(99, 102, 241, 0.6), 0 0 0 6px rgba(99, 102, 241, 0.15);
}

/* Notification Badge */
.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: #ef4444;
    border-radius: 50%;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--bg-primary);
    animation: badgePop 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes badgePop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Pulse Notification Animation - High Visibility for Recruiters */
.pulse-notification {
    animation: pulseNotification 1s infinite;
}

@keyframes pulseNotification {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5), 0 0 0 4px rgba(99, 102, 241, 0.1);
    }
    50% {
        box-shadow: 0 6px 40px rgba(239, 68, 68, 0.8), 0 0 0 12px rgba(239, 68, 68, 0.3);
        transform: scale(1.05);
    }
}

/* Typing Indicator */
.typing-indicator p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.typing-indicator p::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-indigo);
    border-radius: 50%;
    animation: typingDot 1.4s infinite;
}

@keyframes typingDot {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    30% {
        opacity: 1;
        transform: scale(1);
    }
}

.chatbot-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--accent-indigo);
    animation: chatbotPulse 2s infinite;
    z-index: -1;
}

@keyframes chatbotPulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

.chatbot-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    background: #111111;
    border: 2px solid #4f46e5;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(79, 70, 229, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all var(--transition-smooth);
}

[data-theme="light"] .chatbot-window {
    background: #ffffff;
    border: 2px solid #4f46e5;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(79, 70, 229, 0.3);
}

[data-theme="light"] .bot-message {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

.chatbot-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--accent-indigo);
    border-bottom: 1px solid var(--border-subtle);
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.chatbot-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.chatbot-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chatbot-close {
    margin-left: auto;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: opacity 0.3s;
}

.chatbot-close:hover {
    opacity: 0.7;
}

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bot-message {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.user-message {
    background: var(--accent-indigo);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chatbot-input-container {
    display: flex;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.chatbot-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.chatbot-input:focus {
    border-color: var(--accent-indigo);
}

.chatbot-send {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--accent-indigo);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
}

.chatbot-send:hover {
transform: scale(1.05);
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* ========================================
   PROFESSIONAL GLASSMORPHISM NAVBAR
   ======================================== */
.navbar {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0.8rem 2rem;
    transition: all 0.3s ease;
    contain: layout; /* CLS prevention */
}

[data-theme="light"] .navbar {
    background: #FFFFFF;
    border: 2px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* THREE SEPARATE NAVIGATION SECTIONS */
.navbar-left {
    position: fixed !important;
    top: 1.5rem !important;
    left: 2rem;
    z-index: 2000 !important;
    display: flex;
    align-items: center;
    contain: layout; /* CLS prevention */
}

.navbar-left .nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

[data-theme="light"] .navbar-left .nav-brand {
    color: #0F172A;
}

.navbar-left .nav-brand:hover {
    color: #6366f1;
}

.navbar-center {
    position: fixed !important;
    top: 1.5rem !important;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2000 !important;
    background: rgba(15, 23, 42, 0.15);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 16px;
    padding: 0.8rem 2rem;
    min-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    contain: layout; /* CLS prevention */
}

[data-theme="light"] .navbar-center {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(226, 232, 240, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
}

.navbar-center .nav-menu {
    display: flex !important;
    flex-direction: row !important;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2rem !important;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
    flex-wrap: nowrap !important;
}

/* Rolling Highlighted Text Effect - Theme Independent */
.navbar-center .nav-menu .nav-link {
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    padding: 0 0.5rem;
    height: 24px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
    position: relative;
    border-radius: 0 !important;
    transition: none;
    color: #94A3B8 !important;
    text-shadow: none;
    white-space: nowrap;
    text-decoration: none;
    width: auto;
    z-index: 1;
    cursor: pointer;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Dark Theme - Bright white for high visibility */
[data-theme="dark"] .navbar-center .nav-menu .nav-link,
[data-theme="dark"] .navbar-center .nav-menu .nav-link .original-text {
    color: #F8FAFC !important;
    text-shadow: none !important;
}

/* Light Theme - Dark readable slate gray for original text */
[data-theme="light"] .navbar-center .nav-menu .nav-link,
[data-theme="light"] .navbar-center .nav-menu .nav-link .original-text {
    color: #475569 !important;
    text-shadow: none !important;
}

.navbar-center .nav-menu .nav-link:hover,
.navbar-center .nav-menu .nav-link:focus,
.navbar-center .nav-menu .nav-link:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important; 
}

/* Strip backgrounds from list items */
.navbar-center .nav-menu li,
.navbar-center .nav-menu li:hover,
.navbar-center .nav-menu li:focus,
.navbar-center .nav-menu li:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.navbar-center .nav-menu .nav-link .original-text {
    display: block !important;
    height: 24px !important;
    line-height: 24px !important;
    transition: transform 0.3s ease;
    transform: translateY(0);
    color: inherit;
    white-space: nowrap;
}

.navbar-center .nav-menu .nav-link .highlighted-text {
    display: block !important;
    height: 24px !important;
    line-height: 24px !important;
    color: #FFFFFF !important;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.6) !important;
    transition: transform 0.3s ease;
    transform: translateY(0);
    white-space: nowrap;
    background: transparent !important;
    background-color: transparent !important;
}

/* Dark Theme - Vibrant light purple with premium glow */
[data-theme="dark"] .navbar-center .nav-menu .nav-link .highlighted-text {
    color: #818CF8 !important;
    text-shadow: 0 0 8px rgba(129, 140, 248, 0.4) !important;
}

/* Light Theme - Deep Indigo highlighted text with subtle shadow */
[data-theme="light"] .navbar-center .nav-menu .nav-link .highlighted-text {
    color: #4F46E5 !important;
    text-shadow: 0 0 3px rgba(79, 70, 229, 0.2) !important;
}

/* Rolling animation on hover OR active-link class */
.navbar-center .nav-menu .nav-link:hover .original-text,
.navbar-center .nav-menu .nav-link.active-link .original-text {
    transform: translateY(-24px) !important;
}

.navbar-center .nav-menu .nav-link:hover .highlighted-text,
.navbar-center .nav-menu .nav-link.active-link .highlighted-text {
    transform: translateY(-24px) !important;
}

.navbar-right {
    position: fixed !important;
    top: 1.5rem !important;
    right: 2rem;
    z-index: 2000 !important;
    display: flex;
    align-items: center;
    contain: layout; /* CLS prevention */
}

.navbar-right .nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* HIGH SPECIFICITY NAVIGATION LAYOUT - FORCE THREE SECTION LAYOUT */
.navbar .container .nav-left {
    display: flex !important;
    align-items: center !important;
    flex: 1 !important;
    justify-content: flex-start !important;
}

.navbar .container .nav-center {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 2 !important;
}

.navbar .container .nav-right {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex: 1 !important;
}

.navbar .container .nav-center .nav-menu {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.6rem !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
    flex-direction: row !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}

.navbar .container .nav-center .nav-menu li {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar .container .nav-center .nav-menu li:hover,
.navbar .container .nav-center .nav-menu li:focus,
.navbar .container .nav-center .nav-menu li:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar .container .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

.nav-left {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
}

.nav-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 2;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

/* Ensure navigation menu displays horizontally in center section */
.nav-center .nav-menu {
    display: flex !important;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    position: relative;
    flex-direction: row !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-wrap: nowrap;
    width: 100%;
}

.nav-menu li {
    white-space: nowrap;
    flex-shrink: 0;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-menu li:hover,
.nav-menu li:focus,
.nav-menu li:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Base navigation menu visibility */
.nav-menu {
    display: flex;
    visibility: visible;
    opacity: 1;
}

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

.nav-brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
    display: block;
}

[data-theme="light"] .nav-brand {
    color: #0F172A;
}

.nav-brand:hover {
    color: #6366f1;
}

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

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #94A3B8;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    height: 24px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: none;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-link:hover,
.nav-link:focus,
.nav-link:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* LIGHT THEME NAVBAR VISIBILITY FIX */
[data-theme="light"] .navbar {
    background: #FFFFFF !important;
    border: 2px solid rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

[data-theme="light"] .nav-link {
    color: #000000 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .nav-link .original-text {
    color: #000000 !important;
}

[data-theme="light"] .nav-link .highlighted-text {
    color: #4F46E5 !important;
}

[data-theme="light"] .nav-brand {
    color: #0F172A !important;
    font-weight: 700 !important;
}

/* LIGHT THEME NAV LINK COLORS - HIGHER SPECIFICITY */
body[data-theme="light"] .nav-link {
    color: #000000 !important;
}

body[data-theme="light"] .nav-link .original-text {
    color: #000000 !important;
}

/* NAV CONTROLS */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* RESUME BUTTON - SIGNATURE GRADIENT */
.resume-link {
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #ec4899);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

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

.resume-link:hover::before {
    left: 100%;
}

.resume-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

/* ACTIVE STATE */
.nav-link.nav-active {
    color: #6366f1;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.nav-link.nav-active:hover,
.nav-link.nav-active:focus,
.nav-link.nav-active:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .nav-link.nav-active {
    color: #4F46E5;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

[data-theme="light"] .nav-link.nav-active:hover,
[data-theme="light"] .nav-link.nav-active:focus,
[data-theme="light"] .nav-link.nav-active:active {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        top: 1rem;
        width: calc(100% - 2rem);
        padding: 0.6rem 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
        height: 16px;
        line-height: 16px;
    }
    
    .nav-brand {
        font-size: 1rem;
    }
    
    .resume-link {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Theme Toggle */
.theme-toggle {
width: 44px;
height: 44px;
border-radius: 50%;
border: 1px solid var(--border-subtle);
background: var(--glass-bg);
backdrop-filter: var(--glass-blur);
display: flex;
align-items: center;
justify-content: center;
transition: all var(--transition-fast);
position: relative;
overflow: hidden;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.theme-toggle i {
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: absolute;
}

.theme-toggle .fa-sun {
    opacity: 1;
    transform: rotate(0);
}

.theme-toggle .fa-moon {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="light"] .theme-toggle .fa-sun {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="light"] .theme-toggle .fa-moon {
    opacity: 1;
    transform: rotate(0);
}

.theme-toggle:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    position: relative;
    z-index: 1;
    /* Removed transform: translateY(20px) to prevent CLS */
}

.hero-container {
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease forwards, floatBadge 6s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
}

.hero-greeting {
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.5;
    animation: fadeInUp 0.8s ease forwards;
    letter-spacing: 0.05em;
}

.hero-name {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 900;
    color: var(--text-primary);
    letter-spacing: 0.02em;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 1;
    position: relative;
    transition: all 0.4s ease;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--text-primary) 0%, var(--accent-cyan) 50%, var(--text-primary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInUp 0.8s ease 0.1s forwards, shimmer-text 3s ease-in-out infinite;
}

[data-theme="light"] .hero-name {
    color: #000000;
}

@keyframes shimmer-text {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.hero-roles {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    min-height: 70px;
    font-weight: 500;
    opacity: 1;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.monospace-text {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    background: linear-gradient(135deg, #6366f1, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

[data-theme="dark"] .monospace-text {
    background: linear-gradient(135deg, #818cf8, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(129, 140, 248, 0.3);
}

.cursor-blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.status-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #10b981;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    letter-spacing: -0.01em;
    opacity: 1;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    opacity: 1;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
}

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

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 45px rgba(102, 126, 234, 0.45);
}

.btn {
    font-family: 'Inter', sans-serif;
    padding: 1.2rem 2.4rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    transition: all 0.3s;
    border: none;
    font-size: 1rem;
}

section {
    padding: 8rem 0;
    min-height: 600px; /* Prevent CLS by reserving space */
}

/* Specific section min-heights for CLS prevention */
.hero {
    min-height: 100vh;
}

.about {
    min-height: 800px;
}

.experience {
    min-height: 700px;
}

.skills-section {
    min-height: 800px;
}

.projects {
    min-height: 1000px;
}

.certifications {
    min-height: 800px;
}

.contact {
    min-height: 600px;
}

/* Dark Theme Section Dividers */
[data-theme="dark"] section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] section:last-child {
    border-bottom: none !important;
}

/* Section Headers */
.section-header {
    margin-bottom: 4.5rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
    height: 3px;
    background: var(--cyan);
    box-shadow: 0 0 25px var(--cyan);
}

/* Dark Theme Section Title Line */
[data-theme="dark"] .section-title::after {
    background: #00d4ff !important;
    box-shadow: 0 0 25px #00d4ff !important;
}

[data-theme="light"] body {
    background: #FFFFFF !important;
    color: #0F172A !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 {
    color: #0F172A !important;
}

[data-theme="light"] p,
[data-theme="light"] span,
[data-theme="light"] .nav-link {
    color: #000000 !important;
}

[data-theme="light"] .nav-link:hover {
    color: #000000 !important;
}

[data-theme="light"] .bento-card,
[data-theme="light"] .project-card,
[data-theme="light"] .experience-card,
[data-theme="light"] .cert-card {
    background-color: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
}

[data-theme="light"] .resume-link {
    color: #FFFFFF !important;
}

[data-theme="light"] .floating-social-bar {
    background: rgba(255, 255, 255, 0.7) !important;
}

/* Professional Status Pill */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    padding: 0.8rem 1.6rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 12px rgba(16, 185, 129, 0.8); 
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.4); 
        box-shadow: 0 0 30px rgba(16, 185, 129, 1); 
    }
}

.status-text {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #10b981;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
}

/* Bento Grid System - Premium Airy Layout */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
    grid-auto-flow: dense;
}

[data-theme="light"] .bento-grid {
    gap: 2rem;
}

.about-grid {
    grid-template-rows: repeat(2, auto);
}

.bento-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--accent-indigo), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--accent-indigo);
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.35), 0 0 0 1px rgba(99, 102, 241, 0.1);
}

/* Bento Card Sizes */
.bento-large {
    grid-column: span 8;
    grid-row: span 2;
}

.bento-tall {
    grid-column: span 4;
    grid-row: span 2;
}

.bento-wide {
    grid-column: span 8;
    grid-row: span 1;
}

.bento-small {
    grid-column: span 4;
    grid-row: span 1;
}

.bento-medium {
    grid-column: span 6;
    grid-row: span 1;
}

/* Bento Card Components */
.bento-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
}

.bento-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bento-content p {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.expertise-list {
    list-style: none;
    padding: 0;
}

.expertise-list li {
    font-family: 'Inter', sans-serif;
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.expertise-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.status-light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ef4444;
}

.status-light.active {
    background: #10b981;
    animation: pulse-dot 2s ease-in-out infinite;
}

/* About Section - Vertical Stack Layout */
.about-bento-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

/* About Section Animations */
.about-bio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    animation: aboutFloat 5s ease-in-out infinite;
}

/* About Terminal Card - CLS fix with min-height */
.about-terminal-card {
    min-height: 400px;
}

.about-bio-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.05), transparent);
    animation: aboutScan 8s linear infinite;
    pointer-events: none;
}

@keyframes aboutFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.01); }
}

@keyframes aboutScan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-bio-card p {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.about-bio-card p:last-child {
    margin-bottom: 0;
}

.about-bio-card .highlight-text {
    font-style: italic;
    color: var(--accent-cyan);
    animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 5px rgba(6, 182, 212, 0.3); }
    50% { text-shadow: 0 0 15px rgba(6, 182, 212, 0.8); }
}

/* CLI Terminal Card */
.about-terminal-card {
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
    /* CLS fix - prevent layout jump during typing animation */
    min-height: 400px;
}

.terminal-header {
    background: linear-gradient(135deg, #21262d 0%, #2d333b 100%);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid #30363d;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.term-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.term-btn.red { background: #ff5f56; }
.term-btn.yellow { background: #ffbd2e; }
.term-btn.green { background: #27c93f; }

.terminal-title {
    font-size: 0.85rem;
    color: #8b949e !important;
    margin-left: auto;
    font-family: 'JetBrains Mono', monospace;
}

.terminal-body {
    padding: 1.5rem;
    min-height: 200px;
    background: linear-gradient(135deg, #0d1117 0%, #161b22 100%);
}

.terminal-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: nowrap;
}

.terminal-line.output {
    padding-left: 0;
    margin-bottom: 0.35rem;
}

.terminal-prompt {
    color: #58a6ff !important;
    font-weight: 700 !important;
    font-size: 0.9rem;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(88, 166, 255, 0.6) !important;
}

.terminal-command {
    color: #ffffff !important;
    font-size: 0.9rem;
    font-weight: 600 !important;
}

.terminal-input {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #ffffff !important;
}

/* Prompt typing - starts immediately */
.terminal-prompt.type-fast {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    display: inline-block;
    animation: typePrompt 0.5s steps(25, end) forwards;
}

/* Delayed prompt for second command */
.terminal-prompt.type-fast.delay-prompt {
    animation-delay: 1.5s;
}

/* Last prompt - appears after all output */
.terminal-prompt.type-fast.delay-last {
    animation-delay: 3.3s;
}

/* First command - starts after first prompt */
.cmd-1 {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    display: inline-block;
    animation: typeCmd 0.6s steps(25, end) forwards;
    animation-delay: 0.5s;
}

/* Second command - starts after second prompt */
.cmd-2 {
    overflow: hidden;
    white-space: nowrap;
    width: 0;
    display: inline-block;
    animation: typeCmd 0.5s steps(15, end) forwards;
    animation-delay: 2s;
}

@keyframes typePrompt {
    from { width: 0; }
    to { width: 240px; }
}

@keyframes typeCmd {
    from { width: 0; }
    to { width: 100%; }
}

/* Enter keys */
.enter-key {
    opacity: 0;
    color: #6e7681;
    font-size: 0.75rem;
    animation: showEnter 0.15s ease forwards;
}

.enter-1 {
    animation-delay: 1.1s;
}

.enter-2 {
    animation-delay: 2.5s;
}

@keyframes showEnter {
    from { opacity: 0; transform: translateX(-3px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Output lines - hidden by default, shown with animation */
.terminal-line.output {
    opacity: 0;
    transform: translateY(3px);
    animation: showOutput 0.3s ease forwards;
}

/* First command output (Current Focus Areas) */
.terminal-body .terminal-line.output:nth-child(2) {
    animation-delay: 1.3s;
}

/* Second command output lines */
.terminal-body .terminal-line.output:nth-child(4) {
    animation-delay: 2.7s;
}

.terminal-body .terminal-line.output:nth-child(5) {
    animation-delay: 2.85s;
}

.terminal-body .terminal-line.output:nth-child(6) {
    animation-delay: 3s;
}

.terminal-body .terminal-line.output:nth-child(7) {
    animation-delay: 3.15s;
}

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

.terminal-output {
    color: #7ee787 !important;
    font-size: 0.9rem;
    font-weight: 600 !important;
    text-shadow: 0 0 8px rgba(126, 231, 135, 0.6) !important;
}

.terminal-cursor {
    color: #27c93f !important;
    font-weight: bold !important;
    animation: blink 1s step-end infinite;
}

/* Blinking cursor at the end - appears after prompt types */
.terminal-blink {
    color: #27c93f !important;
    font-weight: bold !important;
    opacity: 0;
    animation: blinkShow 1s step-end infinite;
    animation-delay: 3.8s;
}

@keyframes blinkShow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes blink {
    50% { opacity: 0; }
}

/* ========================================
   TERMINAL VISIBILITY - HIGH PRIORITY
   ======================================== */
.terminal-prompt,
.terminal-output,
.terminal-input,
.type-fast,
.cmd-1,
.cmd-2,
.enter-key,
.terminal-blink {
    color: inherit;
}

/* Base terminal colors - applies to both themes */
.about-terminal-card .terminal-prompt {
    color: #4dabf7 !important;
    text-shadow: 0 0 8px rgba(77, 171, 247, 0.6) !important;
    font-weight: 700 !important;
}

.about-terminal-card .terminal-input,
.about-terminal-card .type-fast,
.about-terminal-card .cmd-1,
.about-terminal-card .cmd-2 {
    color: #f8f9fa !important;
    font-weight: 600 !important;
}

.about-terminal-card .terminal-output {
    color: #51cf66 !important;
    text-shadow: 0 0 8px rgba(81, 207, 102, 0.6) !important;
    font-weight: 600 !important;
}

.about-terminal-card .terminal-blink {
    color: #40c057 !important;
    text-shadow: 0 0 8px rgba(64, 192, 87, 0.7) !important;
    font-weight: bold !important;
}

.about-terminal-card .enter-key {
    color: #adb5bd !important;
}

.about-terminal-card .terminal-title {
    color: #ced4da !important;
}

/* Skills Cards Grid Layout - 3D Tilt Enabled */
.skills-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
    perspective: 1000px;
}

/* Individual Skill Card - 3D Tilt */
.skill-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 1.2s cubic-bezier(0.34, 1.56, 0.64, 1),
                filter 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transform-style: preserve-3d;
    will-change: transform, opacity, filter;
    
    /* Scroll entrance properties */
    opacity: 0;
    transform: rotateX(20deg) scale(0.9) translate3d(0, 50px, -50px);
    filter: blur(8px);
    transform-origin: center bottom;
}

.skill-card.unlocked {
    opacity: 1;
    transform: rotateX(0deg) scale(1) translate3d(0, 0, 0);
    filter: blur(0);
}

/* Category-specific glowing borders */
.skill-card-lang {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.15), inset 0 0 30px rgba(255, 215, 0, 0.02);
}

.skill-card-web {
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.15), inset 0 0 30px rgba(0, 217, 255, 0.02);
}

.skill-card-ai {
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.15), inset 0 0 30px rgba(255, 107, 53, 0.02);
}

.skill-card-tools {
    border-color: rgba(155, 89, 182, 0.3);
    box-shadow: 0 0 30px rgba(155, 89, 182, 0.15), inset 0 0 30px rgba(155, 89, 182, 0.02);
}

/* Parallax layers - different translateZ for depth */
.skill-card-icon {
    transform: translateZ(55px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-card-title {
    transform: translateZ(35px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-tags {
    transform: translateZ(25px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.skill-pill {
    transform: translateZ(15px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, box-shadow 0.3s ease;
}

/* Floating animation - active only when unlocked and not hovered */
.skill-card[data-index="0"].unlocked:not(:hover) { animation: float-card-1 5.5s ease-in-out infinite; }
.skill-card[data-index="1"].unlocked:not(:hover) { animation: float-card-2 6.2s ease-in-out infinite; }
.skill-card[data-index="2"].unlocked:not(:hover) { animation: float-card-3 5.8s ease-in-out infinite; }
.skill-card[data-index="3"].unlocked:not(:hover) { animation: float-card-4 6.5s ease-in-out infinite; }

@keyframes float-card-1 {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-8px) rotateX(0.5deg) rotateY(-0.5deg); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateX(-0.5deg) rotateY(0.5deg); }
}

@keyframes float-card-3 {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-7px) rotateX(0.4deg) rotateY(0.4deg); }
}

@keyframes float-card-4 {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-9px) rotateX(-0.4deg) rotateY(-0.4deg); }
}

/* Skill Card Icon */
.skill-card-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
}

.skill-card-lang .skill-card-icon {
    color: #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
}

.skill-card-web .skill-card-icon {
    color: #00d9ff;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
}

.skill-card-ai .skill-card-icon {
    color: #ff6b35;
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

.skill-card-tools .skill-card-icon {
    color: #9b59b6;
    box-shadow: 0 0 20px rgba(155, 89, 182, 0.4);
}

/* Skill Card Title */
.skill-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #e6edf3;
    margin-bottom: 1.2rem;
}

/* Skill Tags Container */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* Individual Skill Pill */
.skill-pill {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: default;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Category-specific pill colors with inner glow */
.skill-card-lang .skill-pill {
    color: #ffd700;
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: inset 0 0 8px rgba(255, 215, 0, 0.1);
}

.skill-card-web .skill-pill {
    color: #00d9ff;
    border-color: rgba(0, 217, 255, 0.3);
    box-shadow: inset 0 0 8px rgba(0, 217, 255, 0.1);
}

.skill-card-ai .skill-pill {
    color: #ff6b35;
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: inset 0 0 8px rgba(255, 107, 53, 0.1);
}

.skill-card-tools .skill-pill {
    color: #9b59b6;
    border-color: rgba(155, 89, 182, 0.3);
    box-shadow: inset 0 0 8px rgba(155, 89, 182, 0.1);
}

/* Card Hover Effects - Enhanced Glow and Lift */
.skill-card:hover {
    background: linear-gradient(135deg, #1e1e3f 0%, #1a1a2e 100%) !important;
    transform: translateY(-12px) scale(1.06) !important;
    z-index: 10;
}

.skill-card-lang:hover {
    border-color: rgba(255, 215, 0, 0.8) !important;
    box-shadow: 0 12px 50px rgba(255, 215, 0, 0.35), inset 0 0 40px rgba(255, 215, 0, 0.08) !important;
}

.skill-card-web:hover {
    border-color: rgba(0, 217, 255, 0.8) !important;
    box-shadow: 0 12px 50px rgba(0, 217, 255, 0.35), inset 0 0 40px rgba(0, 217, 255, 0.08) !important;
}

.skill-card-ai:hover {
    border-color: rgba(255, 107, 53, 0.8) !important;
    box-shadow: 0 12px 50px rgba(255, 107, 53, 0.35), inset 0 0 40px rgba(255, 107, 53, 0.08) !important;
}

.skill-card-tools:hover {
    border-color: rgba(155, 89, 182, 0.8) !important;
    box-shadow: 0 12px 50px rgba(155, 89, 182, 0.35), inset 0 0 40px rgba(155, 89, 182, 0.08) !important;
}

/* Icon animation on card hover with translateZ depth */
.skill-card:hover .skill-card-icon {
    transform: translateZ(85px) scale(1.15) rotate(5deg) !important;
    box-shadow: 0 0 35px currentColor;
}

/* Title depth offset under active hover */
.skill-card:hover .skill-card-title {
    transform: translateZ(65px) !important;
}

/* Pill container depth offset under hover */
.skill-card:hover .skill-tags {
    transform: translateZ(45px) !important;
}

/* Skill pill hover effects with enhanced glow and translateZ depth */
.skill-pill:hover {
    transform: translateZ(60px) scale(1.15) !important;
    background: rgba(0, 0, 0, 0.7) !important;
    box-shadow: 0 0 20px currentColor, inset 0 0 15px currentColor !important;
}

/* Synchronized Neon Border Wave Flash */
@keyframes borderWaveFlash {
    0% {
        border-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0);
    }
    30% {
        border-color: var(--wave-color) !important;
        box-shadow: 0 0 40px var(--wave-color), inset 0 0 20px var(--wave-color) !important;
    }
    100% {
        border-color: var(--default-border-color) !important;
        box-shadow: var(--default-shadow) !important;
    }
}

.skill-card-lang.wave-flash {
    --wave-color: rgba(255, 215, 0, 0.85);
    --default-border-color: rgba(255, 215, 0, 0.3);
    --default-shadow: 0 0 30px rgba(255, 215, 0, 0.15), inset 0 0 30px rgba(255, 215, 0, 0.02);
    animation: borderWaveFlash 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.skill-card-web.wave-flash {
    --wave-color: rgba(0, 217, 255, 0.85);
    --default-border-color: rgba(0, 217, 255, 0.3);
    --default-shadow: 0 0 30px rgba(0, 217, 255, 0.15), inset 0 0 30px rgba(0, 217, 255, 0.02);
    animation: borderWaveFlash 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.skill-card-ai.wave-flash {
    --wave-color: rgba(255, 107, 53, 0.85);
    --default-border-color: rgba(255, 107, 53, 0.3);
    --default-shadow: 0 0 30px rgba(255, 107, 53, 0.15), inset 0 0 30px rgba(255, 107, 53, 0.02);
    animation: borderWaveFlash 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.skill-card-tools.wave-flash {
    --wave-color: rgba(155, 89, 182, 0.85);
    --default-border-color: rgba(155, 89, 182, 0.3);
    --default-shadow: 0 0 30px rgba(155, 89, 182, 0.15), inset 0 0 30px rgba(155, 89, 182, 0.02);
    animation: borderWaveFlash 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

/* WebGL Skills Viewport */
#skills-3d-viewport {
    position: relative;
    width: 100%;
    height: 600px;
    margin-top: 1.5rem;
    z-index: 2;
    pointer-events: auto;
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

#skills-3d-viewport.active {
    display: block;
    opacity: 1;
}

/* Hide fallback grid and 2D canvas when WebGL is active */
.skills-section.webgl-active .skills-cards-grid,
.skills-section.webgl-active #skills-connection-canvas {
    display: none !important;
}

/* Background Connection Canvas positioning */
#skills-connection-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.skills-cards-grid {
    position: relative;
    z-index: 1;
    perspective: 1500px;
}

/* Dynamic Tilt Gradient Overlay */
.skill-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        rgba(255, 255, 255, 0.05) 100%
    );
    border-radius: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translateZ(1px);
}

.skill-card:hover::after {
    opacity: 1;
}

/* Scanline Effect Overlay */
.skill-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    border-radius: 24px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.skill-card:hover::before {
    opacity: 1;
}

/* Holographic Shimmer Effect */
.skill-card .shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform: translateX(-100%) translateZ(2px);
    transition: transform 0.6s ease;
    pointer-events: none;
    border-radius: 24px;
}

.skill-card:hover .shimmer {
    transform: translateX(100%) translateZ(2px);
}

/* Noise Texture Overlay */
.skill-card .noise {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    border-radius: 24px;
    mix-blend-mode: overlay;
}

/* Skills Section Background - Animated Mesh Gradient */
.skills-section {
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

/* Animated Blob Background */
.skills-section .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: blob-morph 20s ease-in-out infinite;
    pointer-events: none;
}

.skills-section .blob-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.skills-section .blob-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    top: 40%;
    right: 10%;
    animation-delay: -7s;
}

.skills-section .blob-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    bottom: 10%;
    left: 40%;
    animation-delay: -14s;
}

@keyframes blob-morph {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(50px, -30px) scale(1.1) rotate(90deg);
    }
    50% {
        transform: translate(-30px, 50px) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(-50px, -20px) scale(1.05) rotate(270deg);
    }
}

/* Particle Canvas Background */
.skills-section .particles-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Light theme adjustments */
[data-theme="light"] .skill-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .skill-card-lang {
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.1);
}

[data-theme="light"] .skill-card-web {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.1);
}

[data-theme="light"] .skill-card-ai {
    border-color: rgba(249, 115, 22, 0.4);
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.1);
}

[data-theme="light"] .skill-card-tools {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.1);
}

[data-theme="light"] .skill-card-title {
    color: #1e293b;
}

[data-theme="light"] .skill-card::before {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.02) 2px,
        rgba(0, 0, 0, 0.02) 4px
    );
}

[data-theme="light"] .skill-card-lang .skill-pill {
    background: rgba(234, 179, 8, 0.1);
    color: #ca8a04;
    border-color: rgba(234, 179, 8, 0.3);
    box-shadow: inset 0 0 8px rgba(234, 179, 8, 0.1);
}

[data-theme="light"] .skill-card-web .skill-pill {
    background: rgba(6, 182, 212, 0.1);
    color: #0891b2;
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: inset 0 0 8px rgba(6, 182, 212, 0.1);
}

[data-theme="light"] .skill-card-ai .skill-pill {
    background: rgba(249, 115, 22, 0.1);
    color: #c2410c;
    border-color: rgba(249, 115, 22, 0.3);
    box-shadow: inset 0 0 8px rgba(249, 115, 22, 0.1);
}

[data-theme="light"] .skill-card-tools .skill-pill {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: inset 0 0 8px rgba(139, 92, 246, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .skills-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
        perspective: none;
    }
    
    .skill-card {
        padding: 1.5rem;
        transform: none !important;
    }
    
    .skill-card:hover {
        transform: translateY(-5px) scale(1.01) !important;
    }
    
    .skill-card-icon,
    .skill-card-title,
    .skill-tags,
    .skill-pill {
        transform: none !important;
    }
    
    .skill-card-title {
        font-size: 1rem;
    }
    
    .skill-pill {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
    }
}

/* Social Links Grid */
.social-links-container {
    margin-top: 2.5rem;
}

.social-links-container h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.social-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-secondary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-direction: column;
    text-align: center;
}

.social-link-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Brand-specific glow effects */
.social-link-item[href*="github"]:hover {
    border-color: #333;
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.3);
}

.social-link-item[href*="github"] i {
    color: #333;
}

[data-theme="dark"] .social-link-item[href*="github"] i {
    color: #fff;
}

.social-link-item[href*="linkedin"]:hover {
    border-color: #0077b5;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
}

.social-link-item[href*="linkedin"] i {
    color: #0077b5;
}

.social-link-item[href*="leetcode"]:hover {
    border-color: #ffa116;
    box-shadow: 0 8px 25px rgba(255, 161, 22, 0.3);
}

.social-link-item[href*="leetcode"] i {
    color: #ffa116;
}

.social-link-item[href*="skills.google"]:hover {
    border-color: #4285f4;
    box-shadow: 0 8px 25px rgba(66, 133, 244, 0.3);
}

.social-link-item[href*="skills.google"] i {
    color: #4285f4;
}

.social-link-item:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    transform: translateY(-4px);
}

[data-theme="light"] .social-link-item:hover {
box-shadow: 0 8px 25px rgba(79, 70, 229, 0.15);
}

.google-skills-contact {
margin-top: 1.5rem;
}

.google-skills-link {
display: inline-flex;
align-items: center;
gap: 0.75rem;
padding: 1rem 1.5rem;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 12px;
color: var(--text-secondary);
text-decoration: none;
font-family: 'Inter', sans-serif;
font-size: 0.95rem;
font-weight: 500;
transition: all 0.3s ease;
}

.google-skills-link i {
color: #4285f4;
font-size: 1.2rem;
}

.google-skills-link:hover {
background: var(--bg-card-hover);
border-color: #4285f4;
color: var(--text-primary);
transform: translateY(-2px);
box-shadow: 0 8px 25px rgba(66, 133, 244, 0.2);
}

/* Footer Google Skills Link */
.footer-links {
margin-top: 1rem;
}

.footer .google-skills-link {
padding: 0.75rem 1.25rem;
font-size: 0.9rem;
background: transparent;
border: 1px solid var(--border-subtle);
}

.footer .google-skills-link:hover {
background: var(--bg-card);
border-color: #4285f4;
}

/* Enhanced Bento Card with solid background */
.bento-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-subtle);
    border-radius: 32px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Ensure solid background before backdrop-filter */
.bento-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    border-radius: 32px;
    z-index: -1;
}

/* Border Glow Effect on Hover */
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1.5px;
    background: linear-gradient(135deg, var(--accent-indigo), var(--accent-cyan), var(--accent-pink), var(--accent-indigo));
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    animation: border-glow 3s ease infinite;
}

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

.bento-card:hover::before {
    opacity: 1;
}

.bento-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: transparent;
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.25), 0 0 30px rgba(99, 102, 241, 0.1);
}

[data-theme="light"] .bento-card:hover {
    box-shadow: 0 25px 60px rgba(79, 70, 229, 0.15), 0 0 30px rgba(79, 70, 229, 0.08);
}

/* Skills Section */
.skills-section {
    background: var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.skills-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(79, 70, 229, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(6, 182, 212, 0.12), transparent),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(236, 72, 153, 0.08), transparent);
    pointer-events: none;
    z-index: 0;
}

.skills-network-container {
    position: relative;
    height: 650px;
    perspective: 1500px;
}

#skills-network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.skill-node {
    position: absolute;
    padding: 1.2rem 2.2rem;
    background: var(--card-glass);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s;
    box-shadow: 0 5px 25px rgba(102, 126, 234, 0.2);
    z-index: 1;
    animation: float-node 7s ease-in-out infinite;
    font-family: 'Inter', sans-serif;
}

/* High-contrast skill node colors */
.skill-node[data-skill="Python"] {
    border-color: #3776ab;
    color: #3776ab;
}

.skill-node[data-skill="React.js"] {
    border-color: #61dafb;
    color: #61dafb;
}

.skill-node[data-skill="SQL"] {
    border-color: #003b57;
    color: #003b57;
}

.skill-node[data-skill="TensorFlow"] {
    border-color: #ff6f00;
    color: #ff6f00;
}

.skill-node[data-skill="Gemini AI"] {
    border-color: #4285f4;
    color: #4285f4;
}

[data-theme="dark"] .skill-node[data-skill="Gemini AI"] {
    border-color: #8ab4f8;
    color: #8ab4f8;
}

[data-theme="dark"] .skill-node[data-skill="Python"] {
    border-color: #ffd43b;
    color: #ffd43b;
}

[data-theme="dark"] .skill-node[data-skill="SQL"] {
    border-color: #00d4ff;
    color: #00d4ff;
}

.skill-node[data-skill="PyTorch"] {
    border-color: #ee4c2c;
    color: #ee4c2c;
}

.skill-node[data-skill="Git"] {
    border-color: #f05032;
    color: #f05032;
}

.skill-node[data-skill="NLP"] {
    border-color: #8b5cf6;
    color: #8b5cf6;
}

.skill-node[data-skill="LLMs"] {
    border-color: #10b981;
    color: #10b981;
}

.skill-node[data-skill="JavaScript"] {
    border-color: #f7df1e;
    color: #f7df1e;
}

.skill-node[data-skill="GitHub"] {
    border-color: #fff;
    color: #fff;
}

.skill-node[data-skill="GenAI"] {
    border-color: #06b6d4;
    color: #06b6d4;
}

.skill-node[data-skill="TensorFlow"] {
    border-color: #ff6f00;
    color: #ff6f00;
}

.skill-node:hover, .skill-node.active {
    transform: scale(1.25) translateZ(30px);
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
}

@keyframes float-node {
    0%, 100% { transform: translateY(0) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(8deg); }
}

/* Projects Section */
.projects-grid {
    grid-template-rows: repeat(2, auto);
}

.project-card {
    display: flex;
    flex-direction: column;
    /* Mobile performance optimization */
    will-change: transform, opacity;
    backface-visibility: hidden;
}

/* ========================================
   PROJECT CARDS - CLEAN FIRE BORDER EFFECT
   ======================================== */

/* Project Cards with Clean Fire Border */
.bento-grid.projects-grid .bento-card {
    background: #0f0f1a !important;
    border-radius: 15px !important;
    padding: 24px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 10 !important;
    overflow: hidden !important;
    border: 3px solid transparent !important;
    background-image: 
      linear-gradient(#0f0f1a, #0f0f1a),
      linear-gradient(45deg, #ff6b35, #ffd700, #ff4500, #ff6b35) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    box-shadow: 
      0 0 15px rgba(255, 107, 53, 0.6),
      0 0 30px rgba(255, 215, 0, 0.4),
      0 0 45px rgba(255, 69, 0, 0.3) !important;
    animation: fire-glow 3s ease-in-out infinite !important;
}

@keyframes fire-glow {
  0%, 100% {
    box-shadow: 
      0 0 15px rgba(255, 107, 53, 0.6),
      0 0 30px rgba(255, 215, 0, 0.4),
      0 0 45px rgba(255, 69, 0, 0.3) !important;
    /* Hardware acceleration for better mobile performance */
    transform: translateZ(0);
  }
  50% {
    box-shadow: 
      0 0 25px rgba(255, 215, 0, 0.8),
      0 0 40px rgba(255, 107, 53, 0.6),
      0 0 55px rgba(255, 69, 0, 0.5) !important;
    /* Hardware acceleration for better mobile performance */
    transform: translateZ(0) scale(1.005);
  }
}

/* Light Theme Project Title - Compact Like First Image */
[data-theme="light"] .bento-grid.projects-grid .project-title {
    color: #000000 !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    position: relative !important;
    z-index: 5 !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

/* Light Theme Project Card - Maximum Visibility */
[data-theme="light"] .bento-grid.projects-grid .bento-card {
    background: #ffffff !important;
    border: 4px solid #cc5500 !important;
    box-shadow: 0 0 40px #cc5500, 0 0 80px #ff8c00 !important;
    animation: fire-glow-light 2s ease-in-out infinite !important;
}

@keyframes fire-glow-light {
  0%, 100% { 
        box-shadow: 0 0 40px #cc5500, 0 0 80px #ff8c00 !important;
    }
    50% { 
        box-shadow: 0 0 50px #ff8c00, 0 0 90px #ffd700 !important;
    }
}

/* Remove all torn paper effects */
.bento-grid.projects-grid .bento-card:before,
.bento-grid.projects-grid .bento-card:after {
    display: none !important;
}

.bento-grid.projects-grid .bento-card {
    border-image: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

/* Remove all jagged card styles */
.bento-grid .bento-card.jagged-card-1,
.bento-grid .bento-card.jagged-card-2,
.bento-grid .bento-card.jagged-card-3,
.bento-grid .bento-card.jagged-card-4 {
    background: #0f0f1a !important;
    border-radius: 15px !important;
    padding: 24px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 10 !important;
    overflow: hidden !important;
    border: 3px solid transparent !important;
    background-image: 
      linear-gradient(#0f0f1a, #0f0f1a),
      linear-gradient(45deg, #ff6b35, #ffd700, #ff4500, #ff6b35) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    box-shadow: 
      0 0 15px rgba(255, 107, 53, 0.6),
      0 0 30px rgba(255, 215, 0, 0.4),
      0 0 45px rgba(255, 69, 0, 0.3) !important;
    animation: fire-glow 3s ease-in-out infinite !important;
    clip-path: none !important;
    filter: none !important;
    transform: none !important;
    border-image: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

/* Project Content - Compact */
.bento-grid.projects-grid .project-content {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 5;
}

/* Project Image - Reduced margin */
.bento-grid.projects-grid .project-image {
    margin-bottom: 12px !important;
    position: relative;
    z-index: 5;
}

/* Project Title - Larger and More Prominent */
.bento-grid.projects-grid .project-title {
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    position: relative !important;
    z-index: 5 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Force title visibility for all jagged cards - Compact Like First Image */
[data-theme="light"] .bento-grid .bento-card.jagged-card-1 .project-title,
[data-theme="light"] .bento-grid .bento-card.jagged-card-2 .project-title,
[data-theme="light"] .bento-grid .bento-card.jagged-card-3 .project-title,
[data-theme="light"] .bento-grid .bento-card.jagged-card-4 .project-title {
    color: #000000 !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    position: relative !important;
    z-index: 105 !important;
    text-shadow: none !important;
    background: rgba(255, 255, 255, 0.9) !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
}

/* Project Description - Enhanced for All Themes */
.bento-grid.projects-grid .project-description {
    color: #94A3B8 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    position: relative !important;
    z-index: 5 !important;
}

/* Light Theme Description - Professional Contrast Like First Image */
[data-theme="light"] .bento-grid.projects-grid .project-description {
    color: #4a5568 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    position: relative !important;
    z-index: 5 !important;
    font-weight: 500 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Force description visibility for all jagged cards - Professional Contrast */
[data-theme="light"] .bento-grid .bento-card.jagged-card-1 .project-description,
[data-theme="light"] .bento-grid .bento-card.jagged-card-2 .project-description,
[data-theme="light"] .bento-grid .bento-card.jagged-card-3 .project-description,
[data-theme="light"] .bento-grid .bento-card.jagged-card-4 .project-description {
    color: #4a5568 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    position: relative !important;
    z-index: 105 !important;
    font-weight: 500 !important;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Project Tech Stack - Professional Gap */
.bento-grid.projects-grid .project-tech {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin-bottom: 20px !important;
    position: relative !important;
    z-index: 5 !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

/* Remove specific Quiz App fix - now applied to all cards */
/* .bento-grid.projects-grid .bento-card:nth-child(4) .project-tech {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
} */

/* Force all tech tags to horizontal layout */
.bento-grid.projects-grid .tech-tag {
    display: inline-block !important;
    margin: 0 !important;
}

/* Force tech tag visibility */
.bento-grid .bento-card.jagged-card-1 .tech-tag,
.bento-grid .bento-card.jagged-card-2 .tech-tag,
.bento-grid .bento-card.jagged-card-3 .tech-tag,
.bento-grid .bento-card.jagged-card-4 .tech-tag {
    background: rgba(255, 107, 53, 0.15) !important;
    color: #FFD700 !important;
    padding: 4px 10px !important;
    border-radius: 16px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    border: 1px solid rgba(255, 107, 53, 0.4) !important;
    position: relative !important;
    z-index: 110 !important;
}

/* Project Links - Professional Gap */
.bento-grid.projects-grid .project-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 12px !important;
    margin-top: auto !important;
    padding-top: 16px !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 115 !important;
    margin-bottom: 0 !important;
}

/* Project Links - Compact */
.bento-grid .bento-card.jagged-card-1 .project-links,
.bento-grid .bento-card.jagged-card-2 .project-links,
.bento-grid .bento-card.jagged-card-3 .project-links,
.bento-grid .bento-card.jagged-card-4 .project-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 0 !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 115 !important;
}

/* Project Link Buttons - Compact with fire theme */
.bento-grid.projects-grid .project-link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: transparent !important;
    border: 2px solid #FF6B35 !important;
    color: #FFD700 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s !important;
    font-size: 0.8rem !important;
    font-family: 'Inter', sans-serif !important;
    min-width: 100px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 120 !important;
}

/* Force link visibility */
.bento-grid .bento-card.jagged-card-1 .project-link,
.bento-grid .bento-card.jagged-card-2 .project-link,
.bento-grid .bento-card.jagged-card-3 .project-link,
.bento-grid .bento-card.jagged-card-4 .project-link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: transparent !important;
    border: 2px solid #FF6B35 !important;
    color: #FFD700 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s !important;
    font-size: 0.8rem !important;
    font-family: 'Inter', sans-serif !important;
    min-width: 100px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 120 !important;
}

.bento-grid.projects-grid .project-link:hover,
.bento-grid .bento-card.jagged-card-1 .project-link:hover,
.bento-grid .bento-card.jagged-card-2 .project-link:hover,
.bento-grid .bento-card.jagged-card-3 .project-link:hover,
.bento-grid .bento-card.jagged-card-4 .project-link:hover {
    background: #FF6B35 !important;
    color: #FFFFFF !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5) !important;
}

/* Project Grid - Adjusted gap */
.bento-grid.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    align-items: stretch !important;
    gap: 2rem !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bento-grid.projects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .bento-grid.projects-grid .bento-card {
        padding: 16px !important;
    }
}

/* Light Theme Code Syntax Highlighting */
[data-theme="light"] .code-keyword {
    color: #d73a49 !important;
    font-weight: 600 !important;
}

[data-theme="light"] .code-string {
    color: #032f62 !important;
}

[data-theme="light"] .code-number {
    color: #005cc5 !important;
}

[data-theme="light"] .code-comment {
    color: #6a737d !important;
    font-style: italic !important;
}

[data-theme="light"] .code-function {
    color: #6f42c1 !important;
}

[data-theme="light"] .project-code-preview {
    background: #f6f8fa !important;
    border: 1px solid #e1e4e8 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    font-family: 'Fira Code', 'Courier New', monospace !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    overflow-x: auto !important;
    position: relative !important;
    z-index: 5 !important;
}

/* Dark Theme Code Preview - Fix Visibility */
[data-theme="dark"] .project-code-preview {
    background: #1e1e1e !important;
    border: 1px solid #333 !important;
    border-radius: 6px !important;
    padding: 12px !important;
    font-family: 'Fira Code', 'Courier New', monospace !important;
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    overflow-x: auto !important;
    position: relative !important;
    z-index: 5 !important;
    white-space: nowrap !important;
    min-width: 100% !important;
}

/* Force visibility with highest specificity - COMPACT PADDING & FIRE BORDER */
.bento-grid .bento-card.jagged-card-1,
.bento-grid .bento-card.jagged-card-2,
.bento-grid .bento-card.jagged-card-3,
.bento-grid .bento-card.jagged-card-4 {
    background: #0a0a0a !important;
    border: 4px solid transparent !important;
    border-image: linear-gradient(45deg, #8B0000, #FF4500, #FFD700, #FF4500, #8B0000) 1;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    z-index: 100 !important;
    min-height: auto !important;
    width: 100% !important;
    animation: fire-border 3s linear infinite, fire-glow 2s ease-in-out infinite !important;
    border-radius: 12px !important;
    clip-path: none !important;
    filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.3)) !important;
    transform: none !important;
}

/* Hover effect for fire cards */
.bento-grid .bento-card.jagged-card-1:hover,
.bento-grid .bento-card.jagged-card-2:hover,
.bento-grid .bento-card.jagged-card-3:hover,
.bento-grid .bento-card.jagged-card-4:hover {
    transform: translateY(-5px) scale(1.01) !important;
    filter: drop-shadow(0 0 25px rgba(255, 69, 0, 0.5)) !important;
}

/* Inner wrapper for dark background */
.bento-grid .bento-card.jagged-card-1::before,
.bento-grid .bento-card.jagged-card-2::before,
.bento-grid .bento-card.jagged-card-3::before,
.bento-grid .bento-card.jagged-card-4::before {
    content: '' !important;
    position: absolute !important;
    top: 4px !important;
    left: 4px !important;
    right: 4px !important;
    bottom: 4px !important;
    background: #0a0a0a !important;
    border-radius: 8px !important;
    z-index: -1 !important;
}

/* Elite Jagged Frame with Layered SVG Displacement - DISABLED */
.bento-grid.projects-grid .bento-card::before {
    display: none !important;
}

/* Unique Accent Colors for Each Project */
.bento-grid.projects-grid .jagged-card-1 {
    --accent-indigo: #6366f1 !important;
}

.bento-grid.projects-grid .jagged-card-2 {
    --accent-cyan: #22d3ee !important;
}

.bento-grid.projects-grid .jagged-card-3 {
    --accent-pink: #f472b6 !important;
}

.bento-grid.projects-grid .jagged-card-4 {
    --accent-purple: #a855f7 !important;
}

/* Inner Content & Visibility */
.bento-grid.projects-grid .project-image {
    margin-bottom: 12px !important;
}

.bento-grid.projects-grid .project-title {
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    position: relative !important;
    z-index: 5 !important;
}

.bento-grid.projects-grid .project-description {
    color: #94A3B8 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    position: relative !important;
    z-index: 5 !important;
}

.bento-grid.projects-grid .tech-tag {
    background: rgba(255, 69, 0, 0.15) !important;
    color: #FFD700 !important;
    padding: 4px 10px !important;
    border-radius: 16px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    position: relative !important;
    z-index: 10 !important;
    border: 1px solid rgba(255, 69, 0, 0.3) !important;
}

.bento-grid.projects-grid .project-link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: transparent !important;
    border: 2px solid #FF4500 !important;
    color: #FFD700 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s !important;
    font-size: 0.8rem !important;
    font-family: 'Inter', sans-serif !important;
    min-width: 100px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 20 !important;
}

.bento-grid.projects-grid .project-link:hover {
    background: #FF4500 !important;
    color: #FFFFFF !important;
}

/* Remove old project-frame styling */
.project-frame {
    position: relative !important;
    background: transparent !important;
    border: none !important;
    filter: none !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
}

/* Project Grid - Adjusted gap */
.bento-grid.projects-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    align-items: stretch !important;
    gap: 2rem !important;
    max-width: 900px !important;
    margin: 0 auto !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bento-grid.projects-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .bento-grid.projects-grid .bento-card {
        padding: 16px !important;
    }
}

/* Project Cards - ELITE JAGGED FRAME WITH DECORATIVE LAYER - DISABLED */
.bento-grid.projects-grid .bento-card {
    position: relative !important;
    background: #050505 !important;
    border: 4px solid transparent !important;
    border-image: linear-gradient(45deg, #8B0000, #FF4500, #FFD700, #FF4500, #8B0000) 1;
    border-radius: 12px !important;
    padding: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    animation: fire-border 3s linear infinite, fire-glow 2s ease-in-out infinite !important;
    z-index: 10 !important;
}

/* White Jagged Frame - DISABLED */
.bento-grid.projects-grid .bento-card::before {
    display: none !important;
}

@keyframes actualTornPaper {
    0% {
        transform: translate(0, 0) scale(1) !important;
    }
    50% {
        transform: translate(4px, -3px) scale(1.02) !important;
    }
    100% {
        transform: translate(0, 0) scale(1) !important;
    }
}

/* Content Safety & Visibility */
.bento-grid.projects-grid .project-image {
    margin-bottom: 1.5rem !important;
}

.bento-grid.projects-grid .project-title {
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
    margin-bottom: 1rem !important;
    position: relative !important;
    z-index: 5 !important;
}

.bento-grid.projects-grid .project-description {
    color: #94A3B8 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 400 !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
    position: relative !important;
    z-index: 5 !important;
}

.bento-grid.projects-grid .tech-tag {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    position: relative !important;
    z-index: 10 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.bento-grid.projects-grid .project-link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    padding: 0.8rem 1.2rem !important;
    background: transparent !important;
    border: 2px solid #FFFFFF !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s !important;
    font-size: 0.85rem !important;
    font-family: 'Inter', sans-serif !important;
    min-width: 120px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 20 !important;
}

.bento-grid.projects-grid .project-link:hover {
    background: #FFFFFF !important;
    color: #050505 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bento-grid.projects-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Individual project card overrides - DISABLED (using fire border instead) */
.bento-grid .bento-card.jagged-card-1,
.bento-grid .bento-card.jagged-card-2,
.bento-grid .bento-card.jagged-card-3,
.bento-grid .bento-card.jagged-card-4 {
    clip-path: none !important;
    filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.3)) !important;
    transform: none !important;
}

.bento-grid .bento-card.jagged-card-1:hover,
.bento-grid .bento-card.jagged-card-2:hover,
.bento-grid .bento-card.jagged-card-3:hover,
.bento-grid .bento-card.jagged-card-4:hover {
    transform: translateY(-5px) scale(1.01) !important;
    filter: drop-shadow(0 0 25px rgba(255, 69, 0, 0.5)) !important;
}

/* Force content visibility - COMPACT */
.bento-grid .bento-card.jagged-card-1 .project-content,
.bento-grid .bento-card.jagged-card-2 .project-content,
.bento-grid .bento-card.jagged-card-3 .project-content,
.bento-grid .bento-card.jagged-card-4 .project-content {
    padding: 0 !important;
    color: #FFFFFF !important;
    position: relative !important;
    z-index: 105 !important;
}

.bento-grid .bento-card.jagged-card-1 .project-title,
.bento-grid .bento-card.jagged-card-2 .project-title,
.bento-grid .bento-card.jagged-card-3 .project-title,
.bento-grid .bento-card.jagged-card-4 .project-title {
    color: #FFFFFF !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
    position: relative !important;
    z-index: 105 !important;
}

.bento-grid .bento-card.jagged-card-1 .project-description,
.bento-grid .bento-card.jagged-card-2 .project-description,
.bento-grid .bento-card.jagged-card-3 .project-description,
.bento-grid .bento-card.jagged-card-4 .project-description {
    color: #94A3B8 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
    margin-bottom: 12px !important;
    position: relative !important;
    z-index: 105 !important;
}

/* Force links visibility - COMPACT */
.bento-grid .bento-card.jagged-card-1 .project-links,
.bento-grid .bento-card.jagged-card-2 .project-links,
.bento-grid .bento-card.jagged-card-3 .project-links,
.bento-grid .bento-card.jagged-card-4 .project-links {
    display: flex !important;
    flex-direction: row !important;
    gap: 10px !important;
    margin-top: auto !important;
    padding-top: 0 !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 115 !important;
}

.bento-grid .bento-card.jagged-card-1 .project-link,
.bento-grid .bento-card.jagged-card-2 .project-link,
.bento-grid .bento-card.jagged-card-3 .project-link,
.bento-grid .bento-card.jagged-card-4 .project-link {
    flex: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 14px !important;
    background: transparent !important;
    border: 2px solid #FF4500 !important;
    color: #FFD700 !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s !important;
    font-size: 0.8rem !important;
    font-family: 'Inter', sans-serif !important;
    min-width: 100px !important;
    text-align: center !important;
    position: relative !important;
    z-index: 120 !important;
}

/* Force tech tags visibility - COMPACT */
.bento-grid .bento-card.jagged-card-1 .tech-tag,
.bento-grid .bento-card.jagged-card-2 .tech-tag,
.bento-grid .bento-card.jagged-card-3 .tech-tag,
.bento-grid .bento-card.jagged-card-4 .tech-tag {
    background: rgba(255, 69, 0, 0.15) !important;
    color: #FFD700 !important;
    padding: 4px 10px !important;
    border-radius: 16px !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    position: relative !important;
    z-index: 110 !important;
}

/* ========================================
   PROJECT CARDS STYLING
   ======================================== */

.project-code-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    border-radius: 24px 24px 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
}

.code-snippet {
    margin: 0;
    font-family: 'Inter', monospace;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #e2e8f0;
}

.code-keyword { color: #c792ea; }
.code-function { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-number { color: #f78c6c; }
.code-property { color: #89ddff; }
.code-comment { color: #546e7a; font-style: italic; }

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.tech-tag {
    background: rgba(102, 126, 234, 0.2);
    color: var(--primary);
    padding: 0.55rem 1.2rem;
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.project-links {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.project-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.6rem 1rem;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    min-width: 120px;
    text-align: center;
}

.project-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.project-demo {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
}

.project-demo:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

/* Certifications Timeline Layout */
.certifications-timeline {
    position: relative;
    max-width: 1300px;
    margin: 4rem auto 0 auto;
    display: flex;
    flex-direction: column;
}

.timeline-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-progress-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    background: linear-gradient(to bottom, #00f2fe, #4facfe, #6366f1);
    transform: translateX(-50%);
    transform-origin: top;
    z-index: 2;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.6);
    height: 0;
    transition: height 0.1s ease;
}

.timeline-item {
    position: relative;
    width: 50%;
    display: flex;
    z-index: 3;
    margin: 3rem 0;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(40px) scale(0.85);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1),
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline-item.unlocked {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.timeline-item.left {
    align-self: flex-start;
    justify-content: flex-end;
    padding-right: 60px;
}

.timeline-item.right {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 60px;
}

.timeline-dot {
    position: absolute;
    top: 50%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #0b0f19;
    border: 3px solid rgba(255, 255, 255, 0.2);
    transform: translateY(-50%);
    z-index: 4;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item.left .timeline-dot {
    right: -9px;
}

.timeline-item.right .timeline-dot {
    left: -9px;
}

.timeline-item.unlocked .timeline-dot {
    border-color: #00f2fe;
    box-shadow: 0 0 15px #00f2fe;
    background: #00f2fe;
}

.timeline-connector {
    position: absolute;
    top: 50%;
    height: 2px;
    background: linear-gradient(to right, rgba(0, 242, 254, 0), rgba(0, 242, 254, 0.2));
    transform: translateY(-50%);
    z-index: 2;
    width: 60px;
    transition: background 0.4s ease;
}

.timeline-item.left .timeline-connector {
    right: 0;
    background: linear-gradient(to left, rgba(0, 242, 254, 0.5), rgba(0, 242, 254, 0));
}

.timeline-item.right .timeline-connector {
    left: 0;
    background: linear-gradient(to right, rgba(0, 242, 254, 0.5), rgba(0, 242, 254, 0));
}

.timeline-item.unlocked .timeline-connector {
    background: linear-gradient(to left, #00f2fe, rgba(0, 242, 254, 0.1));
}

.timeline-item.unlocked.right .timeline-connector {
    background: linear-gradient(to right, #00f2fe, rgba(0, 242, 254, 0.1));
}

@media (max-width: 768px) {
    .timeline-center-line {
        left: 20px;
        transform: none;
    }
    .timeline-progress-line {
        left: 20px;
        transform: none;
    }
    .timeline-item {
        width: 100%;
        align-self: flex-start !important;
        justify-content: flex-start !important;
        padding-left: 45px !important;
        padding-right: 0 !important;
        margin: 2rem 0;
    }
    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 11px;
        right: auto;
    }
    .timeline-item.left .timeline-connector,
    .timeline-item.right .timeline-connector {
        left: 20px;
        right: auto;
        width: 25px;
        background: linear-gradient(to right, #00f2fe, rgba(0, 242, 254, 0.1)) !important;
    }
    .cert-card {
        height: auto !important;
        min-height: 280px !important;
        padding: 2rem !important;
    }
    .cert-card .cert-title,
    .cert-card .cert-issuer {
        white-space: normal !important;
        text-overflow: clip !important;
        overflow: visible !important;
    }
}

.education-item, .cert-card {
    background: var(--card-glass);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.education-item {
    transition: all 0.3s;
    animation: certFloat 5.5s ease-in-out infinite;
}


.education-item::before, .cert-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 249, 0.03), transparent);
    animation: certScan 12s linear infinite;
    pointer-events: none;
}

@keyframes certFloat {
    0%, 100% { transform: translateY(0) scale(1) rotateY(0deg); }
    25% { transform: translateY(-7px) scale(1.008) rotateY(1deg); }
    50% { transform: translateY(-12px) scale(1.015) rotateY(0deg); }
    75% { transform: translateY(-7px) scale(1.008) rotateY(-1deg); }
}

@keyframes certScan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.education-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.35);
}

.education-icon, .cert-icon, .cert-logo {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: logoSpin 8s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 120px;
    height: 80px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    position: relative;
}

.education-icon::before, .cert-icon::before, .cert-logo::before {
    content: '';
    position: absolute;
    inset: -2px;
    border: 2px solid var(--accent-cyan);
    border-radius: 10px;
    opacity: 0.6;
    animation: borderPulse 3s ease-in-out infinite;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

[data-theme="light"] .cert-logo {
    background: linear-gradient(135deg, rgba(241,245,249,0.9), rgba(255,255,255,0.95));
    border: 1px solid rgba(226,232,240,0.8);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

[data-theme="light"] .cert-logo::before {
    border-color: var(--accent-indigo);
}

.cert-logo img {
    max-width: 100px;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0;
    margin-bottom: 0;
    /* CLS fix - explicit dimensions */
    aspect-ratio: 1;
}

/* Dark Theme Certification Logo Background - Enhanced Visibility */
[data-theme="dark"] .cert-logo {
    background: #ffffff !important;
    border-radius: 12px !important;
    padding: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .cert-logo img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

/* Dark Theme Certification Icon Background - For LinkedIn */
[data-theme="dark"] .cert-icon {
    background: #0077b5 !important;
    border-radius: 12px !important;
    padding: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100px !important;
    height: 100px !important;
    margin: 0 auto 16px !important;
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3) !important;
}

[data-theme="dark"] .cert-icon i {
    font-size: 48px !important;
    color: #ffffff !important;
}

/* Terminal Blinking Cursor Animation - Dark Theme Fix */
.terminal-cursor {
    display: inline-block;
    animation: blink 1s infinite;
    color: #00ff00;
    font-weight: bold;
}

[data-theme="dark"] .terminal-cursor {
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.8);
}

[data-theme="light"] .terminal-cursor {
    color: #00ff00;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* About Section with Background */
.about {
    background: var(--bg-deep) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Experience Section with Background */
.experience {
    background: var(--bg-deep) !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Certifications Section with Background */
.certifications {
    background: var(--bg-deep) !important;
    position: relative !important;
    overflow: hidden !important;
}

#certifications-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* Animated Blob Background - All Sections - More Visible */
.about .blob,
.experience .blob,
.certifications .blob {
    position: absolute !important;
    border-radius: 50% !important;
    filter: blur(100px) !important;
    pointer-events: none !important;
    z-index: 0 !important;
    opacity: 0.08 !important;
}

.about .blob-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: -250px;
    left: -150px;
    animation: floatBlob1 30s ease-in-out infinite;
}

.about .blob-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    top: 50%;
    right: -200px;
    animation: floatBlob2 35s ease-in-out infinite;
}

.about .blob-3 {
    width: 450px;
    height: 450px;
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    bottom: -150px;
    left: 40%;
    animation: floatBlob3 32s ease-in-out infinite;
}

.experience .blob-1 {
    width: 550px;
    height: 550px;
    background: linear-gradient(135deg, #ff6b35, #f97316);
    top: -200px;
    left: -120px;
    animation: floatBlob1 28s ease-in-out infinite;
}

.experience .blob-2 {
    width: 480px;
    height: 480px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: 60%;
    right: -180px;
    animation: floatBlob2 33s ease-in-out infinite;
}

.experience .blob-3 {
    width: 420px;
    height: 420px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    bottom: -120px;
    left: 30%;
    animation: floatBlob3 30s ease-in-out infinite;
}

.certifications .blob-1 {
    width: 580px;
    height: 580px;
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    top: -220px;
    left: -130px;
    animation: floatBlob1 34s ease-in-out infinite;
}

.certifications .blob-2 {
    width: 520px;
    height: 520px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    top: 55%;
    right: -190px;
    animation: floatBlob2 38s ease-in-out infinite;
}

.certifications .blob-3 {
    width: 460px;
    height: 460px;
    background: linear-gradient(135deg, #ff6b35, #f97316);
    bottom: -130px;
    left: 35%;
    animation: floatBlob3 36s ease-in-out infinite;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(80px, 40px) scale(1.05); }
    50% { transform: translate(40px, 80px) scale(0.95); }
    75% { transform: translate(-40px, 40px) scale(1.02); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-60px, 60px) scale(1.08); }
    66% { transform: translate(-30px, -40px) scale(0.98); }
}

@keyframes floatBlob3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -60px) scale(1.03); }
}
.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, rgba(255, 107, 53, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
    animation: aboutBgShift 15s ease-in-out infinite alternate;
}

@keyframes aboutBgShift {
    0% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    50% { opacity: 0.6; transform: scale(1.1) rotate(2deg); }
    100% { opacity: 0.4; transform: scale(1.05) rotate(-1deg); }
}

/* Experience Section Background Effects - Like Skills Section */
.experience-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 40%, rgba(255, 107, 53, 0.12) 0%, transparent 60%),
                radial-gradient(circle at 70% 60%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 50% 90%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: experienceBgShift 18s ease-in-out infinite alternate;
}

@keyframes experienceBgShift {
    0% { opacity: 0.4; transform: scale(1) rotate(0deg); }
    33% { opacity: 0.7; transform: scale(1.15) rotate(3deg); }
    66% { opacity: 0.5; transform: scale(1.08) rotate(-2deg); }
    100% { opacity: 0.6; transform: scale(1.12) rotate(1deg); }
}

/* Certifications Section Background Effects - Like Skills Section */
.certifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(0, 255, 249, 0.1) 0%, transparent 45%),
                radial-gradient(circle at 75% 75%, rgba(99, 102, 241, 0.08) 0%, transparent 55%),
                radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.06) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: certBgShift 20s ease-in-out infinite alternate;
}

@keyframes certBgShift {
    0% { opacity: 0.3; transform: scale(1) rotate(0deg); }
    25% { opacity: 0.6; transform: scale(1.2) rotate(4deg); }
    50% { opacity: 0.4; transform: scale(1.1) rotate(-3deg); }
    75% { opacity: 0.7; transform: scale(1.15) rotate(2deg); }
    100% { opacity: 0.5; transform: scale(1.08) rotate(-1deg); }
}
.about-terminal-card {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.about-terminal-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 255, 0.1), transparent);
    animation: terminalScan 3s linear infinite;
    pointer-events: none;
}

@keyframes terminalScan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.about-terminal-card.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: terminalFloat 4s ease-in-out infinite;
}

@keyframes terminalFloat {
    0%, 100% { transform: translateY(0) scale(1) rotateX(0deg); }
    25% { transform: translateY(-8px) scale(1.01) rotateX(1deg); }
    50% { transform: translateY(-12px) scale(1.02) rotateX(0deg); }
    75% { transform: translateY(-8px) scale(1.01) rotateX(-1deg); }
}

.terminal-header {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.6s ease 0.2s;
    position: relative;
    overflow: hidden;
}

.terminal-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: headerShine 4s ease-in-out infinite;
}

@keyframes headerShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.terminal-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

.terminal-body {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease 0.4s;
    position: relative;
    overflow: hidden;
}

.terminal-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(0, 255, 127, 0.1) 0%, transparent 50%);
    animation: bodyGlow 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes bodyGlow {
    0% { opacity: 0.3; transform: scale(1); }
    100% { opacity: 0.6; transform: scale(1.1); }
}

.terminal-body.revealed {
    opacity: 1;
    transform: translateY(0);
}

.terminal-line {
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s ease;
    position: relative;
}

.terminal-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -10px;
    width: 4px;
    height: 4px;
    background: #00ff00;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0;
    animation: lineDot 2s ease-in-out infinite;
}

@keyframes lineDot {
    0%, 100% { opacity: 0; transform: translateY(-50%) scale(0.5); }
    50% { opacity: 1; transform: translateY(-50%) scale(1); }
}

.terminal-line.revealed {
    opacity: 1;
    transform: translateX(0);
    animation: linePulse 2s ease-in-out infinite;
}

@keyframes linePulse {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(3px) translateY(-1px); }
    50% { transform: translateX(6px) translateY(0); }
    75% { transform: translateX(3px) translateY(1px); }
}

/* Terminal Buttons Animation - More Visible */
.term-btn {
    animation: buttonPulse 1.5s ease-in-out infinite;
    transform-origin: center;
}

.term-btn.red {
    animation-delay: 0s;
}

.term-btn.yellow {
    animation-delay: 0.2s;
}

.term-btn.green {
    animation-delay: 0.4s;
}

@keyframes buttonPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 8px 2px rgba(255, 255, 255, 0.9); }
}

.cgpa {
    color: var(--cyan);
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 255, 249, 0.7);
    font-size: 1.1rem;
}

.cert-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem !important;
    border-radius: 50px !important;
    border: 2px solid var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.1);
    font-family: 'Inter', sans-serif;
    margin-top: auto;
}

.cert-link:hover {
    background: var(--accent-cyan) !important;
    color: #0b0f19 !important;
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Certification Brand Colors */
.cert-google .cert-icon {
    color: #4285f4;
}

.cert-google:hover {
    border-color: #4285f4;
    box-shadow: 0 20px 60px rgba(66, 133, 244, 0.2);
}

.cert-linkedin .cert-icon {
    color: #0077b5;
}

.cert-linkedin:hover {
    border-color: #0077b5;
    box-shadow: 0 20px 60px rgba(0, 119, 181, 0.2);
}

/* Brainovision - Deep Indigo Tech Brand Color */
.cert-brainovision .cert-icon {
    color: #4f46e5;
}

.cert-brainovision:hover {
    border-color: #4f46e5;
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.25);
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info h3 {
    margin-bottom: 0.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-details {
    margin-top: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    margin-bottom: 1.3rem;
    color: var(--text-muted);
}

.contact-item i {
    color: var(--primary);
    font-size: 1.4rem;
}

/* Email Copy Wrapper */
.email-copy-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    vertical-align: middle;
}

[data-theme="light"] .email-copy-wrapper {
    background: rgba(99, 102, 241, 0.08) !important;
    border: 1px solid rgba(99, 102, 241, 0.3) !important;
}

.email-copy-wrapper:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

[data-theme="light"] .email-copy-wrapper:hover {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.email-text {
    color: var(--text-muted);
    font-size: 1rem;
    transition: color var(--transition-fast);
    line-height: 1;
}

[data-theme="light"] .email-text {
    color: #0f172a !important;
    font-weight: 500;
}

.email-copy-wrapper:hover .email-text {
    color: var(--accent-indigo);
}

[data-theme="light"] .email-copy-wrapper:hover .email-text {
    color: #4f46e5 !important;
}

.copy-icon {
    color: var(--accent-indigo);
    font-size: 1rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    line-height: 1;
    display: inline-flex;
    align-items: center;
}

[data-theme="light"] .copy-icon {
    color: #4f46e5 !important;
    opacity: 0.85;
}

.email-copy-wrapper:hover .copy-icon {
    opacity: 1;
    transform: scale(1.1);
}

[data-theme="light"] .email-copy-wrapper:hover .copy-icon {
    opacity: 1 !important;
}

.copy-icon.clicked {
    animation: iconBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes iconBounce {
    0% { transform: scale(1); }
    25% { transform: scale(1.3) rotate(10deg); }
    50% { transform: scale(0.9) rotate(-10deg); }
    75% { transform: scale(1.1) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* Hover Tooltip - 'Click to copy' */
.hover-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #1e293b;
    backdrop-filter: blur(12px);
    color: #FFFFFF !important;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.2);
    z-index: 10;
}

[data-theme="light"] .hover-tooltip {
    background: #1e293b !important;
    color: #FFFFFF !important;
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.hover-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #1e293b;
}

[data-theme="light"] .hover-tooltip::after {
    border-top-color: #1e293b !important;
}

.email-copy-wrapper:hover .hover-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.hover-tooltip.copied {
    background: var(--accent-indigo) !important;
    color: #FFFFFF !important;
    border-color: var(--accent-indigo);
}

[data-theme="light"] .hover-tooltip.copied {
    background: #4f46e5 !important;
    color: #FFFFFF !important;
    border-color: #4f46e5;
}

.hover-tooltip.copied::after {
    border-top-color: var(--accent-indigo) !important;
}

[data-theme="light"] .hover-tooltip.copied::after {
    border-top-color: #4f46e5 !important;
}

.contact-form-container {
    background: var(--card-glass);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
}

/* Footer */
.footer {
    background: var(--bg-deep);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-glass);
}

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

.project-title {
    margin-top: 0;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.project-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* About Current Focus Card */
.about-focus-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.focus-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.focus-header i {
    font-size: 1.5rem;
    color: var(--accent-indigo);
}

.focus-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.focus-areas {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.focus-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.focus-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-subtle);
    flex-shrink: 0;
}

.focus-dot.active {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Experience Section */
.experience {
    background: var(--bg-secondary);
    padding: 8rem 0;
}

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.experience-card {
    display: flex;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: experienceFloat 6s ease-in-out infinite;
}

.experience-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 107, 53, 0.03), transparent);
    animation: experienceScan 10s linear infinite;
    pointer-events: none;
}

@keyframes experienceFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.01); }
}

@keyframes experienceScan {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.timeline-dot.innomatics {
    background: #ff6b35;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

.timeline-dot.suretrust {
    background: #6366f1;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.4);
}

.timeline-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, #ff6b35, #6366f1);
    margin: 0.5rem 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.experience-card.active .timeline-line,
.reveal.active .timeline-line {
    transform: scaleY(1);
}

.experience-content {
    flex: 1;
}

.experience-header {
    margin-bottom: 1rem;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    z-index: 1;
    text-align: left;
    animation: fadeInUp 1s ease-in-out;
}

.experience-role {
font-family: 'Outfit', sans-serif;
font-size: 1.3rem;
font-weight: 700;
color: var(--text-primary);
animation: roleGlow 4s ease-in-out infinite;
}

@keyframes roleGlow {
0%, 100% { text-shadow: 0 0 5px rgba(255, 107, 53, 0.2); }
50% { text-shadow: 0 0 12px rgba(255, 107, 53, 0.6); }
}

.experience-company {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-top: 0.5rem;
    text-align: left;
}

.experience-date {
    display: block;
    font-family: 'Inter', sans-serif;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    text-align: left;
    animation: datePulse 3s ease-in-out infinite;
}

@keyframes datePulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}
.experience-focus {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

.experience-focus li {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    animation: listItemFloat 4s ease-in-out infinite;
}

.experience-focus li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
    animation: bulletPulse 2s ease-in-out infinite;
}

@keyframes listItemFloat {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(3px); }
}

@keyframes bulletPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Footer Social Row */
.footer-social-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-social-row a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-row a:hover {
    transform: translateY(-3px);
    background: var(--bg-card-hover);
    border-color: var(--accent-indigo);
    color: var(--accent-indigo);
}

/* Skill Node Positioning - 4 separate clusters in quadrants */

/* Cluster 1: Programming Languages (Top-Left) - Triangle formation */
.skill-node:nth-child(2) { left: 12%; top: 12%; }    /* Python - core, top of triangle */
.skill-node:nth-child(3) { left: 5%; top: 35%; }     /* JavaScript - medium, bottom-left */
.skill-node:nth-child(4) { left: 20%; top: 35%; }    /* SQL - medium, bottom-right */

/* Cluster 2: Web Development (Top-Right) - Diamond formation */
.skill-node:nth-child(5) { left: 62%; top: 8%; }      /* React.js - core, top */
.skill-node:nth-child(6) { left: 78%; top: 8%; }      /* Flask - core, right-top */
.skill-node:nth-child(7) { left: 62%; top: 32%; }    /* HTML/CSS - medium, bottom-left */
.skill-node:nth-child(8) { left: 78%; top: 32%; }     /* REST APIs - medium, bottom-right */

/* Cluster 3: AI & Machine Learning (Bottom-Left) - Pentagon/Circle */
.skill-node:nth-child(9) { left: 10%; top: 58%; }      /* PyTorch - core, center-left */
.skill-node:nth-child(10) { left: 25%; top: 55%; }     /* Scikit-learn - medium */
.skill-node:nth-child(11) { left: 22%; top: 75%; }     /* TensorFlow - medium */
.skill-node:nth-child(12) { left: 5%; top: 72%; }      /* NLP - medium */
.skill-node:nth-child(13) { left: 12%; top: 85%; }    /* LLMs - medium */

/* Cluster 4: Tools & Practices (Bottom-Right) - Diamond formation */
.skill-node:nth-child(14) { left: 65%; top: 58%; }     /* Git - center */
.skill-node:nth-child(15) { left: 82%; top: 58%; }     /* GitHub - medium */
.skill-node:nth-child(16) { left: 65%; top: 82%; }     /* Prompt Engineering - small */
.skill-node:nth-child(17) { left: 82%; top: 82%; }     /* GenAI - medium */

/* Highlight Python node - make it bigger */
.skill-node.highlight {
    padding: 1.5rem 2.8rem;
    font-size: 1.1rem;
    font-weight: 700;
    transform: scale(1.1);
}

.skill-node.highlight:hover {
    transform: scale(1.35) translateZ(30px);
}

/* Cluster-specific styling */
.cluster-lang { border-color: #ffd43b; color: #ffd43b; }
.cluster-web { border-color: #61dafb; color: #61dafb; }
.cluster-ai { border-color: #ff6b35; color: #ff6b35; }
.cluster-tools { border-color: #3b82f6; color: #3b82f6; }

/* Cluster glow effects */
.cluster-lang.core, .cluster-lang.medium, .cluster-lang.small {
    box-shadow: 0 0 20px rgba(255, 212, 59, 0.2);
}
.cluster-lang:hover {
    box-shadow: 0 0 40px rgba(255, 212, 59, 0.5);
}

.cluster-web.core, .cluster-web.medium, .cluster-web.small {
    box-shadow: 0 0 20px rgba(97, 218, 251, 0.2);
}
.cluster-web:hover {
    box-shadow: 0 0 40px rgba(97, 218, 251, 0.5);
}

.cluster-ai.core, .cluster-ai.medium, .cluster-ai.small {
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.2);
}
.cluster-ai:hover {
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.5);
}

.cluster-tools.core, .cluster-tools.medium, .cluster-tools.small {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}
.cluster-tools:hover {
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.5);
}

/* Core nodes keep their individual brand colors */
.skill-node.core[data-skill="Python"] {
    border-color: #ffd43b;
    color: #ffd43b;
    box-shadow: 0 0 40px rgba(255, 212, 59, 0.4);
    text-shadow: 0 0 10px rgba(255, 212, 59, 0.3);
}

.skill-node.core[data-skill="React.js"] {
    border-color: #61dafb;
    color: #61dafb;
    box-shadow: 0 0 40px rgba(97, 218, 251, 0.4);
    text-shadow: 0 0 10px rgba(97, 218, 251, 0.3);
}

.skill-node.core[data-skill="Flask"] {
    border-color: #fff;
    color: #fff;
    box-shadow: 0 0 35px rgba(255, 255, 255, 0.35);
}

.skill-node.core[data-skill="PyTorch"] {
    border-color: #ff6b35;
    color: #ff6b35;
    box-shadow: 0 0 40px rgba(255, 107, 53, 0.4);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

/* Medium skill sizing */
.skill-node.medium {
    padding: 1.1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.skill-node.medium:hover {
    transform: scale(1.3) translateZ(25px);
}

/* Small skill sizing */
.skill-node.small {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.9;
}

.skill-node.small:hover {
    transform: scale(1.2) translateZ(20px);
}

/* Skills Categories Section */
.skills-categories {
    max-width: 1000px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-category {
    background: var(--card-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    border-color: var(--accent-cyan);
}

.category-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-title i {
    font-size: 0.9rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.skill-tag {
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Responsive for skills categories */
@media (max-width: 768px) {
    .skills-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-node.highlight {
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.96) rotateX(4deg);
    filter: blur(6px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    /* Mobile performance optimization */
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    transform-origin: center bottom;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    filter: blur(0);
    will-change: auto; /* Release after animation */
}

/* Firm Moving Outline - Apply to All Projects */
.bento-grid.projects-grid .bento-card::before,
.bento-grid.projects-grid .bento-card::after {
    content: '' !important;
    position: absolute !important;
    top: -15px !important;
    left: -15px !important;
    right: -15px !important;
    bottom: -15px !important;
    background: #FFFFFF !important;
    z-index: -1 !important;
    border-radius: 0 !important;
    filter: url(#elite-torn-edge) !important;
    animation: firmMove 3s ease-in-out infinite !important;
    box-shadow: 
        0 0 0 3px rgba(255, 255, 255, 0.9),
        0 0 0 10px rgba(255, 255, 255, 0.4) !important;
}

@keyframes firmMove {
    0% {
        transform: translate(0, 0) scale(1) !important;
    }
    25% {
        transform: translate(3px, -2px) scale(1.02) !important;
    }
    50% {
        transform: translate(-2px, 2px) scale(1.01) !important;
    }
    75% {
        transform: translate(1px, -1px) scale(1.015) !important;
    }
    100% {
        transform: translate(0, 0) scale(1) !important;
    }
}

/* Desktop Navigation - Show horizontal menu for screens larger than 768px */
@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }
    
    .nav-menu {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        flex-direction: row !important;
        background: transparent !important;
        backdrop-filter: none !important;
        width: auto !important;
        padding: 0 !important;
        transition: none !important;
        border: none !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
.floating-social-bar { left: 1rem; }
.bento-grid { gap: 1rem; }
.bento-large, .bento-tall, .bento-wide, .bento-small { 
grid-column: span 6; 
grid-row: span 1;
}
.bento-medium { grid-column: span 6; }
.bento-small { grid-column: span 6; }
}
@media (max-width: 768px) {
* { cursor: auto !important; }
.cursor-outer, .cursor-inner { display: none !important; }
.floating-social-bar { display: none; }
.hamburger { display: flex; }
.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background: rgba(3, 7, 18, 0.95);
backdrop-filter: blur(24px) saturate(180%);
width: 100%;
padding: 2rem;
transition: left 0.3s ease;
border-top: 1px solid var(--border-subtle);
}
[data-theme="light"] .nav-menu {
background: rgba(244, 244, 245, 0.95);
}
.nav-menu.active { left: 0; }
.hero-name { font-size: 3rem; }
.hero-roles { font-size: 1.7rem; }
.hero-buttons { flex-direction: column; }
.bento-grid { grid-template-columns: 1fr; gap: 1.5rem; }
.bento-large, .bento-tall, .bento-wide, .bento-small { 
grid-column: span 1; 
grid-row: span 1;
}
.contact-content { grid-template-columns: 1fr; }
section { padding: 5rem 0; }
.chatbot-window {
width: calc(100vw - 2rem);
right: -1rem;
}
}

.justified-text {
    text-align: justify;
    text-justify: left-aligned; /* Makes the spacing look more professional */
}

/* Custom colors for Open Source dots */
.timeline-dot.nsoc {
    background: #ff69b4; /* Pink color for NSoC */
    box-shadow: 0 0 15px #ff69b4;
}

.timeline-dot.gssoc {
    background: #9b59b6; /* Purple color for GSSoC */
    box-shadow: 0 0 15px #9b59b6;
}
/* Optional: Slight background difference for the section */
.open-source {
    background: rgba(255, 255, 255, 0.02); /* Very subtle difference */
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-indigo), var(--accent-cyan));
    background-size: 200% 100%;
    z-index: 10000;
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.6), 0 0 4px rgba(99, 102, 241, 0.4);
    transition: width 0.1s ease-out;
    animation: progressShine 4s linear infinite;
}

@keyframes progressShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ========================================
   PREMIUM CARD INTERACTIVE TRANSITIONS
   ======================================= */

/* Base hover uplift for all cards */
.bento-card,
.experience-card {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bento-card:hover,
.experience-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.15), 
                0 0 30px rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
}

/* Premium 3D Tilt Certifications Cards */
.cert-card {
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
    max-width: 560px;
    height: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem 2rem !important;
    box-sizing: border-box;
    text-align: center !important;
}

.cert-card .cert-link {
    margin-top: auto;
}

.cert-card:hover {
    /* Fast transitions for tilt responsiveness, transition only shadow and border-color during active hover */
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 20px 50px rgba(34, 211, 238, 0.25), 
                0 0 35px rgba(99, 102, 241, 0.15);
    border-color: rgba(34, 211, 238, 0.5);
    /* Disable float keyframe animation on hover so JS can drive the transform */
    animation: none !important;
}

/* 3D child layering parallax depth styling */
.cert-card .cert-logo,
.cert-card .cert-icon {
    transform: translateZ(50px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-card .cert-title {
    transform: translateZ(35px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 1rem;
    margin-bottom: 0.25rem;
    font-size: 1.15rem;
    font-weight: 700;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
}

.cert-card .cert-issuer {
    transform: translateZ(25px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
}

.cert-card .cert-link {
    transform: translateZ(45px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
}

/* Issuer Specific Color Overrides (Custom properties) */
.cert-google {
    --brand-glow: rgba(66, 133, 244, 0.2);
}
.cert-linkedin {
    --brand-glow: rgba(0, 119, 181, 0.22);
}
.cert-brainovision {
    --brand-glow: rgba(79, 70, 229, 0.25);
}

/* 3D Glow Spotlight Overlay */
.cert-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle 150px at var(--x, 0px) var(--y, 0px),
        var(--brand-glow, rgba(34, 211, 238, 0.15)),
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 2;
}

.cert-card:hover .cert-glow {
    opacity: 1;
}

/* Custom 3D Reveal Entrance for Certification Cards */
.cert-card.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.9) rotateY(-15deg) rotateX(10deg) translateZ(-100px);
    filter: blur(8px);
    transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 1.6s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center bottom;
}

.cert-card.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1) rotateY(0deg) rotateX(0deg) translateZ(0);
    filter: blur(0);
}

/* Enhanced float keyframe animation with multi-axis sway and tilt */
@keyframes certFloatEnhanced {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    25% { transform: translateY(-6px) rotateX(0.5deg) rotateY(0.8deg) rotateZ(0.3deg); }
    50% { transform: translateY(-14px) rotateX(-0.5deg) rotateY(-0.5deg) rotateZ(-0.3deg); }
    75% { transform: translateY(-6px) rotateX(0.3deg) rotateY(0.5deg) rotateZ(0.2deg); }
}

/* Asynchronous Floating and Swaying loops for each Card - Starts after unlock */
.timeline-item[data-index="0"].unlocked .cert-card { animation: certFloatEnhanced 5.5s ease-in-out infinite, borderGlowPulse 4.0s ease-in-out infinite; animation-delay: 0.5s, 0s; }
.timeline-item[data-index="1"].unlocked .cert-card { animation: certFloatEnhanced 6.2s ease-in-out infinite, borderGlowPulse 4.5s ease-in-out infinite; animation-delay: 0.3s, 0.5s; }
.timeline-item[data-index="2"].unlocked .cert-card { animation: certFloatEnhanced 5.8s ease-in-out infinite, borderGlowPulse 4.2s ease-in-out infinite; animation-delay: 0.9s, 1.0s; }
.timeline-item[data-index="3"].unlocked .cert-card { animation: certFloatEnhanced 6.5s ease-in-out infinite, borderGlowPulse 4.8s ease-in-out infinite; animation-delay: 1.2s, 1.5s; }
.timeline-item[data-index="4"].unlocked .cert-card { animation: certFloatEnhanced 6.0s ease-in-out infinite, borderGlowPulse 4.0s ease-in-out infinite; animation-delay: 0.2s, 2.0s; }

/* Subtle glowing border animation around active certificates */
@keyframes borderGlowPulse {
    0% {
        border-color: rgba(34, 211, 238, 0.2);
        box-shadow: 0 10px 30px rgba(34, 211, 238, 0.05),
                    0 0 15px rgba(99, 102, 241, 0.02);
    }
    50% {
        border-color: rgba(34, 211, 238, 0.45);
        box-shadow: 0 15px 40px rgba(34, 211, 238, 0.15),
                    0 0 25px rgba(99, 102, 241, 0.1);
    }
    100% {
        border-color: rgba(34, 211, 238, 0.2);
        box-shadow: 0 10px 30px rgba(34, 211, 238, 0.05),
                    0 0 15px rgba(99, 102, 241, 0.02);
    }
}

/* Hover effects for Unlocked Certification Cards */
.timeline-item.unlocked .cert-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.unlocked .cert-card:hover {
    transform: translateY(-10px) scale(1.05) !important;
    box-shadow: 0 20px 50px rgba(34, 211, 238, 0.35), 
                0 0 35px rgba(99, 102, 241, 0.2) !important;
    border-color: rgba(34, 211, 238, 0.6) !important;
    animation: none !important; /* Disable float / glow animations during hover */
}

/* Shine Sweep Animation on Hover */
.cert-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.15) 30%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.15) 70%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    z-index: 5;
    pointer-events: none;
}

.timeline-item.unlocked .cert-card:hover::before {
    animation: shineSweep 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes shineSweep {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/* Celebratory Mode Synchronization */
.certifications.celebration-active .timeline-item.unlocked .cert-card {
    animation: celebrationPulse 2s ease-in-out infinite alternate !important;
}

@keyframes celebrationPulse {
    0% {
        transform: scale(1.0) translateY(0);
        box-shadow: 0 10px 30px rgba(0, 242, 254, 0.2);
        border-color: rgba(0, 242, 254, 0.3);
    }
    100% {
        transform: scale(1.08) translateY(-5px);
        box-shadow: 0 25px 60px rgba(0, 242, 254, 0.55),
                    0 0 45px rgba(99, 102, 241, 0.35);
        border-color: rgba(0, 242, 254, 0.85);
    }
}


/* Light Sweep Hover Overlay - Non-Project Bento Cards */
.bento-card:not(.project-card)::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 5;
}

.bento-card:not(.project-card):hover::after {
    left: 150%;
    transition: left 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Sweep Hover Overlay - Project Cards */
.project-content {
    position: relative;
    overflow: hidden;
}

.project-content::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 5;
}

.project-card:hover .project-content::after {
    left: 150%;
    transition: left 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Sweep Hover Overlay - Experience and Certifications Cards */
.experience-card::after,
.cert-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.06) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 5;
}

.experience-card:hover::after,
.cert-card:hover::after {
    left: 150%;
    transition: left 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Extra 3D Depth effect on Skills cards */
.skill-card {
    transition: box-shadow 0.4s ease, border-color 0.4s ease !important;
}

.skill-card:hover {
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2), 
                0 0 25px rgba(34, 211, 238, 0.15) !important;
    border-color: rgba(99, 102, 241, 0.5) !important;
}

/* ========================================
   MOUSE RADIAL SPOTLIGHT GLOW (Grid Overlay)
   ======================================= */
.bg-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(34, 211, 238, 0.08) 0%,
        rgba(99, 102, 241, 0.03) 45%,
        transparent 80%
    );
    pointer-events: none;
    z-index: -1;
}

/* ========================================
   PROJECT CODE PREVIEW SCANLINES
   ======================================= */
.project-code-preview {
    position: relative;
    overflow: hidden;
}

.project-code-preview::after {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(
        to bottom,
        rgba(34, 211, 238, 0) 0%,
        rgba(34, 211, 238, 0.08) 50%,
        rgba(34, 211, 238, 0) 100%
    );
    animation: codeScan 6s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes codeScan {
    0% { top: -100px; }
    50% { top: 120%; }
    100% { top: 120%; }
}

/* ========================================
   SECTION TITLE GRADIENT SHIMMERS
   ======================================= */
.section-title {
    background: linear-gradient(90deg, #F8FAFC, #38BDF8, #6366f1, #F8FAFC);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: background-position 1s ease;
    background-position: 0% 50%;
}

.reveal.active .section-title {
    animation: titleGradient 2.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

[data-theme="light"] .section-title {
    background: linear-gradient(90deg, #000000, #4f46e5, #0891b2, #000000);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

@keyframes titleGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* ========================================
   HERO FLOATING TECH SYMBOLS
   ======================================= */
.hero-floating-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-symbol {
    position: absolute;
    color: var(--accent-cyan);
    font-family: var(--font-mono);
    font-weight: 500;
    white-space: nowrap;
    animation: floatDrift infinite ease-in-out;
}

@keyframes floatDrift {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-25px) rotate(8deg);
    }
}

/* ========================================
   STICKY STACKED PROJECTS LAYOUT
   ======================================= */
.bento-grid.projects-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
    gap: 8vh !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 1100px !important;
    perspective: 1000px;
}

.bento-grid.projects-grid .project-card {
    position: sticky !important;
    top: calc(50vh - 185px) !important; /* Locks the card exactly in the vertical center of the viewport */
    width: 100% !important;
    max-width: 1100px !important;
    min-height: 370px !important; /* Uniform, compact single size for all cards */
    margin: 0 auto !important;
    border-radius: 20px !important;
    background: #0f0f1a !important;
    padding: 30px 40px !important; /* Increased horizontal padding, tighter vertical padding */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    
    /* Outlines and glow matching the remaining sections (cyan/indigo) instead of fire colors */
    border: 3px solid transparent !important;
    background-image: 
      linear-gradient(#0f0f1a, #0f0f1a),
      linear-gradient(45deg, var(--accent-cyan), var(--primary), var(--accent-indigo), var(--accent-cyan)) !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    box-shadow: 
      0 0 15px rgba(34, 211, 238, 0.4),
      0 0 30px rgba(56, 189, 248, 0.2),
      0 0 45px rgba(99, 102, 241, 0.15) !important;
    animation: cyan-indigo-glow 3s ease-in-out infinite !important;
}

/* Sticky Stack progressive z-indexes (same top offset causes overlay stack) */
.bento-grid.projects-grid .project-card:nth-child(1) { z-index: 11 !important; }
.bento-grid.projects-grid .project-card:nth-child(2) { z-index: 12 !important; }
.bento-grid.projects-grid .project-card:nth-child(3) { z-index: 13 !important; }
.bento-grid.projects-grid .project-card:nth-child(4) { z-index: 14 !important; }

/* 3D Transform effect on hover when stacked */
.bento-grid.projects-grid .project-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
}

/* Two-column layout container inside each project card */
.project-layout-container {
    display: grid !important;
    grid-template-columns: 1.25fr 1fr !important;
    gap: 3rem !important;
    align-items: center !important;
    width: 100% !important;
    text-align: left !important;
}

.project-content-left {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    position: relative !important;
}

.project-image-right {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    position: relative !important;
}

.project-image-right .project-code-preview {
    width: 100% !important;
    margin: 0 !important;
}

/* Big outlined project num badge */
.project-num-badge {
    font-family: 'Outfit', sans-serif !important;
    font-size: 5rem !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    color: transparent !important;
    -webkit-text-stroke: 1px rgba(34, 211, 238, 0.4) !important;
    margin-bottom: 0.8rem !important;
    letter-spacing: -2px !important;
    user-select: none !important;
}

[data-theme="light"] .project-num-badge {
    -webkit-text-stroke: 1px rgba(79, 70, 229, 0.4) !important;
}

/* Shimmer/Sweep Hover overlay on the inner content layout */
.project-content-left::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 5;
}

.project-card:hover .project-content-left::after {
    left: 150%;
    transition: left 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animation for cyan-indigo project card borders */
@keyframes cyan-indigo-glow {
  0%, 100% {
    box-shadow: 
      0 0 15px rgba(34, 211, 238, 0.4),
      0 0 30px rgba(56, 189, 248, 0.2),
      0 0 45px rgba(99, 102, 241, 0.15) !important;
    transform: translateZ(0);
  }
  50% {
    box-shadow: 
      0 0 25px rgba(99, 102, 241, 0.6),
      0 0 40px rgba(34, 211, 238, 0.4),
      0 0 55px rgba(56, 189, 248, 0.3) !important;
    transform: translateZ(0) scale(1.005);
  }
}

/* Light Theme overrides for project card borders */
[data-theme="light"] .bento-grid.projects-grid .project-card {
    background-image: 
      linear-gradient(#ffffff, #ffffff),
      linear-gradient(45deg, var(--accent-cyan), var(--primary), var(--accent-indigo), var(--accent-cyan)) !important;
    box-shadow: 0 0 25px rgba(79, 70, 229, 0.2), 0 0 50px rgba(6, 182, 212, 0.1) !important;
    animation: cyan-indigo-glow-light 3s ease-in-out infinite !important;
}

@keyframes cyan-indigo-glow-light {
  0%, 100% { 
        box-shadow: 0 0 25px rgba(79, 70, 229, 0.2), 0 0 50px rgba(6, 182, 212, 0.1) !important;
    }
    50% { 
        box-shadow: 0 0 35px rgba(79, 70, 229, 0.35), 0 0 70px rgba(6, 182, 212, 0.2) !important;
    }
}

/* Integrate code preview seamlessly without a separate container box */
.bento-grid.projects-grid .project-code-preview {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    text-align: left !important;
}

[data-theme="light"] .bento-grid.projects-grid .project-code-preview {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bento-grid.projects-grid .project-code-preview pre {
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ensure strong/bold text is highly readable in dark mode */
strong, b {
    color: #FFFFFF !important;
    font-weight: 700 !important;
}

/* Brighten project descriptions for high contrast in dark mode */
.bento-grid.projects-grid .project-description {
    color: #E2E8F0 !important;
}

/* Align project buttons with the cyan-indigo theme and fix contrast */
/* Left-align project links inside the grid card */
.bento-grid.projects-grid .project-links {
    justify-content: flex-start !important;
}

.bento-grid.projects-grid .project-link,
.bento-grid .bento-card.jagged-card-1 .project-link,
.bento-grid .bento-card.jagged-card-2 .project-link,
.bento-grid .bento-card.jagged-card-3 .project-link,
.bento-grid .bento-card.jagged-card-4 .project-link {
    border: 2px solid var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
    background: transparent !important;
    white-space: nowrap !important;
    width: max-content !important;
    flex: none !important;
    min-width: 130px !important;
}

.bento-grid.projects-grid .project-link:hover,
.bento-grid .bento-card.jagged-card-1 .project-link:hover,
.bento-grid .bento-card.jagged-card-2 .project-link:hover,
.bento-grid .bento-card.jagged-card-3 .project-link:hover,
.bento-grid .bento-card.jagged-card-4 .project-link:hover {
    background: rgba(34, 211, 238, 0.1) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4) !important;
    border-color: var(--accent-cyan) !important;
}

/* Update tech tags to match the cyan-indigo theme with excellent contrast */
.bento-grid.projects-grid .tech-tag {
    background: rgba(34, 211, 238, 0.1) !important;
    color: var(--accent-cyan) !important;
    border: 1px solid rgba(34, 211, 238, 0.2) !important;
}

/* Make project titles extremely bold and add a glowing gradient shimmer wave */
.bento-grid.projects-grid .project-title {
    font-weight: 900 !important;
    font-size: 2.1rem !important; /* Increased size for a more prominent, premium feel */
    margin-bottom: 24px !important; /* Added a clean gap (equivalent to one line break) below the title */
    background: linear-gradient(90deg, #FFFFFF, var(--accent-cyan), var(--accent-indigo), #FFFFFF);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: projectTitleGradient 6s ease infinite !important;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: inline-block !important;
}

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

/* Translate title to right slightly on hover */
.bento-grid.projects-grid .project-card:hover .project-title {
    transform: translateX(8px) !important;
}

/* Standardize body text size across the entire website for visual consistency */
.project-description,
.about-bio-card p {
    font-size: 1.1rem !important;
}

/* Mobile responsive scaling */
@media (max-width: 900px) {
    .project-layout-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    
    .bento-grid.projects-grid {
        gap: 3rem !important;
        display: flex !important;
        flex-direction: column !important;
    }
    
    .bento-grid.projects-grid .project-card {
        position: relative !important;
        top: auto !important;
        margin-bottom: 2rem !important;
        min-height: auto !important;
    }
    
    .project-num-badge {
        font-size: 4rem !important;
    }
}