/* 2025 Modern Portfolio Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    --accent-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --dark-gradient: linear-gradient(135deg, #1e1e2e 0%, #1a1a2e 50%, #16213e 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.18);
    --text-primary: #ffffff;
    --text-secondary: #b4bcd0;
    --primary-color: #667eea;
    --accent-color: #667eea;
    --secondary-accent: #764ba2;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --section-bg: rgba(30, 30, 46, 0.4);
    --card-bg: rgba(26, 26, 46, 0.6);
    --font-mono: 'JetBrains Mono', 'Courier New', monospace;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background: var(--dark-gradient);
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: difference;
    transition: transform 0.1s ease;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.3s ease;
    opacity: 0.5;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn-outline-custom {
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-custom:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-primary-custom {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Floating Download Button */
.floating-download-btn {
    position: fixed;
    top: 50%;
    right: -300px;
    transform: translateY(-50%);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
}

.floating-download-btn.show {
    right: 30px;
    opacity: 1;
}

.floating-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    animation: floatingPulse 3s ease-in-out infinite, colorShift 6s ease-in-out infinite, diamondShine 8s ease-in-out infinite;
}

@keyframes diamondShine {
    0%, 100% {
        filter: brightness(1) saturate(1);
    }
    25% {
        filter: brightness(1.3) saturate(1.4);
    }
    50% {
        filter: brightness(1.6) saturate(1.8);
    }
    75% {
        filter: brightness(1.3) saturate(1.4);
    }
}

@keyframes floatingPulse {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 12px 35px rgba(102, 126, 234, 0.5);
    }
}

@keyframes colorShift {
    0% {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
    25% {
        background: linear-gradient(135deg, #7c8bfa 0%, #8659b5 100%);
        box-shadow: 0 10px 30px rgba(124, 139, 250, 0.4);
    }
    50% {
        background: linear-gradient(135deg, #9aa7ff 0%, #a571c8 100%);
        box-shadow: 0 12px 35px rgba(154, 167, 255, 0.5);
    }
    75% {
        background: linear-gradient(135deg, #7c8bfa 0%, #8659b5 100%);
        box-shadow: 0 10px 30px rgba(124, 139, 250, 0.4);
    }
    100% {
        background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    }
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
    animation: sparkle 4s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    20% {
        left: 100%;
        opacity: 0;
    }
}

.floating-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: diamondGlow 5s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes diamondGlow {
    0% {
        opacity: 0.3;
        transform: scale(0.8) rotate(0deg);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.2) rotate(180deg);
    }
}

.floating-btn:hover::before {
    left: 100%;
}

.floating-btn:hover {
    transform: translateY(-3px) scale(1.05);
    color: white;
    text-decoration: none;
    animation-play-state: paused;
}

.floating-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    animation: iconBlink 2s ease-in-out infinite;
}

@keyframes iconBlink {
    0%, 90%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    95% {
        opacity: 0.7;
        transform: scale(0.95);
    }
}

.floating-btn:hover i {
    transform: translateY(-2px) rotate(10deg);
    animation-play-state: paused;
}

.floating-btn-text {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero-advanced {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.greeting-text {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 1;
    font-weight: 400;
    text-align: center;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-align: center;
}

.name-first, .name-last {
    display: inline-block;
    margin-right: 0.5rem;
}

.role-switcher {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    min-height: 3rem;
    position: relative;
    overflow: hidden;
}

.role {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-in-out;
}

.role.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 auto 3rem auto;
    max-width: 600px;
    line-height: 1.6;
    text-align: center;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-secondary-advanced {
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary-advanced:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    display: block;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styling */
.section-advanced {
    padding: 8rem 0;
    position: relative;
}

.dark-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    backdrop-filter: blur(10px);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header-with-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.section-header-content {
    text-align: center;
    flex: 1;
}

.section-action {
    display: flex;
    align-items: center;
}

.btn-download-resume {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--primary-gradient);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
    border: 2px solid transparent;
}

.btn-download-resume:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-download-resume i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-download-resume:hover i {
    transform: translateY(-2px);
}

.section-number {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin: 1rem 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-line {
    width: 100px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about-content {
    padding: 2rem 0;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.expertise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.expertise-item i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* 3D Tech Showcase */
.tech-showcase {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.tech-grid-3d {
    display: flex;
    gap: 2rem;
    perspective: 1000px;
}

.tech-cube {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 12s infinite linear;
    animation-delay: var(--delay);
}

@keyframes rotateCube {
    0% { transform: rotateX(0deg) rotateY(0deg); }
    100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube-face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--accent-color);
}

.cube-face.front { transform: rotateY(0deg) translateZ(50px); }
.cube-face.back { transform: rotateY(180deg) translateZ(50px); }
.cube-face.right { transform: rotateY(90deg) translateZ(50px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(50px); }
.cube-face.top { transform: rotateX(90deg) translateZ(50px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(50px); }

/* Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, 
        var(--primary-color) 0%, 
        rgba(108, 99, 255, 0.6) 50%, 
        rgba(108, 99, 255, 0.2) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
    animation: timelineGlow 3s ease-in-out infinite alternate;
}

@keyframes timelineGlow {
    0% {
        box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 30px rgba(108, 99, 255, 0.8), 0 0 60px rgba(108, 99, 255, 0.4);
    }
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    padding: 0 2rem;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.timeline-item:nth-child(even) {
    transform: translateX(0);
}

.timeline-item:nth-child(odd) {
    text-align: right;
}

.timeline-item.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    top: 2rem;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), #ff6b6b);
    border-radius: 50%;
    transform: translateX(-50%);
    border: 4px solid #0c0c0c;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
}

.timeline-dot-animate {
    animation: pulseTimeline 2s infinite;
}

@keyframes pulseTimeline {
    0% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0.7);
    }
    70% {
        transform: translateX(-50%) scale(1.1);
        box-shadow: 0 0 0 20px rgba(108, 99, 255, 0);
    }
    100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 0 0 rgba(108, 99, 255, 0);
    }
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(108, 99, 255, 0.1) 0%, 
        rgba(255, 107, 107, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 20px 40px rgba(108, 99, 255, 0.3);
}

.timeline-content:hover::before {
    opacity: 1;
}

.timeline-highlight {
    border: 2px solid rgba(108, 99, 255, 0.5);
    background: rgba(108, 99, 255, 0.1);
}

.timeline-year {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.timeline-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.company {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.animated-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.animated-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    opacity: 1;
    transform: translateX(0);
    transition: all 0.3s ease;
    z-index: 1;
    line-height: 1.5;
}

.animated-list li.aos-animate {
    opacity: 1;
    transform: translateX(0);
}

.animated-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: var(--primary-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.animated-list li:hover::before {
    transform: translateX(5px);
    color: var(--accent-color);
}

.timeline-content ul {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.timeline-content ul li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

.tech-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 1;
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.tech-tag.aos-animate {
    opacity: 1;
    transform: scale(1);
}

.tech-tag:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

/* Skills Section */
.tech-ecosystem-horizontal {
    margin-top: 3rem;
}

.tech-skills-all {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Enhanced AOS Animations */
[data-aos="scale-x"] {
    transform: scaleX(1);
    transform-origin: center;
}

[data-aos="slide-right"] {
    transform: translateX(0);
    opacity: 1;
}

[data-aos="slide-left"] {
    transform: translateX(0);
    opacity: 1;
}

/* Section Animation Enhancements */
.section-number {
    display: inline-block;
    transition: all 0.3s ease;
}

.section-number:hover {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
}

.section-line {
    transition: all 0.8s ease;
    transform-origin: center;
}

/* Skill Item Hover Effects */
.skill-item {
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    transform: translateY(-3px) scale(1.02);
}

.skill-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.3);
}

/* Enhanced Tech Category Animations */
.tech-category {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tech-category:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

/* Contact Method Hover Enhancements */
.contact-method {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-method:hover {
    transform: translateX(15px) scale(1.02);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.contact-method:hover .contact-icon {
    transform: scale(1.1) rotate(5deg);
    animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
}

.tech-ecosystem {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.tech-category {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tech-category:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.category-title i {
    color: var(--accent-color);
    font-size: 1.5rem;
}

.tech-skills {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.skill-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(1.2);
}

.skill-item span {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 80px;
}

.skill-level {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.skill-level::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--level);
    background: var(--primary-gradient);
    border-radius: 3px;
    animation: fillSkill 2s ease-out forwards;
}

@keyframes fillSkill {
    0% { width: 0; }
    100% { width: var(--level); }
}

/* Education Section */
.education-timeline {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.education-item {
    position: relative;
}

.education-card {
    display: flex;
    gap: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.education-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 0 2px 2px 0;
}

.education-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.education-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.education-content {
    flex: 1;
}

.education-year {
    font-family: var(--font-mono);
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.education-degree {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.education-institution {
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.education-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.education-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}

.highlight-item i {
    font-size: 0.8rem;
}

/* Contact Section */
.contact-info {
    padding: 2rem 0;
}

.contact-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    transform: translateX(10px);
    border-color: var(--accent-color);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: var(--accent-color);
}

/* Advanced Contact Form */
.contact-form-advanced {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    pointer-events: none;
    background: transparent;
    padding: 0 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: transparent;
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    left: 1rem;
    color: var(--accent-color);
    font-size: 0.8rem;
    background: #0c0c0c;
}

.btn-send {
    background: var(--primary-gradient);
    border: none;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.btn-send:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
}

/* Footer */
.footer-advanced {
    background: #0c0c0c;
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-text p {
    color: var(--text-secondary);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    padding: 12px;
}

.social-logo {
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    border-color: var(--accent-color);
}

.social-link:hover .social-logo {
    opacity: 1;
    transform: scale(1.1);
}

/* Platform-specific hover colors */
.social-link:nth-child(1):hover {
    background: #333;
}

.social-link:nth-child(1):hover .social-logo {
    filter: brightness(0) invert(1);
}

.social-link:nth-child(2):hover {
    background: #000;
}

.social-link:nth-child(2):hover .social-logo {
    filter: brightness(0) invert(1);
}

.social-link:nth-child(3):hover {
    background: #0077B5;
}

.social-link:nth-child(3):hover .social-logo {
    filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .tech-grid-3d {
        flex-direction: column;
        align-items: center;
    }
    
    .timeline-container::before {
        left: 2rem;
    }
    
    .timeline-item {
        text-align: left !important;
        transform: translateX(-20px);
    }
    
    .timeline-item:nth-child(even) {
        transform: translateX(-20px);
    }
    
    .timeline-item.aos-animate {
        transform: translateX(0);
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 3rem;
        margin-right: 0;
    }
    
    .timeline-dot {
        left: 2rem;
        transform: translateX(-50%);
    }
    
    .hero-stats {
        justify-content: center;
        gap: 2rem;
    }
    
    .stat {
        min-width: 120px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.5rem;
    }
    
    .stat-icon i {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-content {
        text-align: center;
        flex-direction: column;
    }
    
    .contact-form-advanced {
        padding: 2rem;
    }
    
    .tech-ecosystem {
        grid-template-columns: 1fr;
    }
    
    .tech-skills-all {
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .tech-skills {
        justify-content: center;
        gap: 1rem;
    }
    
    .skill-item {
        min-width: 80px;
        max-width: 90px;
    }
    
    .skill-item img {
        width: 40px;
        height: 40px;
    }
    
    .skill-item span {
        font-size: 0.75rem;
    }
    
    .section-header-with-action {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header-content {
        order: 1;
    }
    
    .section-action {
        order: 2;
        margin-top: 1rem;
    }
    
    .btn-download-resume {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .floating-download-btn.show {
        right: 15px;
    }
    
    .floating-btn {
        padding: 0.8rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .floating-btn-text {
        display: none;
    }
    
    .floating-btn i {
        margin: 0;
    }
    
    .education-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .education-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto 1rem auto;
    }
    
    .education-highlights {
        justify-content: center;
    }
    
    .highlight-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}
