:root {
    --bg-color: #0f172a;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #5eead4;
    --card-hover: rgba(30, 41, 59, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Background gradient that follows the mouse */
.pointer-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 650px;  /* Increased from 600px */
    height: 650px; /* Increased from 600px */
    /* Increased the 0.15 opacity to 0.25 for a brighter glow */
    background: radial-gradient(circle, rgba(29, 78, 216, 0.25), transparent 80%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
    transition: background 0.3s ease;
}

/* Background Canvas Wave */
/* #wave-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
} */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}


.left-col {
    position: sticky;
    top: 0;
    max-height: 100vh; 
    width: 40%;
    padding: 72px 0; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto; 
    scrollbar-width: none; 
}

.left-col::-webkit-scrollbar {
    display: none;
}

h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -1px;
}

h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-main);
    margin-top: 8px;
}

.tagline {
    margin-top: 16px;
    max-width: 320px;
}


nav {
    margin-top: 40px; 
}

nav ul {
    list-style: none;
}

nav li {
    margin-bottom: 16px;
}

nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.nav-line {
    width: 30px;
    height: 1px;
    background-color: var(--text-muted);
    margin-right: 16px;
    transition: all 0.3s ease;
}

nav a:hover .nav-line, nav a.active .nav-line {
    width: 60px;
    background-color: var(--text-main);
}

nav a:hover .nav-text, nav a.active .nav-text {
    color: var(--text-main);
}

/* Social Icons */
.socials {
    display: flex;
    list-style: none;
    gap: 24px;
}

.socials a {
    color: var(--text-muted);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.socials a:hover {
    color: var(--text-main);
}

/* Right Column: Scrolling Content */
.right-col {
    width: 55%;
    padding: 96px 0;
}

section {
    margin-bottom: 96px;
}

section p {
    margin-bottom: 16px;
}

/* Experience & Project Cards */
.card {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-left: -24px; /* Offset for hover state padding */
    margin-bottom: 24px;
    cursor: pointer;
}

.card:hover {
    background-color: var(--card-hover);
}

.card:hover h3 {
    color: var(--accent);
}

.card-date {
    width: 130px;
    flex-shrink: 0;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.card-content h3 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.subtitle {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 12px;
}

/* Skill Tags */
.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-top: 16px;
}

.skills li {
    background-color: rgba(45, 212, 191, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

footer {
    text-align: center;
    font-size: 0.85rem;
    padding-top: 48px;
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        padding: 48px 24px;
    }
    
    .left-col {
        position: relative;
        height: auto;
        width: 100%;
        padding: 0;
    }
    
    .right-col {
        width: 100%;
        padding: 48px 0 0 0;
    }

    nav {
        display: none; /* Hide nav links on mobile for simplicity */
    }

    .socials {
        margin-top: 32px;
    }
    
    .card {
        flex-direction: column;
        padding: 0;
        margin-left: 0;
    }
    
    .card:hover {
        background-color: transparent;
    }
}