body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    overflow: hidden;
}

a {
    color: #c1a7ff;
    text-decoration: none;
}

main.container-fluid {
    height: 100vh;
}

.row {
    height: 100%;
}

.col-md-4, .col-md-8 {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.intro-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 1.5rem;
    height: 80vh;
    overflow-y: auto;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom scrollbar for timeline container */
.timeline-container::-webkit-scrollbar {
    width: 8px;
}

.timeline-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.timeline-container::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 10px;
}

.timeline-container::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
}

.content-area {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom scrollbar for content area */
.content-area::-webkit-scrollbar {
    width: 8px;
}

.content-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.content-area::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 10px;
}

.content-area::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #7c3aed, #a855f7);
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #6366f1, #8b5cf6, #6366f1);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-year {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    color: #a855f7;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.timeline-dot {
    position: absolute;
    left: -23px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.project-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    width: 100%;
    text-align: left;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-btn:hover {
    background: rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateX(5px);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.1);
}

.project-btn.active {
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.4);
    transform: translateX(10px);
    color: white;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.2);
}

.project-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.social-links a {
    color: white;
    font-size: 2rem;
    margin-right: 0.25rem;
    margin-left: 0.25rem;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #a855f7;
    transform: translateY(-3px);
}

.intro-title {
    background: linear-gradient(45deg, #ffffff, #a855f7, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.project-title {
    background: linear-gradient(45deg, #ffffff, #a855f7, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.badge-custom {
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin: 0.2rem;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

#project-content {
    flex: 1;
    overflow-y: auto;
}

.container-fluid.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    body {
        height: auto;
        overflow: visible;
        min-height: 100vh;
    }

    .main.container-fluid {
        height: auto;
    }

    .row {
        height: auto;
    }

    .col-md-4, .col-md-8 {
        height: auto;
        display: block;
    }

    .timeline-container {
        height: auto;
        margin-bottom: 1rem;
        flex: none;
    }

    .content-area {
        height: auto;
    }

    .intro-title {
        font-size: 2rem;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .intro-section {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }

    #project-content {
        flex: none;
        overflow-y: visible;
    }
}