.timeline-section {
    padding: 120px 0 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h1 {
    font-size: 3rem;
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-gray);
    font-size: 1.2rem;
}

/* Timeline Container */
.timeline-container {
    position: relative;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-blue), var(--accent-blue), var(--primary-blue));
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    padding: 20px 0;
    width: 50%;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.timeline-item.show {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
    padding-right: 60px;
}

.timeline-item.right {
    left: 50%;
    padding-left: 60px;
}

/* Timeline Dots */
.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-blue);
    border: 4px solid var(--bg-black);
    border-radius: 50%;
    top: 50%;
    z-index: 10;
    box-shadow: 0 0 10px var(--primary-blue);
}

.left .timeline-dot {
    right: -10px;
    transform: translateY(-50%);
}

.right .timeline-dot {
    left: -10px;
    transform: translateY(-50%);
}

/* Cards */
.card {
    background: var(--glass-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: var(--accent-blue);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-blue);
}

.card ul {
    list-style: none;
    margin-top: 1rem;
}

.card ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
}

/* IDE Code Blocks Formating */
.ide-code {
    background: #1e1e1e;
    border-radius: 8px;
    margin: 1.5rem 0;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.ide-header {
    background: #2d2d2d;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.5);
}

.ide-header .title {
    color: #cccccc;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    margin-left: 10px;
}

.ide-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 6px;
}

.ide-header .dot.red { background: #ff5f56; }
.ide-header .dot.yellow { background: #ffbd2e; }
.ide-header .dot.green { background: #27c93f; }

.ide-code pre {
    margin: 0;
    padding: 15px;
    overflow-x: auto;
}

.ide-code code {
    font-family: Consolas, 'Courier New', monospace;
    color: #d4d4d4;
    line-height: 1.5;
    white-space: pre;
}

/* Syntax Highlighting Colors */
.ide-code .cmd { color: #569cd6; } /* Blue for Cmdlets/Functions */
.ide-code .param { color: #9cdcfe; } /* Light Blue for Parameters */
.ide-code .var { color: #4fc1ff; } /* Variable Color */
.ide-code .string { color: #ce9178; } /* String Color orange/brown */

@media (max-width: 768px) {
    .timeline-line {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 70px !important;
        padding-right: 20px !important;
    }

    .timeline-dot {
        left: 22px !important;
    }
}