body, html {
        margin: 0;
        padding: 0;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        background-color: #222;
        color: white;
        scroll-behavior: smooth;
    }

    header {
        text-align: center;
        padding: 40px 20px;
        background: #111;
        position: sticky;
        top: 0;
        z-index: 100;
        border-bottom: 2px solid #ddd;
    }

   
    ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }


    li {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 40vh; 
        transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        opacity: 0.5;
        padding: 2rem;
        box-sizing: border-box;
        overflow: hidden;
        cursor: pointer;
    }
    .Artifact1 { background-color: #1b5109; } 
    .Artifact2 { background-color: #36545a; }
    .Artifact3 { background-color: #624c1d; }
    li.active {
        min-height: 80vh; 
        opacity: 1;
    }
    .innerart {
        display: flex;
        width: 100%;
        max-width: 1200px;
        align-items: center;
        gap: 5%;
    }
    li:nth-child(odd) .innerart {
        flex-direction: row;
    }

    li:nth-child(even) .innerart {
        flex-direction: row-reverse; 
        text-align: right;
    }

    .visual-box {
        flex: 1;
        aspect-ratio: 4/3;
        border: 8px solid #F0E68C; 
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 5rem;
        font-weight: bold;
        color: white;
        transition: transform 0.5s ease;
    }
    .text-content {
        flex: 1;
        opacity: 0; 
        transform: translateY(20px);
        transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;
    }

    

    li.active .text-content {
        opacity: 1;
        transform: translateY(0);
    }
    
    li.active .visual-box
     {
        transform: scale(1.05);
    }

    .Bio, .foot {
        padding: 50px;
        text-align: center;
        background: #333;
    }

  
    @media (max-width: 768px) {
        li, li:nth-child(even) .innerart, li:nth-child(odd) .innerart {
            flex-direction: column;
            text-align: center;
        }
        .visual-box { width: 100%; aspect-ratio: 16/9; margin-bottom: 20px;}
    }

    #intro-section {
    background-color: #1a1a1a;
    padding: 60px 20px;
    border-bottom: 4px solid #F0E68C;
    min-height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-container {
    max-width: 900px;
    color: #f0f0f0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.typewriter-wrapper {
    display: inline-block;
    margin-bottom: 30px;
}

#typing-title {
    overflow: hidden;
    border-right: .15em solid #F0E68C;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .10em;
    width: 0;
    font-size: 2.5rem;
    color: #F0E68C; 
}

.typing-active {
    animation: 
        typing 3.5s steps(40, end) forwards,
        blink-caret .75s step-end infinite;
}

.ink-content {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(5px);
    transition: all 1.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.ink-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #F0E68C; }
}

@media (max-width: 768px) {
    #typing-title { font-size: 1.5rem; white-space: normal; border: none; width: auto; }
    .typewriter-wrapper { width: 100%; text-align: center; }
}
.visual-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    display: block;     
}
.linkedin-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    color: #F0E68C; 
    border: 2px solid #F0E68C;
    text-decoration: none;
    font-weight: bold;
    border-radius: 25px; 
    transition: all 0.3s ease;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 1px;
}

.linkedin-btn:hover {
    background-color: #F0E68C;
    color: #1a1a1a; 
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(240, 230, 140, 0.4);
}