/* ==========================================
   GLOBAL STYLES & VARIABLES
   ========================================== */

:root {
    /* Color Palette - Professional Developer Theme */
    --primary: #007ACC;
    --primary-dark: #005A9E;
    --primary-light: #3399CC;
    --secondary: #4EC9B0;
    --accent: #C586C0;
    --success: #4EC9B0;
    
    /* Gradients - Subtle Professional */
    --gradient-primary: linear-gradient(135deg, #007ACC 0%, #4EC9B0 100%);
    --gradient-secondary: linear-gradient(135deg, #C586C0 0%, #007ACC 100%);
    --gradient-tertiary: linear-gradient(135deg, #4EC9B0 0%, #007ACC 100%);
    --gradient-warm: linear-gradient(135deg, #C586C0 0%, #DCDCAA 100%);
    --gradient-cool: linear-gradient(135deg, #007ACC 0%, #252526 100%);
    
    /* Dark Theme Colors - Enhanced Contrast */
    --bg-primary: #1E1E1E;
    --bg-secondary: #252526;
    --bg-tertiary: #2D2D30;
    --text-primary: #D4D4D4;
    --text-secondary: #9CDCFE;
    --text-muted: #858585;
    
    /* Glassmorphism - Professional */
    --glass-bg: rgba(45, 45, 48, 0.85);
    --glass-border: rgba(78, 201, 176, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.4);
    
    /* Glow Effects */
    --glow-primary: 0 0 20px rgba(108, 99, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(0, 217, 255, 0.5);
    --glow-accent: 0 0 20px rgba(255, 107, 157, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* ==========================================
   PARTICLE BACKGROUND
   ========================================== */

#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    background: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(78, 201, 176, 0.15);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(30, 30, 30, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Fira Code', monospace;
}

.logo-bracket {
    color: var(--primary);
}

.logo-text {
    color: var(--text-primary);
    margin: 0 0.25rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
    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-normal);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 8rem 2rem 4rem;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

.hero-greeting {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-name {
    font-size: 4.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    font-family: 'Fira Code', monospace;
    min-height: 3rem;
}

.typing-text {
    font-weight: 600;
}

.cursor {
    animation: blink 1s infinite;
    color: var(--primary);
}

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

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    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: white;
    box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 122, 204, 0.4);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 2px solid rgba(78, 201, 176, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(45, 45, 48, 0.95);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    font-size: 1.2rem;
}

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

/* Hero Image Section */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease;
}

.image-container {
    position: relative;
    width: 450px;
    height: 450px;
}

.glowing-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.3;
    filter: blur(40px);
    animation: pulse 3s infinite;
}

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

.profile-img {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    z-index: 1;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.floating-tech {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    font-size: 1.5rem;
    color: var(--primary);
    box-shadow: var(--shadow-lg);
    animation: float 3s infinite ease-in-out;
}

.tech-1 { top: 10%; left: 5%; animation-delay: 0s; }
.tech-2 { top: 15%; right: 0; animation-delay: 0.5s; }
.tech-3 { bottom: 25%; left: -5%; animation-delay: 1s; }
.tech-4 { bottom: 20%; right: 5%; animation-delay: 1.5s; }
.tech-5 { top: 45%; left: -10%; animation-delay: 2s; }
.tech-6 { top: 50%; right: -10%; animation-delay: 2.5s; }

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

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* ==========================================
   COMMON SECTION STYLES
   ========================================== */

section {
    padding: 6rem 2rem;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'Fira Code', monospace;
}

.title-number {
    color: var(--primary);
    font-size: 1.5rem;
}

.title-line {
    flex: 1;
    height: 1px;
    background: var(--glass-border);
    max-width: 300px;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-text .highlight {
    font-size: 1.3rem;
    color: var(--text-primary);
    font-weight: 600;
    position: relative;
    padding-left: 1.5rem;
}

.about-text .highlight::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
}

.frame-border {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
    animation: rotate 10s linear infinite;
}

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

.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================
   EXPERIENCE SECTION
   ========================================== */

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--glass-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    padding-left: 3rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

.timeline-marker {
    position: absolute;
    left: -1.75rem;
    top: 0;
    width: 16px;
    height: 16px;
    background: var(--primary);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
}

.timeline-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.timeline-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--primary);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.timeline-period {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.timeline-company i {
    margin-right: 0.5rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.timeline-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
}

.timeline-highlights li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
}

.timeline-highlights li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.timeline-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    padding: 0.4rem 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

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

/* ==========================================
   SKILLS SECTION
   ========================================== */

.skills {
    background: var(--bg-secondary);
}

.skills-content {
    display: grid;
    gap: 3rem;
}

.skills-category {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

.category-header i {
    font-size: 2rem;
    color: var(--primary);
}

.category-header h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

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

.skill-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.skill-card h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.skill-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    width: 0;
    transition: width 1s ease;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */

.projects {
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(ellipse at top, rgba(108, 99, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.projects-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.projects-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Project Filters */
.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 4rem;
}

.filter-btn {
    padding: 0.8rem 1.8rem;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--gradient-primary);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-primary);
}

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

.filter-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--glow-primary);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.project-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(20px);
    transition: all var(--transition-slow);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease forwards;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: 0;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(0, 122, 204, 0.25);
}

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

.project-card.highlight-card {
    background: linear-gradient(135deg, rgba(0, 122, 204, 0.08) 0%, rgba(78, 201, 176, 0.08) 100%);
    border: 2px solid var(--primary);
}

/* Project Image */
.project-image {
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-card:nth-child(4) .project-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.project-card:nth-child(5) .project-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.project-card:nth-child(6) .project-image {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.project-card:nth-child(7) .project-image {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.project-card:nth-child(8) .project-image {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
}

.project-card:nth-child(9) .project-image {
    background: linear-gradient(135deg, #fbc2eb 0%, #a6c1ee 100%);
}

.project-card:nth-child(10) .project-image {
    background: linear-gradient(135deg, #fdcbf1 0%, #e6dee9 100%);
}

.project-card:nth-child(11) .project-image {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.project-card:nth-child(12) .project-image {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.project-card:hover .project-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.project-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: all var(--transition-normal);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.project-card:hover .project-icon {
    transform: scale(1.2) rotate(360deg);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Project Content */
.project-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

.project-header {
    margin-bottom: 1rem;
}

.project-header h3 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    line-height: 1.3;
}

.project-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Project Tech Tags */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.tech-badge {
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.tech-badge:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: var(--glow-primary);
}

/* Project Stats */
.project-stats {
    display: flex;
    gap: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
}

.project-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
}

.project-stats .stat i {
    color: var(--primary);
}

/* Project Summary */
.project-summary {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
}

.project-summary h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.expertise-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

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

.expertise-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    transition: all var(--transition-normal);
}

.expertise-item:hover .expertise-icon {
    transform: rotateY(360deg);
    box-shadow: var(--glow-primary);
}

.expertise-item h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.expertise-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================
   FREELANCE SECTION
   ========================================== */

.freelance-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.freelance-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.freelance-platforms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.platform-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    backdrop-filter: blur(20px);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.fiverr-card {
    border-color: #1dbf73;
}

.fiverr-card::before {
    background: linear-gradient(135deg, #1dbf73 0%, #00b22d 100%);
}

.upwork-card {
    border-color: #14a800;
}

.upwork-card::before {
    background: linear-gradient(135deg, #14a800 0%, #0f7a00 100%);
}

.platform-header {
    text-align: center;
    margin-bottom: 2rem;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    box-shadow: var(--glow-primary);
}

.platform-header h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.platform-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.platform-stats {
    text-align: center;
    margin-bottom: 2rem;
}

.stat-large {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.stat-plus {
    color: var(--primary);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.platform-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
}

.stars {
    display: flex;
    gap: 0.3rem;
    font-size: 1.5rem;
    color: #ffc107;
}

.rating-text {
    color: var(--text-secondary);
    font-weight: 600;
}

.success-badge {
    text-align: center;
}

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

.success-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.platform-achievements {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

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

.achievement i {
    color: var(--success);
    font-size: 1.2rem;
}

.project-highlights {
    margin-top: 4rem;
}

.highlights-title {
    text-align: center;
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

.highlight-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
}

.highlight-card h4 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    background: var(--bg-secondary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
}

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

.method-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.method-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.method-info a {
    color: var(--secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.freelance-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.freelance-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-normal);
    border: 2px solid transparent;
}

.fiverr-btn {
    background: linear-gradient(135deg, #1dbf73 0%, #00b22d 100%);
    color: white;
}

.fiverr-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(29, 191, 115, 0.5);
}

.upwork-btn {
    background: linear-gradient(135deg, #14a800 0%, #0f7a00 100%);
    color: white;
}

.upwork-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 0 30px rgba(20, 168, 0, 0.5);
}

/* Contact Form */
.contact-form-container {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    backdrop-filter: blur(20px);
}

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

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all var(--transition-normal);
}

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

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all var(--transition-normal);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -0.7rem;
    left: 0.8rem;
    font-size: 0.85rem;
    color: var(--primary);
    background: var(--bg-tertiary);
    padding: 0 0.5rem;
}

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

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    padding: 3rem 2rem;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.footer-text p {
    margin-bottom: 0.3rem;
}

.copyright {
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.footer-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--glow-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: 1200px) {
    .hero-name {
        font-size: 3.5rem;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .image-container {
        width: 400px;
        height: 400px;
    }
    
    .profile-img {
        width: 350px;
        height: 350px;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        max-width: 300px;
        padding: 2rem;
        border-left: 1px solid var(--glass-border);
        transition: right var(--transition-normal);
        height: calc(100vh - 80px);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 2rem;
    }
    
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-social {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .freelance-platforms {
        grid-template-columns: 1fr;
    }
    
    .image-container {
        width: 350px;
        height: 350px;
    }
    
    .profile-img {
        width: 300px;
        height: 300px;
    }
    
    .floating-tech {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    /* Projects Responsive */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-filters {
        gap: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.85rem;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 1rem;
    }
    
    .section-title {
        font-size: 2rem;
        flex-wrap: wrap;
    }
    
    .hero {
        padding: 6rem 1rem 4rem;
    }
    
    .hero-name {
        font-size: 2.5rem;
    }
    
    .hero-title {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .image-container {
        width: 300px;
        height: 300px;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
    
    .floating-tech {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .freelance-platforms {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .platform-card {
        min-width: auto;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

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

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
}

.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ==========================================
   ADVANCED SECTION-SPECIFIC ANIMATIONS
   ========================================== */

/* Matrix Rain Effect for Hero - Subtle */
.matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
}

/* 3D Card Flip Animation for Projects */
.project-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    animation: cardFloat 0.6s ease-out;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(-15px) rotateX(0deg); }
    50% { transform: translateY(-20px) rotateX(5deg); }
}

/* Magnetic Hover Effect */
.project-card.magnetic {
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.320, 1);
}

/* Liquid Fill Animation for Skills */
@keyframes liquidFill {
    0% {
        width: 0;
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.skill-progress {
    background: linear-gradient(90deg, 
        var(--primary) 0%, 
        var(--secondary) 50%, 
        var(--primary) 100%);
    background-size: 200% 100%;
    animation: liquidFill 2s ease-in-out;
}

/* Circular Progress for Stats */
.stat-item {
    position: relative;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: conic-gradient(
        var(--primary) 0deg,
        var(--secondary) 180deg,
        transparent 180deg
    );
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.stat-item:hover::before {
    opacity: 0.3;
    animation: rotate 3s linear infinite;
}

/* Timeline Pulse Animation */
.timeline::before {
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--primary) 50%, 
        transparent 100%);
    background-size: 100% 200%;
    animation: timelinePulse 3s ease-in-out infinite;
}

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

.timeline-marker::after {
    animation: markerPulse 2s ease-in-out infinite;
}

@keyframes markerPulse {
    0%, 100% {
        width: 30px;
        height: 30px;
        opacity: 0.3;
    }
    50% {
        width: 50px;
        height: 50px;
        opacity: 0.1;
    }
}

/* Subtle Highlight for Freelance Cards */
.platform-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--secondary);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

/* Trophy Burst Animation */
@keyframes trophyBurst {
    0% {
        transform: scale(0.95);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.platform-icon {
    animation: trophyBurst 0.5s ease-out forwards;
}

/* Ripple Effect for Contact Form */
.form-group {
    position: relative;
    overflow: hidden;
}

.form-group::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s, opacity 0.6s;
}

.form-group:focus-within::before {
    width: 300px;
    height: 300px;
    opacity: 0.1;
}

/* Glitch Effect for Hero Name */
@keyframes glitch {
    0% {
        text-shadow: 
            -2px 0 var(--accent),
            2px 0 var(--secondary);
        transform: translate(0);
    }
    20% {
        text-shadow: 
            2px 0 var(--accent),
            -2px 0 var(--secondary);
        transform: translate(-2px, 2px);
    }
    40% {
        text-shadow: 
            -2px 0 var(--secondary),
            2px 0 var(--accent);
        transform: translate(2px, -2px);
    }
    60% {
        text-shadow: 
            2px 0 var(--accent),
            -2px 0 var(--secondary);
        transform: translate(-2px, 2px);
    }
    80% {
        text-shadow: 
            -2px 0 var(--secondary),
            2px 0 var(--accent);
        transform: translate(2px, -2px);
    }
    100% {
        text-shadow: 
            -2px 0 var(--accent),
            2px 0 var(--secondary);
        transform: translate(0);
    }
}

.hero-name:hover {
    color: var(--secondary);
    transition: color 0.3s ease;
}

/* Floating Tech Icons Advanced Animation */
@keyframes floatAdvanced {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-25px) rotate(3deg);
    }
}

.floating-tech {
    animation: floatAdvanced 4s ease-in-out infinite;
}

.floating-tech:hover {
    animation: none;
    transform: scale(1.3) rotate(360deg);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Neon Glow Pulse */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 
            0 0 10px rgba(0, 122, 204, 0.3),
            0 0 20px rgba(0, 122, 204, 0.2);
    }
    50% {
        box-shadow: 
            0 0 15px rgba(0, 122, 204, 0.4),
            0 0 30px rgba(0, 122, 204, 0.3);
    }
}

.btn-primary:hover {
    box-shadow: 0 8px 24px rgba(0, 122, 204, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Data Stream Effect for Experience Timeline */
@keyframes dataStream {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        var(--primary) 50%, 
        transparent 100%);
    animation: dataStream 3s linear infinite;
}

/* Holographic Effect for Skills Cards */
@keyframes holographic {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.skill-card:hover {
    background: linear-gradient(
        135deg,
        rgba(0, 122, 204, 0.05) 0%,
        rgba(78, 201, 176, 0.05) 50%,
        rgba(197, 134, 192, 0.05) 100%
    );
    border-color: var(--primary);
    transition: all 0.3s ease;
}

/* Typewriter Effect Enhancement */
@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    border-right: 3px solid var(--primary);
    white-space: nowrap;
    animation: typewriter 2s steps(40) 1s infinite alternate,
               blink 1s step-end infinite;
}

/* Particle Burst on Click */
@keyframes particleBurst {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}

/* Smooth Section Reveal - Subtle */
@keyframes sectionReveal {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: sectionReveal 0.4s ease-out;
}

/* Morphing Background */
@keyframes morphBackground {
    0%, 100% {
        border-radius: var(--radius-lg);
    }
    50% {
        border-radius: 50px;
    }
}

.project-card:hover .project-image {
    animation: morphBackground 2s ease-in-out infinite;
}

/* Text Shimmer Effect */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.section-title:hover {
    background: linear-gradient(
        90deg,
        var(--text-primary) 0%,
        var(--primary) 50%,
        var(--text-primary) 100%
    );
    background-size: 1000px 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 2s linear infinite;
}

/* Magnetic Button Effect */
.btn {
    position: relative;
    overflow: hidden;
}

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

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* Floating Particle Animation */
@keyframes floatParticle {
    0% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50px) scale(0);
        opacity: 0;
    }
}

/* ==========================================
   PRINT STYLES
   ========================================== */

@media print {
    #particles,
    .navbar,
    .scroll-indicator,
    .back-to-top,
    .hero-social,
    .contact-form-container {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    section {
        page-break-inside: avoid;
    }
}