/* Reset and Base Styles */
* {
  margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background: #000;
  overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 255, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo .logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00ff00;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #00ff00;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
  height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#matrix-canvas {
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    z-index: -1;
}

.hero-container {
    text-align: center;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00ff00, #00cc00, #009900);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 20px rgba(0, 255, 0, 0.3)); }
    to { filter: drop-shadow(0 0 30px rgba(0, 255, 0, 0.6)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #00cc00;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
  display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #00ff00;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    color: #000;
    box-shadow: 0 4px 20px rgba(0, 255, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 255, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00ff00;
    border-color: #00ff00;
}

.btn-secondary:hover {
    background: #00ff00;
    color: #000;
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: #00ff00;
    border-color: #00ff00;
}

.btn-outline:hover {
    background: rgba(0, 255, 0, 0.1);
    transform: translateY(-2px);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid #00ff00;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #888;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: linear-gradient(135deg, rgba(0, 20, 0, 0.5), rgba(0, 40, 0, 0.3));
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
  top: 0;
  left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.whoami-container, .story-container {
    margin-bottom: 3rem;
}

.whoami-container h3, .story-container h3 {
    font-size: 1.5rem;
    color: #00ff00;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-block {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    overflow-x: auto;
}

.json-display {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
  white-space: pre-wrap;
}

.story-text {
    background: rgba(0, 0, 0, 0.5);
    border-left: 4px solid #00ff00;
    padding: 1.5rem;
    border-radius: 0 10px 10px 0;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.skill-category h4 {
    color: #00ff00;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: rgba(0, 255, 0, 0.1);
    color: #00cc00;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: scale(1.05);
}

/* Experience Section */
.experience {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(0, 30, 0, 0.9)),
        radial-gradient(circle at 30% 40%, rgba(0, 255, 0, 0.08) 0%, transparent 70%),
        radial-gradient(circle at 70% 80%, rgba(0, 255, 0, 0.05) 0%, transparent 60%);
    position: relative;
    padding: 120px 0;
  overflow: hidden;
}

.experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 49%, rgba(0, 255, 0, 0.02) 50%, transparent 51%),
        linear-gradient(-45deg, transparent 49%, rgba(0, 255, 0, 0.02) 50%, transparent 51%);
    background-size: 60px 60px;
    pointer-events: none;
    animation: backgroundMove 20s linear infinite;
}

@keyframes backgroundMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* Career Stats */
.career-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    perspective: 1000px;
}

.career-stat {
  display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem 2.5rem;
    background: 
        linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(0, 20, 0, 0.6)),
        linear-gradient(45deg, rgba(0, 255, 0, 0.05), transparent);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 20px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

.career-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.3), rgba(0, 204, 0, 0.1));
    border-radius: 18px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.career-stat:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 20px 40px rgba(0, 255, 0, 0.2),
        0 0 30px rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.5);
}

.career-stat:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: 
        linear-gradient(135deg, #00ff00, #00cc00),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 50%;
    display: flex;
    align-items: center;
  justify-content: center;
    color: #000;
    font-size: 1.4rem;
    position: relative;
    box-shadow: 
        0 8px 20px rgba(0, 255, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-icon::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
}

.career-stat:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 
        0 12px 30px rgba(0, 255, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #00ff00;
}

.stat-label {
    font-size: 0.9rem;
    color: #888;
}

/* Current Role Highlight */
.current-role-highlight {
    margin: 6rem 0;
    perspective: 1000px;
}

.role-card {
    background: 
        linear-gradient(145deg, rgba(0, 0, 0, 0.95), rgba(0, 50, 0, 0.4)),
        radial-gradient(circle at 20% 80%, rgba(0, 255, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.05) 0%, transparent 50%);
    border: 3px solid transparent;
    border-radius: 30px;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    box-shadow: 
        0 25px 50px rgba(0, 255, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #00ff00, #00cc00, #009900, #00ff00);
    background-size: 200% 100%;
    animation: gradientMove 3s ease-in-out infinite;
}

.role-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ff00, transparent, #00cc00, transparent, #00ff00);
    border-radius: 32px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.role-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 
        0 40px 80px rgba(0, 255, 0, 0.2),
        0 0 50px rgba(0, 255, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.role-card:hover::after {
    opacity: 1;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.role-badge {
    background: 
        linear-gradient(135deg, #00ff00, #00cc00),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent);
    color: #000;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 2.5rem;
    position: relative;
    box-shadow: 
        0 8px 25px rgba(0, 255, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    animation: badgePulse 3s ease-in-out infinite;
}

.role-badge::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 
            0 8px 25px rgba(0, 255, 0, 0.4),
            inset 0 2px 4px rgba(255, 255, 255, 0.3);
    }
    50% { 
        box-shadow: 
            0 12px 35px rgba(0, 255, 0, 0.6),
            inset 0 2px 4px rgba(255, 255, 255, 0.4);
    }
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.role-title {
    font-size: 2.5rem;
    color: #00ff00;
    font-weight: 700;
    margin-bottom: 1rem;
}

.company-name {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
  display: flex;
    align-items: center;
    gap: 0.8rem;
}

.company-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.location, .period {
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.company-logo {
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    padding: 1rem;
    display: flex;
    align-items: center;
  justify-content: center;
    transition: all 0.3s ease;
}

.company-logo:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.05);
}

.company-logo-img {
    max-height: 60px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.logo-placeholder {
    font-size: 1.5rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 2px;
}

/* Timeline Company Logos */
.company-logo-small {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    width: fit-content;
    max-width: 90px;
}

.company-logo-small:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    animation: float 2s ease-in-out infinite;
}

.timeline-logo {
    max-height: 28px;
    max-width: 65px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Automly Logo Container Black Background */
.company-logo-small:has(.timeline-logo[src*="automly-logo"]) {
    background-color: #000;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #333;
}

/* Remove individual logo background when container has black background */
.company-logo-small:has(.timeline-logo[src*="automly-logo"]) .timeline-logo {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
}

/* UpWork Badge */
.upwork-badge-img {
    max-height: 80px;
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.role-description h4 {
    color: #00cc00;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.role-description p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.key-achievements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #ccc;
    font-size: 1rem;
}

.achievement-item i {
    color: #00ff00;
    font-size: 1.2rem;
    width: 20px;
}

.role-technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tech-badge {
    background: rgba(0, 255, 0, 0.1);
    color: #00ff00;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 255, 0, 0.3);
    font-weight: 600;
    transition: all 0.3s ease;
}

.tech-badge:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: scale(1.05);
}

.tech-badge.primary {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 204, 0, 0.1));
    border-color: rgba(0, 255, 0, 0.5);
}

/* Timeline Styling */
.experience-timeline {
    margin: 8rem 0;
    position: relative;
    padding: 0 2rem;
}

.timeline-title {
    text-align: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #00ff00, #00cc00, #009900);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    animation: titleSlideIn 1.2s ease-out;
}

@keyframes titleSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    border-radius: 2px;
    animation: underlineExpand 1.5s ease-out 0.5s both;
}

@keyframes underlineExpand {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 4rem;
    overflow: hidden;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 100%;
    background: 
        linear-gradient(to bottom, 
            #00ff00 0%, 
            #00cc00 25%, 
            #009900 50%, 
            #00cc00 75%, 
            #00ff00 100%);
    border-radius: 6px;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.6),
        inset 0 0 10px rgba(0, 255, 0, 0.3);
    animation: timelinePulse 4s ease-in-out infinite, timelineFlow 8s linear infinite;
}

@keyframes timelinePulse {
    0%, 100% { 
        box-shadow: 
            0 0 20px rgba(0, 255, 0, 0.6),
            inset 0 0 10px rgba(0, 255, 0, 0.3);
    }
    50% { 
        box-shadow: 
            0 0 30px rgba(0, 255, 0, 0.8),
            inset 0 0 15px rgba(0, 255, 0, 0.5);
    }
}

@keyframes timelineFlow {
    0% {
        background: 
            linear-gradient(to bottom, 
                #00ff00 0%, 
                #00cc00 25%, 
                #009900 50%, 
                #00cc00 75%, 
                #00ff00 100%);
    }
    25% {
        background: 
            linear-gradient(to bottom, 
                #00cc00 0%, 
                #009900 25%, 
                #00ff00 50%, 
                #00cc00 75%, 
                #009900 100%);
    }
    50% {
        background: 
            linear-gradient(to bottom, 
                #009900 0%, 
                #00ff00 25%, 
                #00cc00 50%, 
                #009900 75%, 
                #00ff00 100%);
    }
    75% {
        background: 
            linear-gradient(to bottom, 
                #00ff00 0%, 
                #00cc00 25%, 
                #009900 50%, 
                #00ff00 75%, 
                #00cc00 100%);
    }
    100% {
        background: 
            linear-gradient(to bottom, 
                #00ff00 0%, 
                #00cc00 25%, 
                #009900 50%, 
                #00cc00 75%, 
                #00ff00 100%);
    }
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    opacity: 0;
    visibility: visible;
    perspective: 1200px;
    animation: timelineItemFadeIn 0.8s ease-out forwards;
}

.timeline-item:nth-child(1) {
    animation-delay: 0.2s;
}

.timeline-item:nth-child(2) {
    animation-delay: 0.4s;
}

.timeline-item:nth-child(3) {
    animation-delay: 0.6s;
}

.timeline-item:nth-child(4) {
    animation-delay: 0.8s;
}

@keyframes timelineItemFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:nth-child(odd) {
    /* Remove text-align: right to fix text direction */
}

.timeline-item:nth-child(odd) .timeline-card {
    margin-right: 52%;
    margin-left: 0;
    transform-origin: right center;
    max-width: 400px;
}

.timeline-item:nth-child(odd) .timeline-card:hover {
    transform: translateY(-15px) scale(1.03);
    animation: cardGlowLeft 0.3s ease-out;
}

.timeline-item:nth-child(even) .timeline-card {
    margin-left: 58%;
    margin-right: 0;
    transform-origin: left center;
    max-width: 400px;
}

.timeline-item:nth-child(even) .timeline-card:hover {
    transform: translateY(-15px) scale(1.03);
    animation: cardGlowRight 0.3s ease-out;
}

@keyframes cardGlowLeft {
    0% {
        transform: translateY(-12px) scale(1.02) rotateY(0deg);
    }
    50% {
        transform: translateY(-18px) scale(1.05) rotateY(-5deg);
    }
    100% {
        transform: translateY(-15px) scale(1.03) rotateY(-3deg);
    }
}

@keyframes cardGlowRight {
    0% {
        transform: translateY(-12px) scale(1.02) rotateY(0deg);
    }
    50% {
        transform: translateY(-18px) scale(1.05) rotateY(5deg);
    }
    100% {
        transform: translateY(-15px) scale(1.03) rotateY(3deg);
    }
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: 
        radial-gradient(circle at 30% 30%, #00ff00, #00cc00),
        linear-gradient(45deg, rgba(255, 255, 255, 0.2), transparent);
    border: 6px solid #000;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 
        0 0 30px rgba(0, 255, 0, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: markerPulse 4s ease-in-out infinite;
}

.timeline-item:hover .timeline-marker {
    transform: translate(-50%, -50%) scale(1.4) rotate(90deg);
    box-shadow: 
        0 0 60px rgba(0, 255, 0, 1),
        0 0 120px rgba(0, 255, 0, 0.6),
        0 0 180px rgba(0, 255, 0, 0.3),
        inset 0 3px 6px rgba(255, 255, 255, 0.6);
    animation: markerHoverSpin 0.6s ease-in-out;
}

@keyframes markerHoverSpin {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.6) rotate(180deg);
    }
    100% {
        transform: translate(-50%, -50%) scale(1.4) rotate(360deg);
    }
}

.timeline-marker::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes markerPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 
            0 0 30px rgba(0, 255, 0, 0.8),
            0 0 60px rgba(0, 255, 0, 0.4),
            inset 0 2px 4px rgba(255, 255, 255, 0.3);
    }
    25% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 
            0 0 35px rgba(0, 255, 0, 0.9),
            0 0 70px rgba(0, 255, 0, 0.5),
            inset 0 2px 4px rgba(255, 255, 255, 0.4);
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.25);
        box-shadow: 
            0 0 50px rgba(0, 255, 0, 1),
            0 0 100px rgba(0, 255, 0, 0.6),
            0 0 150px rgba(0, 255, 0, 0.3),
            inset 0 2px 4px rgba(255, 255, 255, 0.5);
    }
    75% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 
            0 0 35px rgba(0, 255, 0, 0.9),
            0 0 70px rgba(0, 255, 0, 0.5),
            inset 0 2px 4px rgba(255, 255, 255, 0.4);
    }
}

@keyframes pulse-glow {
    0% {
        box-shadow: 
            0 0 20px rgba(0, 255, 0, 0.3),
            0 0 40px rgba(0, 255, 0, 0.2),
            0 0 60px rgba(0, 255, 0, 0.1);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(0, 255, 0, 0.6),
            0 0 60px rgba(0, 255, 0, 0.4),
            0 0 90px rgba(0, 255, 0, 0.2);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.timeline-card {
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(0, 20, 0, 0.9)),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 0, 0.03) 0%, transparent 50%);
    border: 1px solid rgba(0, 255, 0, 0.25);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        0 2px 10px rgba(0, 255, 0, 0.1);
    overflow: hidden;
    backdrop-filter: blur(5px);
    max-width: 480px;
    min-height: auto;
    text-align: left;
}

/* Force all timeline card content to be left-aligned */
.timeline-card *,
.timeline-card .job-info,
.timeline-card .job-description,
.timeline-card .job-highlights,
.timeline-card .tech-stack {
    text-align: left !important;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.05), transparent, rgba(0, 255, 0, 0.02));
    border-radius: 18px;
    opacity: 0;
    transition: all 0.3s ease;
}

.timeline-card::after {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.3), transparent, rgba(0, 204, 0, 0.2), transparent);
    border-radius: 21px;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-15px) scale(1.03);
    border-color: rgba(0, 255, 0, 0.8);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 15px 35px rgba(0, 255, 0, 0.5),
        0 0 30px rgba(0, 255, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.15);
    animation: cardGlow 0.3s ease-out;
}

@keyframes cardGlow {
    0% {
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.4),
            0 2px 10px rgba(0, 255, 0, 0.1);
    }
    50% {
        box-shadow: 
            0 30px 60px rgba(0, 0, 0, 0.7),
            0 20px 40px rgba(0, 255, 0, 0.6),
            0 0 40px rgba(0, 255, 0, 0.5);
    }
    100% {
        box-shadow: 
            0 25px 50px rgba(0, 0, 0, 0.6),
            0 15px 35px rgba(0, 255, 0, 0.5),
            0 0 30px rgba(0, 255, 0, 0.4);
    }
}

/* Removed problematic background effects */

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.8rem;
    gap: 1rem;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    flex-shrink: 0;
}

.job-info h4 {
    background: linear-gradient(135deg, #00ff00, #00cc00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.company-line {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.company {
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
}

.location {
    color: #999;
    font-size: 0.9rem;
}

.duration {
    color: #00cc00;
    font-weight: 500;
    font-size: 0.9rem;
}

.industry-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.industry-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.industry-badge:hover::before {
    left: 100%;
}

.industry-badge.healthcare {
    background: 
        linear-gradient(135deg, rgba(52, 152, 219, 0.3), rgba(41, 128, 185, 0.2)),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent);
    color: #5dade2;
    border: 2px solid rgba(52, 152, 219, 0.4);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.2);
}

.industry-badge.legal {
    background: 
        linear-gradient(135deg, rgba(155, 89, 182, 0.3), rgba(142, 68, 173, 0.2)),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent);
    color: #bb8fce;
    border: 2px solid rgba(155, 89, 182, 0.4);
    box-shadow: 0 8px 20px rgba(155, 89, 182, 0.2);
}

.industry-badge.ai {
    background: 
        linear-gradient(135deg, rgba(231, 76, 60, 0.3), rgba(192, 57, 43, 0.2)),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent);
    color: #ec7063;
    border: 2px solid rgba(231, 76, 60, 0.4);
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.2);
}

.industry-badge.telecom {
    background: 
        linear-gradient(135deg, rgba(156, 39, 176, 0.3), rgba(142, 36, 170, 0.2)),
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.1), transparent);
    color: #af7ac5;
    border: 2px solid rgba(156, 39, 176, 0.4);
    box-shadow: 0 8px 20px rgba(156, 39, 176, 0.2);
}

.industry-badge:hover {
    transform: translateY(-2px) scale(1.05);
}

.industry-badge.healthcare:hover {
    box-shadow: 0 12px 30px rgba(52, 152, 219, 0.3);
}

.industry-badge.legal:hover {
    box-shadow: 0 12px 30px rgba(155, 89, 182, 0.3);
}

.industry-badge.ai:hover {
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.3);
}

.industry-badge.telecom:hover {
    box-shadow: 0 12px 30px rgba(156, 39, 176, 0.3);
}

.job-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.3rem;
    font-size: 0.95rem;
}

.job-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.2rem;
}

.highlight {
    color: #00ff00;
    font-size: 0.85rem;
    font-weight: 500;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech {
    background: rgba(0, 255, 0, 0.1);
    color: #00cc00;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

/* Freelancing Showcase */
.freelancing-showcase {
    margin: 6rem 0;
}

.showcase-header {
    text-align: center;
    margin-bottom: 3rem;
}

.showcase-header h3 {
    font-size: 2.2rem;
    color: #00ff00;
    margin-bottom: 1rem;
    font-weight: 700;
}

.showcase-header p {
    color: #ccc;
    font-size: 1.1rem;
}

.freelance-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(247, 147, 30, 0.03));
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 25px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.freelance-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #f7931e);
}

.freelance-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3rem;
}

.freelance-header h4 {
    font-size: 1.8rem;
    color: #ff6b35;
    margin-bottom: 1rem;
    font-weight: 700;
}

.platform-details {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.platform, .status, .period {
    color: #ccc;
    font-size: 1rem;
}

.status {
    color: #f7931e;
    font-weight: 600;
}

.upwork-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.upwork-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

.freelance-metrics {
    margin-bottom: 3rem;
}

.metric-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    transition: all 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 15px 35px rgba(255, 107, 53, 0.1);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b35;
    display: block;
}

.metric-label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}

.metric-subtitle {
    color: #888;
    font-size: 0.9rem;
}

.freelance-specialties h5 {
    color: #ff6b35;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 600;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.specialty-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.specialty-item:hover {
    border-color: rgba(255, 107, 53, 0.4);
    background: rgba(255, 107, 53, 0.05);
}

.specialty-item i {
    color: #ff6b35;
    font-size: 1.2rem;
}

.specialty-item span {
    color: #ccc;
    font-weight: 500;
}

/* Projects Section */
.projects {
    background: linear-gradient(135deg, rgba(0, 20, 0, 0.3), rgba(0, 40, 0, 0.5));
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    visibility: visible;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 0, 0.4);
    box-shadow: 0 20px 40px rgba(0, 255, 0, 0.1);
}

.project-card.featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-link {
    color: #00ff00;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.2);
}

.project-content {
    padding: 2rem;
}

.project-category {
    color: #00cc00;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.project-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(0, 255, 0, 0.1);
    color: #00cc00;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 0, 0.3);
}

.projects-cta {
    text-align: center;
    margin-top: 3rem;
}

.projects-note {
    margin-top: 1rem;
    color: #888;
    font-size: 0.9rem;
}

.projects-note i {
    margin-right: 0.5rem;
    color: #ffaa00;
}

/* Contact Section */
.contact {
    background: rgba(0, 0, 0, 0.9);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: rgba(0, 255, 0, 0.4);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.2rem;
}

.contact-details h4 {
    color: #00ff00;
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #00ff00;
}

/* Contact Form */
.contact-form {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

/* Footer */
.footer {
    background: #000;
    border-top: 1px solid rgba(0, 255, 0, 0.2);
    padding: 2rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-text {
    color: #888;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 50%;
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #00ff00;
    color: #000;
    transform: translateY(-3px);
}

/* JSON Syntax Highlighting */
.json-key { color: #ff8c00; }
.json-value { color: #00ffff; }
.json-string { color: #ff00ff; }
.json-boolean { color: #00ff00; }
.json-null { color: #ff6b6b; }

/* AOS Animation Overrides */
[data-aos="fade-up"] {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Projects Page Specific Styles */
.projects-page {
    padding-top: 70px;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 40, 0, 0.3), rgba(0, 20, 0, 0.5));
    border-radius: 20px;
    margin-bottom: 4rem;
    position: relative;
  overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 255, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(0, 255, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #00ff00, #00cc00);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.projects-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.3);
    border-radius: 10px;
    padding: 1rem 2rem;
    margin: 2rem auto 0;
    max-width: 600px;
}

.projects-disclaimer i {
    color: #ffaa00;
    font-size: 1.2rem;
}

.projects-disclaimer p {
    color: #ffaa00;
    margin: 0;
    font-size: 0.9rem;
}

.featured-project {
    margin-bottom: 6rem;
}

.project-card.large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.project-card.large:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 25px 50px rgba(0, 255, 0, 0.15);
}

.project-card.large .project-image {
    height: 400px;
    position: relative;
}

.project-card.large .project-content {
    padding: 3rem;
  display: flex;
    flex-direction: column;
  justify-content: center;
}

.project-badge {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: 1rem;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #ccc;
}

.feature i {
    color: #00ff00;
    width: 20px;
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.8rem;
    color: #00ff00;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 255, 0, 0.3);
}

.category-title i {
    font-size: 1.5rem;
}

.project-highlights {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
}

.project-highlights li {
    color: #ccc;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.project-highlights li::before {
    content: '▶';
    color: #00ff00;
    position: absolute;
    left: 0;
    top: 0;
}

.projects-cta {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 40, 0, 0.3));
    border-radius: 20px;
    margin-top: 4rem;
}

.cta-content h3 {
    font-size: 2.5rem;
    color: #00ff00;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #888;
    font-size: 0.9rem;
}

.cta-note i {
    color: #00ff00;
}

/* Additional responsive styles for projects page */
@media (max-width: 768px) {
    .project-card.large {
        grid-template-columns: 1fr;
    }
    
    .project-card.large .project-image {
        height: 250px;
    }
    
    .project-card.large .project-content {
        padding: 2rem;
    }
    
    .page-header {
        padding: 2rem 0;
        margin-bottom: 2rem;
    }
    
    .projects-disclaimer {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .category-section {
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-note {
        flex-direction: column;
        gap: 0.3rem;
    }
}

/* Large Desktop Optimization (1920x1080 and above) */
@media (min-width: 1600px) {
    .timeline-container {
        max-width: 1600px;
    }
    
    .timeline-item:nth-child(odd) .timeline-card {
        margin-right: 50%;
    }

    .timeline-item:nth-child(even) .timeline-card {
        margin-left: 50%;
    }
    
    .timeline-card {
        max-width: 500px;
        min-height: 300px;
        padding: 3rem;
    }
    
    .job-info h4 {
        font-size: 1.4rem;
    }
    
    .job-description {
        font-size: 1rem;
    }
    
    .highlight {
        font-size: 0.9rem;
    }
    
    .timeline-header {
        margin-bottom: 2rem;
    }
}

/* Desktop Optimization (1200px to 1599px) */
@media (min-width: 1200px) and (max-width: 1599px) {
    .timeline-card {
        max-width: 420px;
        min-height: 270px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    /* Enhanced Experience Section Mobile */
    .experience-timeline {
        padding: 0 1rem;
    }

    .timeline-container {
        padding: 0 2rem;
    }

    .career-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
        margin: 3rem 0;
    }

    .career-stat {
        width: 100%;
        max-width: 320px;
        margin: 0 1rem;
    }

    .role-header {
        flex-direction: column;
        gap: 2rem;
    }

    .company-logo {
        align-self: center;
    }

    .role-title {
        font-size: 2rem;
    }

    .company-details {
        flex-direction: column;
        gap: 1rem;
    }

    .timeline-container::before {
        left: 20px;
    }

    .timeline-item {
        text-align: left !important;
    }
    
    .timeline-item * {
        text-align: left !important;
    }

    .timeline-item:nth-child(odd) .timeline-card,
    .timeline-item:nth-child(even) .timeline-card {
        margin-left: 50px;
        margin-right: 0;
    }

    .timeline-marker {
        left: 20px !important;
        transform: translateY(-50%);
    }

    .timeline-header {
        flex-direction: column;
        gap: 1rem;
    }

    .header-right {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

    .company-line {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .industry-badge {
        font-size: 0.7rem;
        padding: 0.5rem 1rem;
    }

    .freelance-header {
        flex-direction: column;
        gap: 2rem;
    }

    .upwork-badge {
        align-self: flex-start;
    }

    .platform-details {
        flex-direction: column;
        gap: 1rem;
    }

    .metric-group {
        grid-template-columns: 1fr;
    }

    .specialty-grid {
        grid-template-columns: 1fr;
    }

    /* Logo responsiveness */
    .company-logo {
        padding: 0.8rem;
    }

    .company-logo-img {
        max-height: 50px;
        max-width: 100px;
    }

    .timeline-logo {
        max-height: 35px;
        max-width: 70px;
    }

    .upwork-badge-img {
        max-height: 60px;
        max-width: 120px;
    }

    .company-logo-small {
        margin-left: 0;
        margin-right: auto;
        width: fit-content;
        max-width: 80px;
        padding: 0.4rem 0.6rem;
    }

    .timeline-logo {
        max-height: 24px;
        max-width: 60px;
    }

    .project-card.featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-marker {
        left: 15px !important;
        width: 15px;
        height: 15px;
    }

    .timeline::before {
        left: 15px;
        width: 2px;
    }
}

/* ========================================
   NEW CAREER TIMELINE - CLEAN REBUILD
   ======================================== */

/* Timeline Container */
.new-timeline-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
    perspective: 2000px;
    transform-style: preserve-3d;
}

/* Central Timeline Line */
.new-timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #00ff00, #00cc00, #009900);
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

/* Timeline Items */
.new-timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: center;
    min-height: 200px;
    transform-style: preserve-3d;
}

/* Timeline Markers - NOW VISIBLE */

/* All marker styles removed */

/* Timeline Cards */
.new-timeline-card {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 20, 0, 0.8));
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    max-width: 450px;
    width: 100%;
    transform-style: preserve-3d;
    transform-origin: center center;
    position: relative;
    overflow: hidden;
    /* Ensure clean edges */
    -webkit-mask-image: radial-gradient(white, white);
    mask-image: radial-gradient(white, white);
}

/* Left Side Cards (Odd) */
.new-timeline-item:nth-child(odd) .new-timeline-card {
    margin-right: calc(50% + 2rem);
    margin-left: 0;
}

/* Right Side Cards (Even) */
.new-timeline-item:nth-child(even) .new-timeline-card {
    margin-left: calc(50% + 2rem);
    margin-right: 0;
}

/* 3D Card Hover Effects */
.new-timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--mouse-gradient, linear-gradient(135deg, 
        rgba(0, 255, 0, 0.05) 0%, 
        rgba(0, 255, 0, 0.1) 50%, 
        rgba(0, 255, 0, 0.05) 100%));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
    z-index: 1;
    pointer-events: none;
}

.new-timeline-card::after {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 400%;
    height: 400%;
    background: conic-gradient(from 0deg, 
        transparent 20%, 
        rgba(0, 255, 0, 0.2) 30%, 
        transparent 40%,
        transparent 60%, 
        rgba(0, 255, 0, 0.2) 70%, 
        transparent 80%);
    opacity: 0;
    animation-duration: 4s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    z-index: 0;
    border-radius: 50%;
    filter: blur(1px);
}

.new-timeline-card > * {
    position: relative;
    z-index: 2;
}

/* Left Card 3D Effects */
.new-timeline-item:nth-child(odd) .new-timeline-card:hover {
    transform: 
        translateY(-20px) 
        translateZ(50px) 
        rotateY(-15deg) 
        rotateX(5deg) 
        scale(1.05);
    border-color: rgba(0, 255, 0, 0.8);
    box-shadow: 
        -30px 40px 80px rgba(0, 0, 0, 0.8),
        -20px 20px 60px rgba(0, 255, 0, 0.4),
        0 0 50px rgba(0, 255, 0, 0.6);
}

.new-timeline-item:nth-child(odd) .new-timeline-card:hover::before {
    opacity: 1;
}

/* Enable mouse tracking lighting */
.new-timeline-card:hover::before {
    opacity: 1;
}

.new-timeline-item:nth-child(odd) .new-timeline-card:hover::after {
    opacity: 1;
    animation-name: rotateClockwise;
}

/* Right Card 3D Effects */
.new-timeline-item:nth-child(even) .new-timeline-card:hover {
    transform: 
        translateY(-20px) 
        translateZ(50px) 
        rotateY(15deg) 
        rotateX(5deg) 
        scale(1.05);
    border-color: rgba(0, 255, 0, 0.8);
    box-shadow: 
        30px 40px 80px rgba(0, 0, 0, 0.8),
        20px 20px 60px rgba(0, 255, 0, 0.4),
        0 0 50px rgba(0, 255, 0, 0.6);
}

.new-timeline-item:nth-child(even) .new-timeline-card:hover::before {
    opacity: 1;
}

.new-timeline-item:nth-child(even) .new-timeline-card:hover::after {
    opacity: 1;
    animation-name: rotateCounterClockwise;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .new-timeline-container::before {
        left: 20px;
    }
    
    .new-timeline-item:nth-child(odd) .new-timeline-card,
    .new-timeline-item:nth-child(even) .new-timeline-card {
        margin-left: 60px;
        margin-right: 0;
    }
    
    /* Markers removed */
    
    /* Disable 3D effects on mobile */
    .new-timeline-item:nth-child(odd) .new-timeline-card:hover,
    .new-timeline-item:nth-child(even) .new-timeline-card:hover {
        transform: translateY(-8px) scale(1.02);
    }
    
    /* Disable rotating background on mobile to prevent edge visibility */
    .new-timeline-card::after {
        display: none !important;
    }
    
    /* Ensure card overflow is properly hidden on mobile */
    .new-timeline-card {
        overflow: hidden !important;
        -webkit-mask-image: radial-gradient(white, white);
        mask-image: radial-gradient(white, white);
    }
}

/* ========================================
   3D ANIMATION KEYFRAMES
   ======================================== */

@keyframes markerFloat {
    0%, 100% {
        transform: translate(-50%, -50%) !important;
    }
    50% {
        transform: translate(-50%, -50%) !important;
    }
}

@keyframes markerPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

@keyframes rotateClockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounterClockwise {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes cardGlow {
    0%, 100% {
        box-shadow: 
            0 8px 25px rgba(0, 0, 0, 0.5),
            0 0 20px rgba(0, 255, 0, 0.3);
    }
    50% {
        box-shadow: 
            0 15px 50px rgba(0, 0, 0, 0.7),
            0 0 40px rgba(0, 255, 0, 0.6);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Staggered entry animations */
.new-timeline-item:nth-child(1) {
    animation: slideInLeft 1s ease-out 0.2s both;
}

.new-timeline-item:nth-child(2) {
    animation: slideInRight 1s ease-out 0.4s both;
}

.new-timeline-item:nth-child(3) {
    animation: slideInLeft 1s ease-out 0.6s both;
}

.new-timeline-item:nth-child(4) {
    animation: slideInRight 1s ease-out 0.8s both;
}

.new-timeline-item:nth-child(5) {
    animation: slideInLeft 1s ease-out 1.0s both;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px) translateY(30px) rotateY(-90deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotateY(0deg);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px) translateY(30px) rotateY(90deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) translateY(0) rotateY(0deg);
    }
}

/* ========================================
   MOUSE TRACKING ENHANCEMENTS
   ======================================== */

/* Global mouse position tracking */
:root {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

/* Smooth transitions for mouse tracking */
.new-timeline-card {
    will-change: transform;
    backface-visibility: hidden;
}

/* Enhanced performance for mouse tracking */
@media (hover: hover) and (pointer: fine) {
    .new-timeline-card {
        transform-style: preserve-3d;
    }
}

/* Disable mouse tracking on touch devices */
@media (hover: none) {
    .new-timeline-card {
        transform: none !important;
        transition: none !important;
    }
    
    /* Markers removed */
}

/* Simple Timeline Dots */
.new-timeline-marker {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 16px;
    height: 16px;
    background: #00ff00;
    border: 4px solid #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 100;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    transition: all 0.3s ease;
    display: block !important;
    visibility: visible !important;
}

.new-timeline-item:hover .new-timeline-marker {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 25px rgba(0, 255, 0, 1.0);
    background: #00ff66;
}

/* ========================================
   CUSTOM SCROLL ANIMATIONS
   ======================================== */

.scroll-animation {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.scroll-animation.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 1s ease-out;
}

.slide-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 1s ease-out;
}

.slide-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.zoom-in.animate {
    opacity: 1;
    transform: scale(1);
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   FREELANCE SECTION STYLING
   ======================================== */

/* Contract Badge */
.contract-badge {
    display: inline-block;
    /* background: linear-gradient(135deg, #1a1a1a, #333333); */
    color: #00ff00 !important;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
    border: 1px solid #00ff00;
    animation: pulse-glow 2s ease-in-out infinite alternate;
    text-shadow: none;
}

/* Founder Badge */
.founder-badge {
    display: inline-block;
    /* background: linear-gradient(135deg, #ff6b35, #f7931e); */
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    border: 1px solid #ff6b35;
    animation: pulse-glow-orange 2s ease-in-out infinite alternate;
    text-shadow: none;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 2px 8px rgba(0, 255, 0, 0.3);
    }
    100% {
        box-shadow: 0 4px 16px rgba(0, 255, 0, 0.5);
    }
}

@keyframes pulse-glow-orange {
    0% {
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    }
    100% {
        box-shadow: 0 4px 16px rgba(255, 107, 53, 0.6);
    }
}

/* Section Headers */
.freelance-section-header,
.employment-section-header {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding: 2rem;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    backdrop-filter: blur(10px);
}

.freelance-section-header h4,
.employment-section-header h4 {
    color: #00ff00;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.freelance-section-header .section-description,
.employment-section-header .section-description {
    color: #cccccc;
    font-size: 1rem;
    margin: 0;
    opacity: 0.8;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .contract-badge {
        display: block;
        margin: 0.3rem 0 0 0;
        width: fit-content;
        font-size: 0.6rem;
    }
    
    .founder-badge {
        display: block;
        margin: 0.3rem 0 0 0;
        width: fit-content;
        font-size: 0.6rem;
    }
    
    .freelance-section-header,
    .employment-section-header {
        margin: 2rem 0 1rem 0;
        padding: 1.5rem;
    }
    
    .freelance-section-header h4,
    .employment-section-header h4 {
        font-size: 1.2rem;
    }
}