* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors - Enhanced */
    --primary-color: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary-color: #7c3aed;
    --accent-color: #06b6d4;
    --accent-light: #22d3ee;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --border-color: #e5e7eb;
    --card-bg: #ffffff;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    --gradient-light: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
}

.dark-theme {
    /* Dark Theme Colors - Enhanced */
    --primary-color: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #06b6d4;
    --accent-light: #22d3ee;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --border-color: #475569;
    --card-bg: #1e293b;
    --shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.3);
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-accent: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    --gradient-light: linear-gradient(135deg, #334155 0%, #475569 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 120px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

/* Background Shapes */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.1;
    animation: floatShape 20s infinite linear;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent-color);
    top: 60%;
    right: 10%;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: var(--secondary-color);
    bottom: 10%;
    left: 20%;
    animation-delay: 10s;
}

.shape-4 {
    width: 150px;
    height: 150px;
    background: var(--primary-light);
    top: 20%;
    right: 20%;
    animation-delay: 15s;
}

.shape-5 {
    width: 100px;
    height: 100px;
    background: var(--accent-light);
    bottom: 30%;
    right: 30%;
    animation-delay: 20s;
}

@keyframes floatShape {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

/* Custom Cursor - Enhanced */
.cursor, .cursor-follower {
    position: fixed;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s, width 0.3s, height 0.3s, background-color 0.3s, border-color 0.3s;
}

.cursor {
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary-color);
    opacity: 0.2;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cursor-hover {
    width: 16px;
    height: 16px;
    background-color: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
}

.cursor-follower-hover {
    width: 60px;
    height: 60px;
    border-color: var(--accent-color);
    opacity: 0.1;
    transform: translate(-50%, -50%) scale(1.2);
}

/* Particles Background - Enhanced */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.1;
    animation: floatParticle 25s infinite linear;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* Navigation - Enhanced */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(var(--bg-primary), 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(var(--border-color), 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 32px;
    font-weight: 900;
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
}

.logo-text {
    position: relative;
    color: transparent;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    animation: logoShimmer 3s infinite;
}

@keyframes logoShimmer {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(45deg);
    }
}

.logo-dot {
    color: var(--accent-color);
    font-size: 40px;
    line-height: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
    transition: color 0.3s ease;
    overflow: hidden;
}

.nav-link span {
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover span,
.nav-link.active span {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-toggle:hover::before {
    opacity: 1;
}

.theme-toggle i {
    position: relative;
    z-index: 1;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.theme-toggle:hover i {
    color: white;
    transform: rotate(180deg);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Buttons - Enhanced */
.btn-primary, .btn-secondary, .btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    cursor: pointer;
    border: none;
    font-size: 16px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(79, 70, 229, 0.6);
}

.btn-secondary {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-tertiary);
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
}

/* Hero Section - Enhanced */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gradient-light);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.hero-badge span {
    font-weight: 600;
    color: var(--primary-color);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: blink 2s infinite;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1.1;
    position: relative;
}

.first-name {
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.last-name {
    color: transparent;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    position: relative;
}

.typing-container {
    height: 60px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.typing-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.typing-cursor {
    font-size: 2rem;
    color: var(--accent-color);
    animation: blink 1s infinite;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 90%;
    line-height: 1.8;
}

.highlight {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    opacity: 0.3;
    z-index: -1;
    border-radius: 2px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 50px;
}

.stat {
    display: flex;
    flex-direction: column;
    position: relative;
}

.stat::after {
    content: '';
    position: absolute;
    right: -25px;
    top: 10px;
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.stat:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.profile-image {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-hover);
    z-index: 2;
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s ease;
}

.profile-image:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.profile-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.profile-glare {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
    z-index: 2;
}

.profile-image:hover .profile-glare {
    left: 100%;
}

.image-glow {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 30px;
    opacity: 0.3;
    filter: blur(30px);
    z-index: 1;
    animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.5;
    }
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background-color: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary-color);
    box-shadow: var(--shadow);
    z-index: 3;
    animation: floatElement 6s ease-in-out infinite;
    border: 1px solid var(--border-color);
}

.floating-1 {
    top: -30px;
    right: 30px;
    animation-delay: 0s;
}

.floating-2 {
    top: 50%;
    right: -30px;
    animation-delay: 1s;
}

.floating-3 {
    bottom: 30px;
    right: 60px;
    animation-delay: 2s;
}

.floating-4 {
    bottom: -30px;
    left: 30px;
    animation-delay: 3s;
}

@keyframes floatElement {
    0%, 100% { 
        transform: translateY(0) rotate(0deg); 
    }
    33% { 
        transform: translateY(-20px) rotate(120deg); 
    }
    66% { 
        transform: translateY(20px) rotate(240deg); 
    }
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-secondary);
    font-size: 14px;
    gap: 10px;
    cursor: pointer;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
    position: relative;
    overflow: hidden;
}

.mouse::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { 
        opacity: 0; 
        transform: translate(-50%, 0); 
    }
    50% { 
        opacity: 1; 
    }
    100% { 
        opacity: 0; 
        transform: translate(-50%, 20px); 
    }
}

/* Section Header - Enhanced */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
    position: relative;
}

.section-subtitle {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: inline-block;
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.about-text p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature {
    padding: 25px;
    background: var(--gradient-light);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
}

.feature i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    width: 100%;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
}

.about-image-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-accent);
    opacity: 0.5;
    filter: blur(50px);
    animation: glowRotate 10s infinite linear;
}

@keyframes glowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Skills Section - Enhanced */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.skill-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.3s ease;
}

.skill-card:hover::before {
    height: 100%;
}

.skill-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.skill-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    transition: all 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: rotateY(180deg);
    background: var(--gradient-accent);
}

.skill-title {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.skill-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    position: relative;
}

.progress-bar {
    width: 80%;
    height: 12px;
    background-color: var(--bg-tertiary);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0;
    background: var(--gradient-primary);
    border-radius: 6px;
    opacity: 0;
    transition: width 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55), opacity 1s ease;
}

.progress-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10px center, var(--border-color) 2px, transparent 3px);
    background-size: 20px 100%;
    opacity: 0.3;
}

.progress-value {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 20px;
}

.skill-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* Projects Section - Enhanced */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid var(--border-color);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.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: opacity 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-card:hover .project-links {
    transform: translateY(0);
}

.project-link {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    transition: all 0.3s ease;
    transform: scale(0);
}

.project-card:hover .project-link {
    transform: scale(1);
}

.project-link:nth-child(1) {
    transition-delay: 0.1s;
}

.project-link:nth-child(2) {
    transition-delay: 0.2s;
}

.project-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1) !important;
}

.project-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    transform: translateX(20px);
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-badge {
    transform: translateX(0);
    opacity: 1;
}

.project-content {
    padding: 30px;
    position: relative;
    z-index: 2;
}

.project-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: var(--primary-color);
}

.project-desc {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-card:hover .tech-tag {
    background-color: var(--primary-color);
    color: white;
}

.projects-cta {
    text-align: center;
}

/* Contact Section - Enhanced */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: var(--gradient-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon {
    background: var(--gradient-primary);
    color: white;
    transform: rotateY(180deg);
}

.contact-text h4 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.contact-text p {
    color: var(--text-secondary);
    font-size: 16px;
}

.contact-social h4 {
    margin-bottom: 25px;
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link i {
    position: relative;
    z-index: 1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: white;
}

.social-link:hover::before {
    opacity: 1;
}

.contact-form .form-group {
    margin-bottom: 30px;
    position: relative;
}

.contact-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-primary);
    box-shadow: 0 5px 20px rgba(79, 70, 229, 0.1);
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.contact-form input:focus ~ .input-underline,
.contact-form textarea:focus ~ .input-underline {
    width: 100%;
}

.contact-form button {
    width: 100%;
    padding: 20px;
    font-size: 17px;
    font-weight: 700;
}

/* Footer - Enhanced */
.footer {
    background-color: var(--bg-secondary);
    padding: 100px 0 50px;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.03;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-desc {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 300px;
    line-height: 1.8;
}

.footer-links h4 {
    margin-bottom: 25px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    display: inline-block;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.footer-links a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-cta h4 {
    margin-bottom: 25px;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.footer-bottom i {
    color: #ef4444;
    margin: 0 5px;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Back to Top Button - Enhanced */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-size: 22px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 15px 40px rgba(79, 70, 229, 0.6);
}

/* Download Notification */
.download-notification {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: var(--card-bg);
    color: var(--text-primary);
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: var(--shadow-hover);
    border-left: 4px solid var(--primary-color);
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--border-color);
}

.download-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.download-notification i {
    font-size: 24px;
    color: var(--primary-color);
}

/* Responsive Styles - Enhanced */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 60px;
    }
    
    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--bg-primary);
        flex-direction: column;
        padding: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.3s ease;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin-bottom: 30px;
    }
    
    .nav-item {
        width: 100%;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .skills-container,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links a:hover {
        padding-left: 0;
    }
    
    .footer-links a:hover::before {
        display: none;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary, .btn-outline {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat::after {
        display: none;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .project-card, .skill-card {
        padding: 20px;
    }
}

/* Scrollbar Styling - Enhanced */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 3px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gradient-accent);
}

/* Selection Styling */
::selection {
    background-color: var(--primary-color);
    color: white;
}