/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    --bg-primary: #0a090b;
    --bg-secondary: #121115;
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-bg-hover: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.07);
    --glass-border-focus: rgba(168, 85, 247, 0.4);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Core Gradients (Indigo -> Purple -> Pink) */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 50%, rgba(236, 72, 153, 0.15) 100%);
    --gradient-text: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
    --accent-green: #10b981;
    
    --font-outfit: 'Outfit', sans-serif;
    --font-inter: 'Inter', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    
    /* Dynamic Cursor Spotlight Variables */
    --cursor-x: 50%;
    --cursor-y: 50%;
}

/* ==========================================================================
   DYNAMIC THEME ACCENT PALETTES
   ========================================================================== */
[data-theme-active="violet"] {
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(168, 85, 247, 0.15) 50%, rgba(236, 72, 153, 0.15) 100%);
    --gradient-text: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
    --accent-purple: #a855f7;
    --accent-pink: #ec4899;
}

[data-theme-active="emerald"] {
    --gradient-primary: linear-gradient(135deg, #059669 0%, #10b981 50%, #06b6d4 100%);
    --gradient-glow: linear-gradient(135deg, rgba(5, 150, 105, 0.15) 0%, rgba(16, 185, 129, 0.15) 50%, rgba(6, 182, 212, 0.15) 100%);
    --gradient-text: linear-gradient(135deg, #34d399 0%, #10b981 50%, #22d3ee 100%);
    --accent-purple: #10b981;
    --accent-pink: #06b6d4;
}

[data-theme-active="sunset"] {
    --gradient-primary: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    --gradient-glow: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(239, 68, 68, 0.15) 50%, rgba(236, 72, 153, 0.15) 100%);
    --gradient-text: linear-gradient(135deg, #fbbf24 0%, #f87171 50%, #f472b6 100%);
    --accent-purple: #f59e0b;
    --accent-pink: #ef4444;
}

[data-theme-active="cyan"] {
    --gradient-primary: linear-gradient(135deg, #0284c7 0%, #3b82f6 50%, #8b5cf6 100%);
    --gradient-glow: linear-gradient(135deg, rgba(2, 132, 199, 0.15) 0%, rgba(59, 130, 246, 0.15) 50%, rgba(139, 92, 246, 0.15) 100%);
    --gradient-text: linear-gradient(135deg, #38bdf8 0%, #60a5fa 50%, #a78bfa 100%);
    --accent-purple: #3b82f6;
    --accent-pink: #8b5cf6;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-inter);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

input, textarea, button {
    font-family: inherit;
}

/* ==========================================================================
   BACKGROUND EFFECTS (AESTHETIC BLOBS & GRID)
   ========================================================================== */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    mix-blend-mode: screen;
    animation: drift 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, #6366f1 0%, transparent 70%);
    top: -10vw;
    left: -10vw;
}

.blob-2 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    bottom: -5vw;
    right: -5vw;
    animation-delay: -5s;
}

.blob-3 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, #a855f7 0%, transparent 70%);
    top: 30%;
    left: 45%;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(10vw, 5vh) scale(1.15); }
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    pointer-events: none;
}

/* ==========================================================================
   APP LAYOUT CONTAINER
   ========================================================================== */
.app-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 3rem;
    min-height: 100vh;
}

/* ==========================================================================
   SIDEBAR (LEFT PANEL)
   ========================================================================== */
.sidebar {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    height: calc(100vh - 5rem);
    position: sticky;
    top: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

/* Custom Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 2px;
}

.sidebar-glow-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
}

.sidebar-header {
    width: 100%;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.profile-name {
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.profile-title {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.availability-badge {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 30px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 15px var(--accent-green); }
    100% { transform: scale(0.9); opacity: 0.8; }
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-green);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-img-container {
    position: relative;
    width: 180px;
    height: 180px;
    margin-bottom: 1.25rem;
}

.profile-img-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: var(--gradient-primary);
    border-radius: 20px;
    opacity: 0.5;
    filter: blur(10px);
    transition: var(--transition-smooth);
}

.profile-img-container:hover .profile-img-glow {
    opacity: 0.8;
    filter: blur(14px);
}

.profile-img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-cover: cover;
    transition: var(--transition-smooth);
}

.profile-img-container:hover .profile-img {
    transform: scale(1.05);
}

.tech-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.pill {
    font-size: 0.75rem;
    font-weight: 500;
    color: #a78bfa;
    background: rgba(168, 85, 247, 0.08);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    transition: var(--transition-fast);
}

.pill:hover {
    background: rgba(168, 85, 247, 0.15);
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-1px);
}

.divider {
    width: 100%;
    height: 1px;
    background: var(--glass-border);
    margin-bottom: 1.25rem;
}

.contact-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.info-icon {
    width: 18px;
    height: 18px;
    color: var(--accent-purple);
}

.email-link {
    transition: var(--transition-fast);
}

.email-link:hover {
    color: var(--accent-pink);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon:hover {
    border-color: var(--glass-border-focus);
    background: var(--glass-bg-hover);
    color: var(--accent-pink);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.2);
}

.sidebar-btn {
    width: 100%;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.9rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.25);
    border: none;
    cursor: pointer;
}

.sidebar-btn svg {
    width: 18px;
    height: 18px;
}

.sidebar-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #9333ea 50%, #db2777 100%);
}

/* ==========================================================================
   NAVBAR (HEADER INDICATOR)
   ========================================================================== */
.navbar {
    position: sticky;
    top: 2.5rem;
    z-index: 100;
    align-self: flex-start;
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 3.5rem;
    pointer-events: none; /* Let clicks pass through outside navbar */
}

.nav-links {
    pointer-events: auto; /* Re-enable pointer events for links */
    background: rgba(18, 17, 21, 0.7);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.5rem;
    border-radius: 16px;
    display: flex;
    gap: 0.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--glass-bg-hover);
}

.nav-item.active {
    color: var(--text-primary);
    background: var(--gradient-primary);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
}

/* ==========================================================================
   MAIN SCROLL CONTENT STYLES
   ========================================================================== */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.scroll-section {
    padding-top: 1rem;
    scroll-margin-top: 7rem;
}

/* ==========================================================================
   SECTION COMMON COMPONENTS
   ========================================================================== */
.section-indicator {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.sec-number {
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.sec-label {
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: var(--text-secondary);
    position: relative;
    padding-left: 2.5rem;
}

.sec-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.7rem;
    height: 1px;
    background: var(--gradient-primary);
}

.section-title {
    font-family: var(--font-outfit);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

/* ==========================================================================
   SECTION 1: HERO / INTRODUCTION
   ========================================================================== */
.hero-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-family: var(--font-outfit);
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    letter-spacing: -2px;
}

.outlined-text {
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
    line-height: 0.95;
    margin-bottom: 0.25rem;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.typing-container {
    font-size: 0.65em;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.pink-glow {
    color: var(--accent-pink);
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
}

.cursor {
    animation: blink 0.8s infinite;
    color: var(--accent-pink);
    margin-left: 3px;
    font-weight: 300;
}

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

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 3.5rem;
    font-weight: 400;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 600px;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 18px;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-3px);
}

.stat-value {
    font-family: var(--font-outfit);
    font-size: 2.2rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   SECTION 2: SERVICES
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.service-card:hover {
    border-color: rgba(168, 85, 247, 0.25);
    background: var(--glass-bg-hover);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--gradient-glow);
    border: 1px solid rgba(168, 85, 247, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
}

.service-icon-wrapper svg {
    width: 26px;
    height: 26px;
}

.service-card:hover .service-icon-wrapper {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.4);
    border-color: transparent;
}

.service-name {
    font-family: var(--font-outfit);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SECTION 3: PROJECTS
   ========================================================================== */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Featured Card Structure */
.featured-project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
    transition: var(--transition-smooth);
}

.featured-project-card:hover {
    border-color: rgba(168, 85, 247, 0.25);
    box-shadow: 0 25px 50px rgba(168, 85, 247, 0.08);
}

.project-badge {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: var(--gradient-primary);
    color: #fff;
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 8px;
    letter-spacing: 1px;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(168, 85, 247, 0.3);
}

.project-img-side {
    position: relative;
    min-height: 320px;
    height: 100%;
    overflow: hidden;
}

.project-showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-smooth);
}

.featured-project-card:hover .project-showcase-img {
    transform: scale(1.04);
}

.project-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, transparent 60%, rgba(18, 17, 21, 0.95) 100%);
    pointer-events: none;
}

.project-info-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    background: rgba(18, 17, 21, 0.4);
}

.project-title {
    font-family: var(--font-outfit);
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.project-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-pink);
}

.project-summary {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.feature-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-pink);
    box-shadow: 0 0 6px var(--accent-pink);
}

.project-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tech-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    padding: 0.3rem 0.7rem;
    border-radius: 6px;
    color: var(--text-secondary);
}

.project-links {
    margin-top: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-primary svg {
    width: 16px;
    height: 16px;
    color: var(--accent-pink);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(168, 85, 247, 0.35);
}

.btn-primary:hover svg {
    color: #fff;
}

/* Secondary Grid Project Cards */
.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.2rem;
    border-radius: 20px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-smooth);
}

.project-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(168, 85, 247, 0.2);
    transform: translateY(-4px);
}

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

.project-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card-num {
    font-family: monospace;
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.project-card-title {
    font-family: var(--font-outfit);
    font-size: 1.4rem;
    font-weight: 700;
}

.project-card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.project-card-tech {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================================================
   SECTION 4: SKILLS
   ========================================================================== */
.skills-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skills-category {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
}

.category-title {
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 0.75rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-pill {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    transition: var(--transition-fast);
}

.skill-pill:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(168, 85, 247, 0.2);
    color: var(--text-primary);
}

.percentage {
    font-family: monospace;
    font-weight: 700;
    color: var(--accent-pink);
}

/* ==========================================================================
   SECTION 5: CONTACT ME & FORM
   ========================================================================== */
.contact-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    transition: var(--transition-smooth);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.input-group {
    position: relative;
    width: 100%;
}

.form-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    padding: 1.1rem 1.2rem;
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    outline: none;
}

.form-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
    background: rgba(0, 0, 0, 0.35);
}

/* Floating Label Logic */
.form-label {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    pointer-events: none;
}

textarea.form-input {
    resize: none;
}

textarea ~ .form-label {
    top: 1.5rem;
    transform: none;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    top: 0;
    left: 1rem;
    transform: translateY(-50%);
    font-size: 0.75rem;
    padding: 0 0.5rem;
    background: var(--bg-secondary);
    color: var(--accent-purple);
    border-radius: 4px;
}

.submit-btn {
    align-self: flex-start;
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.25);
}

.submit-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.45);
}

.submit-btn:hover .submit-icon {
    transform: translate(3px, -3px);
}

/* Success Feedback Panel */
.form-feedback-msg {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem;
    animation: slideUp 0.5s ease forwards;
}

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

.success-icon {
    width: 64px;
    height: 64px;
    color: var(--accent-green);
}

.feedback-text {
    font-family: var(--font-outfit);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    margin-top: 3rem;
    text-align: center;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   SCROLL INTERSECTION ANIMATIONS
   ========================================================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .app-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 1.5rem;
    }
    
    .sidebar {
        height: auto;
        position: relative;
        top: 0;
        padding: 2rem;
    }
    
    .navbar {
        top: 1rem;
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-project-card {
        grid-template-columns: 1fr;
    }
    
    .project-img-side {
        min-height: 240px;
    }
    
    .project-img-overlay {
        background: linear-gradient(to bottom, transparent 60%, rgba(18, 17, 21, 0.95) 100%);
    }
    
    .project-info-side {
        padding: 2rem;
    }
    
    .skills-categories {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-box {
        padding: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {
    .app-container {
        padding: 1rem 0.75rem;
    }
    
    .sidebar {
        padding: 1.5rem 1rem;
    }
    
    .profile-img-container {
        width: 140px;
        height: 140px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-links {
        padding: 0.35rem;
    }
    
    .nav-item {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* ==========================================================================
   VIDEO MODAL OVERLAY
   ========================================================================== */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.video-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 9, 11, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.video-modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.15);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}

.video-modal.active {
    display: flex;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
    opacity: 1;
}

.video-player-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    background: #000;
}

.video-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1002;
    transition: var(--transition-fast);
}

.video-modal-close:hover {
    background: var(--accent-pink);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
}

#watch-demo-btn {
    cursor: pointer;
}

/* ==========================================================================
   CV BUTTON (SIDEBAR) & MODAL STYLING
   ========================================================================== */

.sidebar-btn.secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    box-shadow: none;
    margin-top: 0.75rem;
}

.sidebar-btn.secondary svg {
    color: var(--accent-purple);
    transition: var(--transition-fast);
}

.sidebar-btn.secondary:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-focus);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.1);
}

.sidebar-btn.secondary:hover svg {
    color: var(--accent-pink);
    transform: rotate(-10deg) scale(1.1);
}

/* CV Modal Overlay */
.cv-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.cv-modal.active {
    display: flex;
}

.cv-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 9, 11, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.cv-modal-content {
    position: relative;
    width: 100%;
    max-width: 950px;
    max-height: 85vh;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(168, 85, 247, 0.15);
    transform: scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
}

.cv-modal.active .cv-modal-content {
    transform: scale(1);
    opacity: 1;
}

.cv-modal-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    background: rgba(18, 17, 21, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
}

.cv-modal-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.1rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.cv-modal-btn svg {
    width: 16px;
    height: 16px;
    color: var(--accent-purple);
    transition: var(--transition-fast);
}

.cv-modal-btn:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.cv-modal-btn:hover svg {
    color: #fff;
    transform: scale(1.1);
}

.cv-modal-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    font-size: 1.5rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.cv-modal-close:hover {
    background: var(--accent-pink);
    color: #fff;
    border-color: transparent;
    transform: scale(1.05);
}

/* CV Content Layout styling */
.cv-container {
    padding: 3rem;
    overflow-y: auto;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05) 0%, transparent 60%);
}

.cv-container::-webkit-scrollbar {
    width: 6px;
}
.cv-container::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 3px;
}
.cv-container::-webkit-scrollbar-thumb:hover {
    background: var(--glass-border-focus);
}

.cv-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.cv-name {
    font-family: var(--font-outfit);
    font-size: 2.4rem;
    font-weight: 900;
    letter-spacing: -1px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.cv-role {
    font-family: var(--font-outfit);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: 0.25rem;
}

.cv-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 1.5rem;
}

.cv-contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.cv-contact-item a {
    transition: var(--transition-fast);
}
.cv-contact-item a:hover {
    color: var(--accent-pink);
}

.cv-icon {
    width: 15px;
    height: 15px;
    color: var(--accent-purple);
    flex-shrink: 0;
}

.cv-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, var(--glass-border) 0%, rgba(255,255,255,0.02) 100%);
}

.cv-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cv-section-title {
    font-family: var(--font-outfit);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--accent-pink);
    letter-spacing: 2px;
    border-bottom: 1px dashed rgba(236, 72, 153, 0.2);
    padding-bottom: 0.35rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.cv-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.cv-layout-columns {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 3rem;
}

.cv-main-column, .cv-side-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cv-experience-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.cv-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.cv-item-title {
    font-family: var(--font-outfit);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cv-item-date {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
}

.cv-item-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple);
}

.cv-item-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.cv-bullets {
    margin-left: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.cv-bullets li {
    line-height: 1.5;
}

.cv-education-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
}

.cv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cv-tag {
    font-size: 0.75rem;
    font-weight: 600;
    background: rgba(168, 85, 247, 0.06);
    border: 1px solid rgba(168, 85, 247, 0.15);
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    color: #a78bfa;
}

.cv-bullets-dense {
    margin-left: 1.2rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cv-dev-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--glass-border);
    padding: 0.85rem 1rem;
    border-radius: 12px;
}

.cv-dev-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

.cv-dev-issuer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

/* ==========================================================================
   CV RESPONSIVE MEDIA STYLES
   ========================================================================== */

@media (max-width: 768px) {
    .cv-modal {
        padding: 1rem 0.5rem;
    }
    
    .cv-modal-content {
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .cv-modal-header {
        padding: 1rem;
    }
    
    .cv-container {
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .cv-name {
        font-size: 1.8rem;
    }
    
    .cv-contact-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .cv-layout-columns {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   CV PRINT MEDIA STYLES
   ========================================================================== */

@media print {
    /* Hide everything else on the page */
    body * {
        visibility: hidden;
    }
    
    /* Show only the CV printable area */
    #cv-printable-area, #cv-printable-area * {
        visibility: visible;
    }
    
    /* Position the CV area at the very top left */
    #cv-printable-area {
        position: absolute;
        left: 0;
        top: 0;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }
    
    /* Ensure page break rules are respected */
    html, body {
        background: #fff !important;
        color: #000 !important;
        font-size: 10pt !important;
        line-height: 1.45 !important;
    }
    
    /* Style CV elements specifically for print */
    .cv-name {
        background: none !important;
        -webkit-text-fill-color: initial !important;
        color: #000 !important;
        font-size: 20pt !important;
    }
    
    .cv-role {
        color: #333 !important;
        font-size: 10pt !important;
    }
    
    .cv-contact-item {
        color: #333 !important;
        font-size: 8.5pt !important;
    }
    
    .cv-contact-item a {
        color: #000 !important;
        text-decoration: none !important;
    }
    
    .cv-icon {
        color: #000 !important;
    }
    
    .cv-divider {
        background: #ccc !important;
        height: 1px !important;
        margin: 8pt 0 !important;
    }
    
    .cv-section-title {
        color: #000 !important;
        border-bottom: 1px solid #000 !important;
        font-size: 9.5pt !important;
        margin-top: 8pt !important;
        padding-bottom: 2pt !important;
    }
    
    .cv-text {
        color: #222 !important;
        font-size: 9pt !important;
    }
    
    .cv-item-title {
        color: #000 !important;
        font-size: 9.5pt !important;
    }
    
    .cv-item-date {
        color: #444 !important;
        border: none !important;
        background: none !important;
        padding: 0 !important;
        font-size: 8.5pt !important;
    }
    
    .cv-item-subtitle {
        color: #222 !important;
        font-size: 8.5pt !important;
    }
    
    .cv-item-detail {
        color: #444 !important;
        font-size: 8pt !important;
    }
    
    .cv-bullets {
        color: #222 !important;
        font-size: 8.5pt !important;
        margin-left: 12pt !important;
        gap: 0.2rem !important;
    }
    
    .cv-education-item {
        background: none !important;
        border: none !important;
        padding: 0 !important;
    }
    
    .cv-tag {
        background: none !important;
        border: 1px solid #999 !important;
        color: #000 !important;
        padding: 1pt 3pt !important;
        font-size: 8pt !important;
    }
    
    .cv-bullets-dense {
        color: #222 !important;
        font-size: 8pt !important;
        margin-left: 12pt !important;
    }
    
    .cv-dev-item {
        background: none !important;
        border: none !important;
        padding: 0 !important;
    }
    
    .cv-dev-title {
        color: #000 !important;
        font-size: 8.5pt !important;
    }
    
    .cv-dev-issuer {
        color: #444 !important;
        font-size: 8pt !important;
    }
    
    .cv-layout-columns {
        display: grid !important;
        grid-template-columns: 1.6fr 1fr !important;
        gap: 15pt !important;
    }
}

/* ==========================================================================
   THEME ACCENT SWITCHER IN NAVBAR
   ========================================================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.theme-switcher {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.35rem 0.5rem;
    border-radius: 9999px;
    border: 1px solid var(--glass-border);
}

.theme-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.theme-btn:hover {
    transform: scale(1.2);
}

.theme-btn.active {
    box-shadow: 0 0 10px var(--accent-purple);
}

.theme-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
}

.theme-dot.violet { background: linear-gradient(135deg, #6366f1, #ec4899); }
.theme-dot.emerald { background: linear-gradient(135deg, #059669, #06b6d4); }
.theme-dot.sunset { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.theme-dot.cyan { background: linear-gradient(135deg, #0284c7, #8b5cf6); }

/* ==========================================================================
   HERO AVAILABILITY BADGE & STATS GRID
   ========================================================================== */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    color: #34d399;
    font-weight: 500;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.stat-card:hover {
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-focus);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.stat-num-wrapper {
    display: flex;
    align-items: baseline;
    font-family: var(--font-outfit);
    font-weight: 800;
    font-size: 2.2rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.stat-prefix, .stat-suffix {
    font-size: 1.4rem;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
    margin-top: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* ==========================================================================
   DYNAMIC 3D PERSPECTIVE TILT & MOUSE SPOTLIGHT EFFECT
   ========================================================================== */
.featured-project-card,
.project-card,
.service-card,
.timeline-card,
.skills-category {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
}

.featured-project-card::before,
.project-card::before,
.service-card::before,
.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.07),
        transparent 40%
    );
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.featured-project-card:hover::before,
.project-card:hover::before,
.service-card:hover::before,
.timeline-card:hover::before {
    opacity: 1;
}

/* ==========================================================================
   PROJECT CATEGORY FILTER BUTTONS
   ========================================================================== */
.project-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover {
    color: var(--text-primary);
    background: var(--glass-bg-hover);
    border-color: rgba(255, 255, 255, 0.15);
}

.filter-btn.active {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.35);
}

.featured-project-card.filtered-out,
.project-card.filtered-out {
    display: none !important;
}

/* ==========================================================================
   TIMELINE SECTION
   ========================================================================== */
.timeline-container {
    position: relative;
    padding-left: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 1.5rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 7px;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-purple), var(--accent-pink), transparent);
}

.timeline-item {
    position: relative;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--accent-purple);
    box-shadow: 0 0 10px var(--accent-purple);
    transform: translateX(-50%);
}

.timeline-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.timeline-badge {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--accent-pink);
    background: rgba(236, 72, 153, 0.1);
    border: 1px solid rgba(236, 72, 153, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    text-transform: uppercase;
}

.timeline-date {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.timeline-title {
    font-family: var(--font-outfit);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.timeline-role {
    font-size: 0.92rem;
    color: var(--accent-purple);
    font-weight: 600;
}

.timeline-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   SKILL PROGRESS BARS
   ========================================================================== */
.skill-pill {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0.85rem 1rem !important;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 0.9rem;
}

.skill-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 9999px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   FLOATING AI ASSISTANT CHAT WIDGET
   ========================================================================== */
.ai-widget-wrapper {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
}

.ai-widget-trigger {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-widget-trigger:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(168, 85, 247, 0.6);
}

.ai-trigger-icon {
    width: 28px;
    height: 28px;
}

.ai-chat-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 340px;
    background: rgba(18, 17, 21, 0.95);
    border: 1px solid var(--glass-border-focus);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-chat-window.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0) scale(1);
}

.ai-chat-header {
    background: var(--gradient-glow);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ai-profile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-status-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.ai-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
}

.ai-close-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.ai-close-btn:hover { color: #fff; }

.ai-chat-messages {
    padding: 1.25rem;
    height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ai-chat-messages::-webkit-scrollbar {
    width: 4px;
}
.ai-chat-messages::-webkit-scrollbar-thumb {
    background: var(--glass-border);
}

.ai-msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    font-size: 0.86rem;
    line-height: 1.5;
}

.ai-msg.bot {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ai-msg.user {
    background: var(--gradient-primary);
    color: #fff;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ai-quick-chips {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--glass-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.chip-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    padding: 0.35rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.chip-btn:hover {
    background: var(--glass-bg-hover);
    color: var(--text-primary);
    border-color: var(--accent-purple);
}

