/* ===================================
   CSS Variables & Design Tokens
   =================================== */
:root {
    /* Premium Blue Dark Theme */
    --color-bg-primary: #050810;
    --color-bg-secondary: #0a0f1c;
    --color-bg-tertiary: #0e1526;

    /* Electric Azure Primary */
    --color-primary: #0077ff;
    --color-primary-light: #4da6ff;
    --color-primary-dark: #0055cc;

    /* Neon Cyan Secondary */
    --color-secondary: #00d4ff;
    --color-secondary-light: #66e4ff;
    --color-secondary-dark: #0099cc;

    /* Deep Indigo Accent */
    --color-accent: #6600ff;
    --color-accent-light: #994dff;

    /* Crisp Text Colors */
    --color-text-primary: #f0f4f8;
    --color-text-secondary: #a9b9cc;
    --color-text-muted: #6b7a90;

    /* Premium Borders */
    --color-border: rgba(0, 119, 255, 0.15);
    --color-border-light: rgba(0, 119, 255, 0.05);

    /* Solid / Gradient Accents */
    --gradient-primary: linear-gradient(135deg, #0077ff 0%, #6600ff 100%);
    --gradient-secondary: linear-gradient(135deg, #00d4ff 0%, #0077ff 100%);
    --gradient-accent: linear-gradient(135deg, #6600ff 0%, #00d4ff 100%);
    --gradient-glass: linear-gradient(135deg, rgba(0, 119, 255, 0.08) 0%, rgba(0, 119, 255, 0.02) 100%);

    /* Deep Premium Shadows */
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);

    /* Electric Glows */
    --glow-primary: 0 0 40px rgba(0, 119, 255, 0.35);
    --glow-secondary: 0 0 40px rgba(0, 212, 255, 0.3);
    --glow-accent: 0 0 40px rgba(102, 0, 255, 0.35);

    /* Spacing compressed for viewability */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Typography */
    --font-primary: 'Plus Jakarta Sans', sans-serif;
    --font-display: 'Outfit', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Smooth Modern UI Border Radius */
    --radius-sm: 0.75rem;
    --radius-md: 1.25rem;
    --radius-lg: 2rem;
    --radius-xl: 3rem;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 119, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(102, 0, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

::selection {
    background: var(--color-primary);
    color: var(--color-text-primary);
}

/* ===================================
   Typography
   =================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

/* ===================================
   Utility Classes
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

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

.highlight {
    color: var(--color-primary-light);
    font-weight: 600;
}

/* ===================================
   Navigation
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-base);
}

.nav.scrolled {
    background: rgba(15, 20, 25, 0.95);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-dot {
    color: var(--color-secondary);
    font-size: 2rem;
    line-height: 0.5;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-link {
    position: relative;
    font-weight: 500;
    color: var(--color-text-secondary);
    padding: 0.5rem 0;
}

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

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

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

/* Active navigation link */
.nav-link.active {
    color: var(--color-text-primary);
}

.nav-link.active::after {
    width: 100%;
    background: var(--gradient-primary);
}


.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    position: relative;
    transition: var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 0 0 0;
    /* offset for nav */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--gradient-primary);
    top: -250px;
    right: -250px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--gradient-secondary);
    bottom: -200px;
    left: -200px;
    animation-delay: 5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: var(--gradient-accent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -50px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.9);
    }

    75% {
        transform: translate(30px, 50px) scale(1.05);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    /* reduced from 3xl */
    align-items: center;
    max-height: 80vh;
    /* force fit constraint */
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-greeting {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xs);
}

.hero-title {
    font-size: 3.2rem;
    /* tightly packed */
    font-weight: 900;
    margin-bottom: var(--spacing-xs);
    line-height: 1.1;
}

.title-line {
    display: block;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-sm);
    max-width: 600px;
}

.hero-stats {
    display: flex;
    justify-content: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-sm) 0;
    flex-wrap: wrap;
    /* allow wrapping on smaller screens */
}

.stat-item {
    display: flex;
    flex-direction: row;
    /* Horizontal alignment for modern pill shape */
    align-items: center;
    gap: var(--spacing-sm);
}

.stat-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-display);
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.75rem;
    /* modern smaller labels */
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-primary);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.5);
}

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

.btn-secondary:hover {
    background: var(--color-primary);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

.hero-visual {
    animation: fadeInRight 1s ease-out 0.3s both;
}

.code-window {
    background: var(--color-bg-secondary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    backdrop-filter: blur(20px);
}

.window-header {
    background: var(--color-bg-tertiary);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    border-bottom: 1px solid var(--color-border);
}

.window-dots {
    display: flex;
    gap: 0.5rem;
}

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

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.window-title {
    color: var(--color-text-secondary);
    font-size: 0.875rem;
}

.window-content {
    padding: var(--spacing-lg);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
}

.code-keyword {
    color: #c792ea;
}

.code-variable {
    color: #82aaff;
}

.code-property {
    color: #f07178;
}

.code-string {
    color: #c3e88d;
}

.code-number {
    color: #f78c6c;
}

.blinking-cursor {
    font-weight: bold;
    font-size: 1.2rem;
    color: #00d4ff;
    animation: blink 1s step-end infinite;
}

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

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-sm);
    /* tucked closer to botom to save space */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    animation: bounce 2s ease-in-out infinite;
    transform-origin: bottom center;
    scale: 0.8;
}

.scroll-text {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: var(--spacing-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: var(--radius-md);
    color: var(--color-primary-light);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--spacing-md);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
}

/* ===================================
   About Section
   =================================== */
.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-intro {
    font-size: 1.5rem;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.about-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-highlights {
    margin-top: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.highlight-item {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.highlight-item:hover {
    transform: translateX(10px);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.highlight-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 2px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    animation: pulse-glow 3s ease-in-out infinite;
}

.image-placeholder svg {
    width: 100%;
    height: 100%;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    }
}

/* ===================================
   Skills Section
   =================================== */
.skills {
    background: var(--color-bg-secondary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.skill-category {
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.skill-category:hover {
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
    transform: translateY(-5px);
}

.category-header h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-name {
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.95rem;
}

.skill-bar {
    height: 8px;
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* ===================================
   Projects Section
   =================================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
}

.project-card {
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.project-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-secondary));
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

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

.project-link {
    padding: 1rem 2rem;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.project-card:hover .project-link {
    transform: translateY(0);
}

.project-content {
    padding: var(--spacing-lg);
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--color-primary-light);
    font-weight: 600;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.project-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.project-stats {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.stat {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===================================
   Experience Section - Enhanced Modern Design
   =================================== */
.experience {
    background: var(--color-bg-primary);
    padding: var(--spacing-3xl) 0;
    position: relative;
    overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 20s ease-in-out infinite;
}

.experience::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: float 25s ease-in-out infinite reverse;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-2xl);
}

.timeline-item {
    position: relative;
    animation: fadeInUp 0.8s ease-out backwards;
    display: flex;
    flex-direction: column;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }

.timeline-content {
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.5) 0%, rgba(10, 15, 28, 0.3) 100%);
    border: 1px solid rgba(0, 119, 255, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.timeline-item:hover .timeline-content::before {
    opacity: 1;
}

.timeline-content:hover {
    border-color: rgba(0, 119, 255, 0.4);
    background: linear-gradient(135deg, rgba(10, 15, 28, 0.7) 0%, rgba(10, 15, 28, 0.5) 100%);
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(0, 119, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-8px);
}

.timeline-date {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1.5px solid rgba(0, 119, 255, 0.25);
    border-radius: 2rem;
    color: var(--color-secondary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.1);
}

.timeline-item:hover .timeline-date {
    background: linear-gradient(135deg, rgba(0, 119, 255, 0.2) 0%, rgba(0, 212, 255, 0.1) 100%);
    box-shadow: 0 0 25px rgba(0, 212, 255, 0.2);
    transform: scale(1.05);
}

.timeline-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-title {
    transform: translateX(5px);
}

.timeline-company {
    display: inline-block;
    color: var(--color-secondary);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: var(--spacing-sm);
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.08);
    border-left: 3px solid var(--color-secondary);
    border-radius: 0.5rem;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-company {
    background: rgba(0, 212, 255, 0.15);
    transform: translateX(5px);
}

.timeline-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.timeline-item:hover .timeline-description {
    color: var(--color-text-primary);
}

.timeline-achievements {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(0, 119, 255, 0.1);
}

.timeline-achievements li {
    padding-left: 2rem;
    position: relative;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
}

.timeline-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--color-secondary);
    font-weight: 900;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-achievements li::before {
    background: rgba(0, 212, 255, 0.25);
    transform: scale(1.2);
}

.timeline-item:hover .timeline-achievements li {
    color: var(--color-text-primary);
    transform: translateX(3px);
}

/* ===================================
   Contact Section
   =================================== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-3xl);
}

.contact-intro {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--spacing-xl);
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.contact-method {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.contact-method:hover {
    border-color: var(--color-primary);
    transform: translateX(10px);
}

.method-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-primary);
}

.method-content a,
.method-content p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.method-content a:hover {
    color: var(--color-primary);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.social-link:hover {
    background: var(--gradient-primary);
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--glow-primary);
}

.contact-form {
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--color-bg-secondary);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-text {
    color: var(--color-text-muted);
}

.footer-links {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-visual {
        order: -1;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-lg);
        transition: var(--transition-base);
    }

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

    .nav-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* ===================================
   ENHANCED STYLES - Additional Premium Features
   =================================== */

/* Particle Canvas */
.particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Animated Mesh Background (Restored smooth flow) */
.animated-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 30%, rgba(0, 119, 255, 0.03) 30%, rgba(0, 119, 255, 0.03) 70%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 212, 255, 0.03) 30%, rgba(0, 212, 255, 0.03) 70%, transparent 70%);
    background-size: 60px 60px;
    animation: mesh-move 20s linear infinite;
    z-index: -1;
}

@keyframes mesh-move {
    0% {
        background-position: 0 0, 0 0;
    }

    100% {
        background-position: 60px 60px, -60px -60px;
    }
}

/* Floating Icons */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    color: var(--color-primary);
    opacity: 0.2;
    animation: float-rotate 15s ease-in-out infinite;
}

.floating-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px currentColor);
}

.floating-icon:nth-child(2) {
    animation-delay: 5s;
    color: var(--color-secondary);
}

.floating-icon:nth-child(3) {
    animation-delay: 10s;
    color: var(--color-accent);
}

@keyframes float-rotate {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.2;
    }

    25% {
        transform: translateY(-30px) rotate(90deg);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-15px) rotate(180deg);
        opacity: 0.3;
    }

    75% {
        transform: translateY(-25px) rotate(270deg);
        opacity: 0.35;
    }
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(0, 119, 255, 0.1);
    border: 1px solid rgba(0, 119, 255, 0.3);
    border-radius: 2rem;
    margin-bottom: var(--spacing-xs);
    animation: pulse-badge 2s ease-in-out infinite;
}

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

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-light);
}

@keyframes pulse-badge {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Glitch Effect */
.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00de;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(61px, 9999px, 50px, 0);
    }

    20% {
        clip: rect(33px, 9999px, 144px, 0);
    }

    40% {
        clip: rect(121px, 9999px, 115px, 0);
    }

    60% {
        clip: rect(144px, 9999px, 78px, 0);
    }

    80% {
        clip: rect(106px, 9999px, 28px, 0);
    }

    100% {
        clip: rect(20px, 9999px, 92px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(129px, 9999px, 36px, 0);
    }

    20% {
        clip: rect(36px, 9999px, 136px, 0);
    }

    40% {
        clip: rect(100px, 9999px, 50px, 0);
    }

    60% {
        clip: rect(85px, 9999px, 123px, 0);
    }

    80% {
        clip: rect(28px, 9999px, 100px, 0);
    }

    100% {
        clip: rect(48px, 9999px, 78px, 0);
    }
}

/* Enhanced Ultra-Modern Stats */
.hero-stats .stat-item {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1.25rem;
    background: rgba(10, 15, 28, 0.4);
    /* Subtler glass background */
    border: 1px solid rgba(0, 119, 255, 0.1);
    /* Very subtle blue wireframe */
    border-radius: 100px;
    /* Fully rounded pill shape */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    /* Premium depth */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-stats .stat-item:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 119, 255, 0.3);
    background: rgba(10, 15, 28, 0.6);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 119, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-icon {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 119, 255, 0.1);
    border-radius: 50%;
    margin-right: 0.5rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

/* Enhanced Buttons */
.btn-icon {
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

.btn-primary:hover .btn-icon {
    animation: arrow-bounce 0.6s ease-in-out;
}

@keyframes arrow-bounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(10px);
    }
}

/* Tech Stack */
.tech-stack {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.tech-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tech-icons {
    display: flex;
    gap: var(--spacing-sm);
}

.tech-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.tech-icon:hover {
    transform: translateY(-5px) rotate(5deg);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
}

/* 3D Card Wrapper */
.card-3d-wrapper {
    position: relative;
    perspective: 1000px;
}

/* Enhanced Code Window */
.code-window {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.window-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-actions {
    display: flex;
    gap: 0.5rem;
}

.action-icon {
    font-size: 1rem;
    opacity: 0.5;
    transition: var(--transition-base);
    cursor: pointer;
}

.action-icon:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.window-content {
    position: relative;
    display: flex;
    gap: var(--spacing-md);
}

.line-numbers {
    display: flex;
    flex-direction: column;
    color: var(--color-text-muted);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.8;
    user-select: none;
    padding-right: var(--spacing-md);
    border-right: 1px solid var(--color-border);
}

.code-cursor {
    position: absolute;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 2px;
    height: 20px;
    background: var(--color-primary);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    animation: float-card 6s ease-in-out infinite;
}

.card-1 {
    top: -20px;
    right: -40px;
    animation-delay: 0s;
}

.card-2 {
    bottom: -30px;
    left: -50px;
    animation-delay: 3s;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.card-icon {
    font-size: 1.5rem;
}

.card-value {
    font-size: 1.25rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Enhanced Scroll Indicator */
.mouse-scroll {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(12px);
    }
}

.arrow-down {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.arrow-down span {
    width: 12px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    animation: arrow-move 2s ease-in-out infinite;
}

.arrow-down span:nth-child(2) {
    animation-delay: 0.2s;
}

.arrow-down span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes arrow-move {

    0%,
    100% {
        opacity: 0;
        transform: translateY(-10px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* AOS-like Animation Attributes */
[data-aos] {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(30px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(30px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Typing Effect */
.typing-effect {
    position: relative;
    display: inline-block;
}

.typing-effect::after {
    content: '|';
    animation: typing-cursor 1s step-end infinite;
}

@keyframes typing-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Responsive Enhancements */
@media (max-width: 1024px) {
    .floating-card {
        display: none;
    }

    .floating-elements {
        opacity: 0.3;
    }

    .hero-stats .stat-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .hero-stats .stat-item {
        width: 100%;
    }

    .tech-stack {
        flex-direction: column;
        align-items: flex-start;
    }

    .tech-icons {
        width: 100%;
        justify-content: space-between;
    }

    .line-numbers {
        display: none;
    }

    .glitch::before,
    .glitch::after {
        display: none;
    }
}

/* Performance Optimization */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   3D CURSOR & POINTER ANIMATIONS
   =================================== */

/* Hide default cursor */
body {
    cursor: none;
}

/* Custom Cursor Container */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
}

/* Main Cursor Dot */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    z-index: 10001;
    pointer-events: none;
    mix-blend-mode: difference;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.8);
}

/* Cursor Ring */
.cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, border-color 0.3s ease;
    z-index: 10000;
    pointer-events: none;
    animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* 3D Cursor Trail */
.cursor-trail {
    position: fixed;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    mix-blend-mode: screen;
    transition: transform 0.2s ease;
}

/* Hover States */
body.cursor-hover .cursor-dot {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #8b5cf6, #60a5fa);
    box-shadow: 0 0 30px rgba(139, 92, 246, 1);
}

body.cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: rgba(139, 92, 246, 0.8);
    border-width: 3px;
}

body.cursor-hover .cursor-glow {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Click State */
body.cursor-click .cursor-dot {
    width: 12px;
    height: 12px;
    animation: cursor-click-pulse 0.3s ease;
}

body.cursor-click .cursor-ring {
    animation: cursor-click-ring 0.3s ease;
}

@keyframes cursor-click-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes cursor-click-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Text Selection State */
body.cursor-text .cursor-dot {
    width: 2px;
    height: 20px;
    border-radius: 0;
}

body.cursor-text .cursor-ring {
    width: 20px;
    height: 30px;
    border-radius: 4px;
}

/* 3D Floating Particles around Cursor */
.cursor-particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, #ff7b54, #4a9b8e);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
    animation: particle-float 1s ease-out forwards;
}

@keyframes particle-float {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-50px) scale(0);
    }
}

/* Magnetic Effect Indicator */
.cursor-magnetic {
    position: fixed;
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(255, 123, 84, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9996;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: rotate-magnetic 10s linear infinite;
}

body.cursor-magnetic-active .cursor-magnetic {
    opacity: 1;
}

@keyframes rotate-magnetic {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Ripple Effect on Click */
.cursor-ripple {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 123, 84, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9995;
    animation: ripple-expand 0.6s ease-out forwards;
}

@keyframes ripple-expand {
    0% {
        width: 20px;
        height: 20px;
        opacity: 1;
    }

    100% {
        width: 100px;
        height: 100px;
        opacity: 0;
    }
}

/* 3D Depth Effect */
.cursor-depth {
    position: fixed;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle,
            rgba(139, 92, 246, 0.1) 0%,
            rgba(6, 182, 212, 0.1) 50%,
            transparent 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9994;
    filter: blur(10px);
    transition: transform 0.1s ease;
}

/* Interactive Elements Highlight */
a,
button,
.btn,
input,
textarea,
select {
    cursor: none !important;
}

/* Disable on Mobile */
@media (max-width: 1024px) {
    body {
        cursor: auto;
    }

    .custom-cursor,
    .cursor-dot,
    .cursor-ring,
    .cursor-trail,
    .cursor-glow,
    .cursor-particle,
    .cursor-magnetic,
    .cursor-ripple,
    .cursor-depth {
        display: none !important;
    }
}

/* Smooth Cursor Movement */
.cursor-smooth {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Cursor Text Label */
.cursor-label {
    position: fixed;
    padding: 0.5rem 1rem;
    background: rgba(255, 123, 84, 0.9);
    color: white;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 10002;
    opacity: 0;
    transform: translate(-50%, -120%);
    transition: opacity 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body.cursor-label-active .cursor-label {
    opacity: 1;
}

/* Cursor Sparkle Effect */
.cursor-sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    pointer-events: none;
    z-index: 9993;
    animation: sparkle-twinkle 0.8s ease-out forwards;
}

.cursor-sparkle::before,
.cursor-sparkle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #fff, transparent);
    transform: translate(-50%, -50%);
}

.cursor-sparkle::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

@keyframes sparkle-twinkle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.5) rotate(180deg);
    }
}

/* Performance Optimization */
.cursor-smooth,
.cursor-dot,
.cursor-ring,
.cursor-glow,
.cursor-depth {
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {

    .cursor-dot,
    .cursor-ring,
    .cursor-trail,
    .cursor-glow,
    .cursor-particle,
    .cursor-magnetic,
    .cursor-ripple,
    .cursor-depth,
    .cursor-sparkle {
        animation: none !important;
        transition: none !important;
    }
}

/* ===================================
   HUMAN TOUCH ANIMATIONS
   Additional organic, playful animations
   =================================== */

/* Handwritten-style underlines */
.handwritten-underline {
    position: relative;
    display: inline-block;
}

.handwritten-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath d='M0,5 Q25,0 50,5 T100,5' stroke='%23ff7b54' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    opacity: 0;
    animation: draw-underline 0.6s ease forwards;
}

@keyframes draw-underline {
    to {
        opacity: 1;
    }
}

/* Wiggle animation for emojis */
@keyframes wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

.emoji-wiggle {
    display: inline-block;
    animation: wiggle 2s ease-in-out infinite;
}

.emoji-wiggle:hover {
    animation: wiggle 0.5s ease-in-out infinite;
}

/* Breathing animation for cards */
@keyframes breathe {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.breathe {
    animation: breathe 4s ease-in-out infinite;
}

/* Organic hover lift */
.organic-lift {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.organic-lift:hover {
    transform: translateY(-8px) rotate(1deg);
}

/* Handdrawn circle effect */
.hand-circle {
    position: relative;
}

.hand-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 0;
    transition: all 0.3s ease;
}

.hand-circle:hover::before {
    opacity: 0.5;
    transform: translate(-50%, -50%) rotate(5deg);
}

/* Scribble highlight effect */
.scribble-highlight {
    position: relative;
    z-index: 1;
}

.scribble-highlight::before {
    content: '';
    position: absolute;
    left: -5%;
    bottom: 0;
    width: 110%;
    height: 40%;
    background: linear-gradient(to right, transparent, rgba(255, 123, 84, 0.3), transparent);
    z-index: -1;
    transform: skewY(-2deg);
    transition: height 0.3s ease;
}

.scribble-highlight:hover::before {
    height: 60%;
}

/* Bouncy entrance */
@keyframes bouncy-entrance {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-10deg);
    }

    50% {
        transform: scale(1.05) rotate(2deg);
    }

    70% {
        transform: scale(0.95) rotate(-1deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.bouncy-enter {
    animation: bouncy-entrance 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Playful shake on hover */
@keyframes playful-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-2px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(2px);
    }
}

.shake-on-hover:hover {
    animation: playful-shake 0.5s ease;
}

/* Organic pulse */
@keyframes organic-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 123, 84, 0.4);
    }

    50% {
        box-shadow: 0 0 0 20px rgba(255, 123, 84, 0);
    }
}

.organic-pulse {
    animation: organic-pulse 2s ease-in-out infinite;
}

/* Doodle border animation */
@keyframes doodle-draw {
    0% {
        stroke-dashoffset: 1000;
    }

    100% {
        stroke-dashoffset: 0;
    }
}

.doodle-border {
    position: relative;
}

.doodle-border::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M10,10 Q50,5 100,10 T190,10 L190,190 Q150,185 100,190 T10,190 Z' stroke='%23ff7b54' stroke-width='2' fill='none' stroke-dasharray='1000' stroke-dashoffset='1000'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    opacity: 0;
    pointer-events: none;
}

.doodle-border:hover::before {
    opacity: 1;
    animation: doodle-draw 1s ease forwards;
}

/* Casual tilt on scroll */
.casual-tilt {
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.casual-tilt:nth-child(odd) {
    transform: rotate(0.5deg);
}

.casual-tilt:nth-child(even) {
    transform: rotate(-0.5deg);
}

.casual-tilt:hover {
    transform: rotate(0deg) scale(1.02);
}

/* Playful bounce */
@keyframes playful-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.bounce-playful {
    animation: playful-bounce 2s ease-in-out infinite;
}

/* Sketch line animation */
.sketch-line {
    position: relative;
    overflow: hidden;
}

.sketch-line::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    animation: sketch-draw 2s ease-in-out infinite;
}

@keyframes sketch-draw {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Human-like delay variations */
.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.4s;
}

.delay-5 {
    animation-delay: 0.5s;
}

/* Organic shadow */
.organic-shadow {
    box-shadow:
        8px 8px 0px rgba(255, 123, 84, 0.1),
        16px 16px 0px rgba(74, 155, 142, 0.05);
    transition: all 0.3s ease;
}

.organic-shadow:hover {
    box-shadow:
        12px 12px 0px rgba(255, 123, 84, 0.15),
        24px 24px 0px rgba(74, 155, 142, 0.08);
    transform: translate(-4px, -4px);
}

/* Wavy text animation */
.wavy-text span {
    display: inline-block;
    animation: wave 1.5s ease-in-out infinite;
}

.wavy-text span:nth-child(1) {
    animation-delay: 0s;
}

.wavy-text span:nth-child(2) {
    animation-delay: 0.1s;
}

.wavy-text span:nth-child(3) {
    animation-delay: 0.2s;
}

.wavy-text span:nth-child(4) {
    animation-delay: 0.3s;
}

.wavy-text span:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* Imperfect shapes (more human) */
.imperfect-circle {
    border-radius: 45% 55% 52% 48% / 48% 45% 55% 52%;
    animation: morph 8s ease-in-out infinite;
}

@keyframes morph {

    0%,
    100% {
        border-radius: 45% 55% 52% 48% / 48% 45% 55% 52%;
    }

    25% {
        border-radius: 52% 48% 45% 55% / 55% 52% 48% 45%;
    }

    50% {
        border-radius: 48% 52% 55% 45% / 45% 48% 52% 55%;
    }

    75% {
        border-radius: 55% 45% 48% 52% / 52% 55% 45% 48%;
    }
}

/* Casual rotation */
@keyframes casual-rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.slow-spin {
    animation: casual-rotate 20s linear infinite;
}

/* Friendly hover scale */
.friendly-hover {
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.friendly-hover:hover {
    transform: scale(1.05) rotate(2deg);
}

/* Add slight randomness to animations */
.random-delay-1 {
    animation-delay: 0.13s;
}

.random-delay-2 {
    animation-delay: 0.27s;
}

.random-delay-3 {
    animation-delay: 0.41s;
}

.random-delay-4 {
    animation-delay: 0.58s;
}

.random-delay-5 {
    animation-delay: 0.73s;
}

/* Organic entrance from different directions */
@keyframes slide-in-organic-1 {
    from {
        opacity: 0;
        transform: translate(-30px, -20px) rotate(-5deg);
    }

    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes slide-in-organic-2 {
    from {
        opacity: 0;
        transform: translate(30px, 20px) rotate(5deg);
    }

    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

.slide-organic-1 {
    animation: slide-in-organic-1 0.6s ease-out;
}

.slide-organic-2 {
    animation: slide-in-organic-2 0.6s ease-out;
}

/* ===================================
   NEXT LEVEL MODERN ENHANCEMENTS
   =================================== */

/* Sleek Glass Containers */
.highlight-item,
.skill-category,
.project-card,
.timeline-content,
.contact-method,
.social-link,
.contact-form,
.code-window {
    background: rgba(10, 15, 28, 0.4) !important;
    border: 1px solid rgba(0, 119, 255, 0.1) !important;
    border-radius: var(--radius-md) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.highlight-item:hover,
.skill-category:hover,
.project-card:hover,
.timeline-content:hover,
.contact-method:hover,
.social-link:hover {
    border-color: rgba(0, 119, 255, 0.3) !important;
    background: rgba(10, 15, 28, 0.6) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 119, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-5px) !important;
}

/* Premium Button Upgrades */
.btn {
    border-radius: var(--radius-xl) !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem !important;
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: var(--color-primary) !important;
    color: #000;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 30px -10px var(--color-primary) !important;
}

.btn-primary:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 15px 40px -10px var(--color-primary), var(--glow-primary) !important;
    transform: translateY(-4px) scale(1.02) !important;
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.03) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), var(--glow-secondary) !important;
}

/* Navigation Sleekness */
.nav {
    background: rgba(5, 5, 5, 0.6) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.8) !important;
}

.nav-link {
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    font-weight: 500;
}

/* Glowing text enhancements */
.gradient-text,
.logo-text,
.stat-number {
    background: var(--gradient-primary) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 0 20px rgba(0, 119, 255, 0.4);
}

/* Section Titles Typography */
.section-title {
    font-size: 3.5rem !important;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
}

.section-tag {
    background: rgba(0, 119, 255, 0.1) !important;
    border: 1px solid rgba(0, 119, 255, 0.3) !important;
    color: var(--color-primary) !important;
    border-radius: 2rem !important;
    font-family: var(--font-primary) !important;
    letter-spacing: 0.15em !important;
}

/* Image Placeholder styling (avatar) */
.image-placeholder {
    border: 1px solid rgba(0, 119, 255, 0.2) !important;
    box-shadow: inset 0 1px 0 rgba(0, 119, 255, 0.1), 0 0 50px rgba(0, 119, 255, 0.15) !important;
}

/* Base Body Adjustments */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   SCROLL PROGRESS BAR (Modern)
   =================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    width: 0%;
    z-index: 2000;
    box-shadow: 0 0 20px var(--color-primary), 0 0 40px rgba(0, 119, 255, 0.3);
    transition: width 0.1s ease;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials {
    background: var(--color-bg-secondary);
    padding: var(--spacing-3xl) 0;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 0, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: var(--gradient-glass);
    border: 1px solid rgba(0, 119, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    overflow: hidden;
}

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

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 119, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 119, 255, 0.15);
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

.stars {
    display: flex;
    gap: 0.25rem;
    font-size: 1.2rem;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--color-secondary);
    opacity: 0.5;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(0, 119, 255, 0.1);
}

.author-avatar {
    font-size: 2.5rem;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===================================
   ENHANCED FORM STYLING
   =================================== */
.contact-form {
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    padding: var(--spacing-xl);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--color-text-primary);
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 119, 255, 0.15);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0, 119, 255, 0.03);
    box-shadow: 0 0 20px rgba(0, 119, 255, 0.1), inset 0 0 10px rgba(0, 119, 255, 0.03);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    font-family: var(--font-primary);
}

/* ===================================
   ENHANCED FOOTER STYLING
   =================================== */
.footer {
    background: var(--color-bg-primary);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-2xl) 0;
    margin-top: var(--spacing-3xl);
    backdrop-filter: blur(20px);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

.footer-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: var(--spacing-xl);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #25d366;
    z-index: 1000;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.320, 1);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.6);
    animation: whatsapp-pulse 2s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(37, 211, 102, 0.25);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
    color: #fff;
}

.whatsapp-icon-wrapper {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon-wrapper svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transition: all 0.3s ease;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ===================================
   ENHANCED SKILL CARDS
   =================================== */
.skill-category {
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

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

/* ===================================
   ENHANCED PROJECT CARDS
   =================================== */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(0, 119, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

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

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.tag {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: rgba(0, 119, 255, 0.1);
    border: 1px solid rgba(0, 119, 255, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    color: var(--color-primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--color-primary);
    color: #000;
    transform: scale(1.05);
}


.timeline-achievements li {
    position: relative;
    padding-left: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.timeline-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-secondary);
    font-weight: bold;
}

/* ===================================
   CONTACT METHODS ENHANCEMENT
   =================================== */
.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(5px);
    border-color: var(--color-primary);
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.method-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.method-content a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.method-content a:hover {
    color: var(--color-secondary);
}

/* ===================================
   SOCIAL LINKS STYLING
   =================================== */
.social-links {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-glass);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.social-link svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.social-link:hover {
    transform: translateY(-5px) rotate(5deg);
    border-color: var(--color-primary);
    box-shadow: var(--glow-primary);
    background: rgba(0, 119, 255, 0.1);
}

/* ===================================
   RESPONSIVE ENHANCEMENTS
   =================================== */
@media (max-width: 1024px) {
    .testimonials-grid,
    .timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .testimonials-grid,
    .timeline {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .timeline-date {
        font-size: 0.8rem;
        padding: 0.5rem 0.9rem;
    }

    .timeline-title {
        font-size: 1.4rem;
    }

    .timeline-company {
        font-size: 0.9rem;
    }

    .timeline-achievements li {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: var(--spacing-lg);
    }

    .footer-links {
        gap: var(--spacing-md);
        flex-wrap: wrap;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .testimonials-grid,
    .timeline {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .testimonial-card {
        padding: var(--spacing-lg);
    }

    .btn {
        padding: 0.85rem 1.5rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .contact-method:hover {
        transform: none;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    .timeline-date {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    .timeline-marker {
        width: 18px;
        height: 18px;
        border-width: 2.5px;
        left: 15px;
    }

    .timeline-achievements {
        gap: 0.4rem;
    }

    .timeline-achievements li {
        font-size: 0.8rem;
        padding-left: 1.8rem;
    }

    .timeline-achievements li::before {
        width: 18px;
        height: 18px;
        font-size: 0.9rem;
    }
}