
.project-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(99, 102, 241, 0.1);
}

.project-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.project-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    backdrop-filter: blur(8px);
}

.filter-button {
    padding: 0.75rem 2rem;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.filter-button.active {
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    color: white;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.filter-button:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.impact-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.impact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60A5FA, #9333EA);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #2563eb, #4f46e5, #8b5cf6);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 1.5s ease;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    border: 4px solid #1e293b;
    opacity: 0;
    transition: all 0.5s ease;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    transform: scale(0);
    transition: transform 0.5s ease;
}

.timeline-dot.active {
    opacity: 1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.timeline-dot.active::before {
    transform: scale(1.5);
}

.timeline-content {
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.timeline-content.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-step {
    position: relative;
    padding: 2rem 0;
}

.timeline-step:nth-child(odd) .timeline-content {
    margin-left: auto;
    text-align: left;
    padding-left: 2rem;
}

.timeline-step:nth-child(even) .timeline-content {
    text-align: right;
    padding-right: 2rem;
}

.stage-card {
    position: relative;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stage-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    border-radius: inherit;
    z-index: -1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.stage-card:hover::before {
    opacity: 1;
}

.stage-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.stage-number::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.stage-card:hover .stage-number::before {
    transform: translateX(100%);
}

.stage-card:hover .stage-number {
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

@keyframes shimmer {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(100%);
    }
}

.floating-element {
    position: absolute;
    width: var(--size);
    height: var(--size);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%,
        rgba(99, 102, 241, 0.05),
        rgba(99, 102, 241, 0.01)
    );
    top: var(--top);
    left: var(--left);
    right: var(--right);
    animation: float 20s ease-in-out infinite;
    animation-delay: var(--delay);
    filter: blur(40px);
}

.timeline-item {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 4rem;
}

.timeline-content {
    width: 45%;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
    margin-left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}

@media (max-width: 768px) {
    .timeline-content {
        width: 90%;
        margin: 0 auto !important;
    }
    
    .timeline-dot {
        display: none;
    }

    .timeline-wrapper::before {
        left: 20px;
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

.stage-number::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    background: inherit;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.5;
}

.stage-card:hover .stage-number {
    transform: scale(1.1) rotate(5deg);
}

.stage-card .stage-number {
    transition: transform 0.3s ease;
}
.timeline-item {
    opacity: 1;
    transform: none;
}

.timeline-item:hover .bg-white\/5 {
    transform: translateY(-5px);
}



@media (max-width: 768px) {
    .timeline-wrapper::before {
        left: 20px;
    }
}