.projectcontenttext{
    z-index:50;
}

.timelinecontainer{
    margin:10px;
    padding:30px;
    border: solid black 1px;
    border-radius:10px;
    z-index:-50;

}

.timeline {
    position: relative;
    margin: 2rem 0;
    z-index:-50;
}

.timeline-item {
    position: relative;
    margin: 6rem 0;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.8s ease forwards;
    z-index:-50;
}

.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; }
.timeline-item:nth-child(5) { animation-delay: 1s; }

.timeline-item:nth-child(even) {
    text-align: right;
}

.timeline-item:nth-child(even) .content {
    margin-left: auto;
    margin-right: 0;
}

.milestone-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 4px solid;
    z-index: 0;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
    animation: pulse 2s infinite;
}

.timeline-item:nth-child(1) .milestone-dot { border-color: #ff6b6b; }
.timeline-item:nth-child(2) .milestone-dot { border-color: #4ecdc4; }
.timeline-item:nth-child(3) .milestone-dot { border-color: #45b7d1; }
.timeline-item:nth-child(4) .milestone-dot { border-color: #96ceb4; }
.timeline-item:nth-child(5) .milestone-dot { border-color: #feca57; }


.content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 400px;
    margin-right: auto;
    position: relative;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index:0;
}

.content:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index:-50;
}

.content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: inherit;
    border-radius: 3px;
    transform: translateY(-50%) rotate(45deg);
    z-index:-50;
}

.timeline-item:nth-child(odd) .content::before {
    right: -10px;
}

.timeline-item:nth-child(even) .content::before {
    left: -10px;
}

.year {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #333;
}

.timeline-item:nth-child(1) .year { color: #ff6b6b; }
.timeline-item:nth-child(2) .year { color: #4ecdc4; }
.timeline-item:nth-child(3) .year { color: #45b7d1; }
.timeline-item:nth-child(4) .year { color: #96ceb4; }
.timeline-item:nth-child(5) .year { color: #feca57; }


.title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.description {
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

.wavy-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    z-index: -49;
}

.wavy-path {
    width: 100%;
    height: 100%;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pathDraw {
    from {
        stroke-dashoffset: 1000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

.animated-path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: pathDraw 3s ease-in-out forwards;
}

@media (max-width: 768px) {
    .timeline-item {
        text-align: center !important;
    }
    
    .content {
        width: 100%;
        max-width: 350px;
        margin: 0 auto !important;
    }
    
    .content::before {
        display: none;
    }
    
    .header h1 {
        font-size: 2rem;
    }
}

       #projects {
            background: linear-gradient(to bottom, var(--color-secondary) 0%, #E8E8E0 100%);
        }

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

        .project-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            transition: transform 0.4s ease;
            cursor: pointer;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
        }

        .project-card:hover {
            transform: translateY(-8px);
        }

        .project-image {
            width: 100%;
            height: 280px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--font-display);
            font-size: 3rem;
            color: white;
            font-weight: 700;
            position: relative;
            overflow: hidden;
        }

        .project-image::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-linear-gradient(
                45deg,
                transparent,
                transparent 10px,
                rgba(255, 255, 255, 0.05) 10px,
                rgba(255, 255, 255, 0.05) 20px
            );
            animation: moveStripes 20s linear infinite;
        }

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

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

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

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

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

        .project-content {
            padding: 2rem;
        }

        .project-content h3 {
            font-family: var(--font-display);
            font-size: 1.75rem;
            margin-bottom: 0.5rem;
            font-weight: 700;
        }

        .project-summary {
            color: var(--color-muted);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .project-detail {
            margin-bottom: 1.25rem;
        }

        .project-detail-title {
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--color-accent);
            margin-bottom: 0.5rem;
        }

        .project-detail-content {
            color: var(--color-primary);
            font-size: 0.95rem;
            line-height: 1.6;
        }

        .tools-list {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .tool-tag {
            padding: 0.35rem 0.85rem;
            background: var(--color-secondary);
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 500;
            border: 1px solid rgba(10, 10, 10, 0.1);
        }


        .none{
            display: none;
        }


