/* ============================================
   MODERN TECH PORTFOLIO - AI QA FOCUSED
   ============================================ */

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

:root {
    --primary: #00d4ff;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --dark: #0a0e27;
    --dark-2: #1a1f3a;
    --dark-3: #2a2f4a;
    --light: #ffffff;
    --gray: #64748b;
    --success: #10b981;
    --error: #ef4444;
    
    --gradient-1: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --gradient-2: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-3: linear-gradient(135deg, #10b981 0%, #00d4ff 100%);
    
    --glow: 0 0 20px rgba(0, 212, 255, 0.3);
    --glow-strong: 0 0 40px rgba(0, 212, 255, 0.5);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    background: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.grid-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particles::before,
.particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 
        100px 200px var(--primary),
        300px 100px var(--secondary),
        500px 300px var(--accent),
        700px 150px var(--primary),
        900px 250px var(--secondary),
        1100px 80px var(--accent);
    animation: particlesFloat 15s infinite ease-in-out;
}

.particles::after {
    animation-delay: -7.5s;
    box-shadow: 
        150px 300px var(--secondary),
        350px 150px var(--accent),
        550px 350px var(--primary),
        750px 200px var(--secondary),
        950px 300px var(--accent),
        1150px 120px var(--primary);
}

@keyframes particlesFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, -30px); }
}

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

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: -10s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--accent);
    top: 50%;
    right: 10%;
    animation-delay: -5s;
}

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

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    animation: logoPulse 2s infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); box-shadow: var(--glow); }
    50% { transform: scale(1.05); box-shadow: var(--glow-strong); }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

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

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

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

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

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

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

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

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

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 120px 2rem 80px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: badgeGlow 2s infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
}

.badge-icon {
    font-size: 1.2rem;
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.title-line-1 {
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlide 1s ease;
}

.title-line-2 {
    display: block;
    color: var(--light);
    animation: titleSlide 1s ease 0.2s both;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.intro-section {
    margin-bottom: 3rem;
}

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

.intro-text strong {
    color: var(--primary);
    font-weight: 600;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    flex: 1;
    padding: 1.5rem;
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s;
}

.stat-card:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--glow);
}

.stat-icon {
    font-size: 2rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-cta .btn {
    flex: 0 1 auto;
    min-width: 180px;
    justify-content: center;
    white-space: nowrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow-strong);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--light);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease;
}

.profile-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-image-wrapper {
    position: relative;
    width: 350px;
    height: 350px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary);
    position: relative;
    z-index: 2;
    animation: profileFloat 3s ease-in-out infinite;
}

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

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--gradient-1);
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.5;
    animation: glowPulse 3s infinite;
    z-index: 1;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.1); }
}

.profile-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0.3;
}

.ring-1 {
    width: 110%;
    height: 110%;
    animation: ringRotate 10s linear infinite;
}

.ring-2 {
    width: 130%;
    height: 130%;
    animation: ringRotate 15s linear infinite reverse;
}

.ring-3 {
    width: 150%;
    height: 150%;
    animation: ringRotate 20s linear infinite;
}

@keyframes ringRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.icon-1 {
    top: 10%;
    left: -10%;
    animation: iconFloat 4s ease-in-out infinite;
}

.icon-2 {
    top: 20%;
    right: -15%;
    animation: iconFloat 5s ease-in-out infinite 1s;
}

.icon-3 {
    bottom: 20%;
    left: -10%;
    animation: iconFloat 6s ease-in-out infinite 2s;
}

.icon-4 {
    bottom: 10%;
    right: -15%;
    animation: iconFloat 4.5s ease-in-out infinite 1.5s;
}

@keyframes iconFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, -20px) rotate(180deg); }
}

.code-snippet {
    position: absolute;
    bottom: 50px;
    left: 30rem;
    background: rgba(10, 14, 39, 0.9);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    animation: codeSlide 1s ease 0.5s both;
    max-width: 350px;
    z-index: 10;
}

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

.code-keyword { color: #c792ea; }
.code-class { color: #82aaff; }
.code-function { color: #7fdbca; }
.code-param { color: #f78c6c; }
.code-string { color: #c3e88d; }
.code-indent { color: transparent; }

/* ============================================
   AI SKILLS SECTION - HIGHLIGHTED
   ============================================ */

.ai-skills {
    padding: 120px 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 10px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.6); }
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.title-highlight {
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    color: var(--gray);
    font-size: 2rem;
    font-weight: 400;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto;
}

.ai-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.ai-skill-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.ai-skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

.ai-skill-card:hover::before {
    opacity: 0.1;
}

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

.ai-skill-card.featured {
    border: 2px solid var(--primary);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: var(--glow);
}

.ai-skill-card.featured::after {
    content: '⭐';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    animation: starTwinkle 2s infinite;
}

@keyframes starTwinkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.skill-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.skill-icon {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

.skill-badge {
    padding: 0.4rem 1rem;
    background: var(--gradient-1);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light);
}

.skill-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.skill-description {
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.skill-metrics {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.metric-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.metric-bar {
    height: 8px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.metric-fill {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    width: 0;
    transition: width 1s ease;
    position: relative;
}

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

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

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    transition: all 0.3s;
}

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

/* AI Process Visualization */
.ai-process {
    margin-top: 4rem;
    padding: 3rem;
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
}

.process-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.process-step {
    position: relative;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    margin: 0 auto 1rem;
    box-shadow: var(--glow);
    animation: stepPulse 2s infinite;
}

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

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.step-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

.step-connector {
    position: absolute;
    top: 30px;
    right: -50%;
    width: 100%;
    height: 2px;
    background: var(--gradient-1);
    opacity: 0.3;
}

.process-step:last-child .step-connector {
    display: none;
}

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

.experience {
    padding: 120px 2rem;
    position: relative;
    z-index: 1;
}

.experience-timeline {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.experience-timeline::before {
    content: '';
    position: absolute;
    left: 100px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
    opacity: 0.3;
}

.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-year {
    width: 100px;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.timeline-content {
    flex: 1;
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s;
}

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

.timeline-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    background: var(--gradient-1);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.timeline-content h4 {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray);
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

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

.skills {
    padding: 120px 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark) 100%);
}

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

.skill-group {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.group-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.skill-name {
    font-weight: 600;
    color: var(--light);
    min-width: 120px;
}

.skill-level {
    flex: 1;
    height: 10px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.skill-level::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: var(--gradient-1);
    border-radius: 10px;
    transition: width 1s ease;
}

.skill-level[data-level="95"]::after { width: 95%; }
.skill-level[data-level="90"]::after { width: 90%; }
.skill-level[data-level="88"]::after { width: 88%; }
.skill-level[data-level="85"]::after { width: 85%; }
.skill-level[data-level="92"]::after { width: 92%; }
.skill-level[data-level="87"]::after { width: 87%; }

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

.projects {
    padding: 120px 2rem;
    position: relative;
    z-index: 1;
}

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

.project-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-icon {
    font-size: 3rem;
}

.project-badge {
    padding: 0.4rem 1rem;
    background: var(--gradient-1);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--light);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--light);
    position: relative;
    z-index: 1;
}

.project-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.project-tech span {
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
}

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

.contact {
    padding: 120px 2rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, var(--dark) 0%, var(--dark-2) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(26, 31, 58, 0.6);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

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

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.contact-card a,
.contact-card p {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: var(--primary);
}

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

.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    color: var(--gray);
    position: relative;
    z-index: 1;
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .ai-skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

    .title-sub {
        font-size: 1.5rem;
    }

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

    .code-snippet {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 2rem;
        max-width: 100%;
    }

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

    .hero-cta .btn {
        width: 100%;
    }

    .experience-timeline::before {
        display: none;
    }

    .timeline-item {
        flex-direction: column;
    }

    .timeline-year {
        width: auto;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 1rem 60px;
    }

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

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

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

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

