:root {
    --bg-color: #050505;
    --card-bg: #111111;
    --text-main: #ffffff;
    --text-dim: #cccccc;
    /* Updated to lighter grey from #a0a0a0 */
    --accent-gradient: linear-gradient(135deg, #0065b8 0%, #0077d9 100%);
    /* New Blue Gradient */
    --accent-glow: rgba(0, 101, 184, 0.3);
    /* New Blue Glow */
    --border-color: #222222;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
}

/* Hero Refined (New Minimal Spec) */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 50%, #1a2938 0%, #000 100%);
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient-top {
    display: none;
    /* Removed as we are using a specific radial gradient on .hero */
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    margin-bottom: 2rem;
    transition: var(--transition);
}

.hero-avatar:hover {
    transform: scale(1.05);
    border-color: #0065b8;
    box-shadow: 0 12px 40px rgba(0, 101, 184, 0.5);
}

.hero-name {
    font-family: 'Outfit', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-greeting {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #0065b8;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* Cursor animation removed */

.hero-role {
    font-size: 24px;
    font-weight: 500;
    color: #0065b8;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 16px;
    font-weight: 300;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-btns-v2 {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.btn.primary-pill {
    background: #0065b8;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 101, 184, 0.3);
    text-decoration: none;
    transition: var(--transition);
    border: none;
}

.btn.secondary-pill {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
}

.btn.primary-pill:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 101, 184, 0.4);
    background: #0077d9;
}

.btn.secondary-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.hero-socials {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-link {
    color: var(--text-dim);
    font-size: 1.8rem;
    transition: var(--transition);
}

.social-link:hover {
    color: #0065b8;
    transform: translateY(-3px);
}

.hero-social-short {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    font-size: 1.5rem;
}

.hero-social-short a {
    color: var(--text-dim);
    transition: var(--transition);
}

.hero-social-short a:hover {
    color: #0065b8;
    transform: translateY(-5px);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Split Layout */
.split-container {
    display: grid;
    grid-template-columns: 12fr 8fr;
    /* 60% / 40% split */
    gap: 4rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.side-info {
    position: relative;
    padding-right: 3rem;
    /* Increased padding for the wider summary side */
    border-right: 1px solid var(--border-color);
}

.sticky-wrapper {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.about-card {
    background: var(--card-bg);
    padding: 1.5rem;
    /* Slightly reduced padding to fix smaller side */
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.skill-category {
    margin-bottom: 1.5rem;
    /* Reduced from 2rem */
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    /* Tighter tags */
}

.skill-tags span {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition);
}

.skill-tags span:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Timeline Split Style */
.main-journey {
    padding-left: 0rem;
}

.journey-headers {
    position: sticky;
    top: 60px;
    /* Adjust based on navbar height */
    display: flex;
    justify-content: space-between;
    padding: 1.2rem 0;
    /* Tighter padding */
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    /* Larger text */
    color: #0065b8;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 2rem;
    /* Reduced from 3rem */
}

.header-left,
.header-right {
    width: 50%;
    text-align: center;
    /* Centered respective center */
}

.org {
    color: #0065b8;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    display: block;
}

.timeline-split {
    position: relative;
    padding: 2rem 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--border-color);
}

.timeline-entry {
    position: relative;
    width: 50%;
    padding: 0.5rem 0.5rem;
    margin-bottom: 1rem;
}

.timeline-entry.left {
    left: 0;
    text-align: left;
}

.timeline-entry.right {
    left: 50%;
    text-align: left;
}

.milestone-dot {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #0065b8;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
    z-index: 5;
}

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

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

.entry-card {
    background: var(--card-bg);
    padding: 0.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.entry-card:hover {
    border-color: #0065b8;
}

.entry-date {
    font-weight: 800;
    color: #0065b8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.entry-details {
    list-style: none;
    margin-top: 1rem;
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* Bento Grid Projects */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 240px;
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    transition: var(--transition);
}

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-item.medium {
    grid-column: span 2;
    grid-row: span 1;
}

.bento-item.small {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-item.mini {
    grid-column: span 1;
    grid-row: span 1;
}

.bento-item:hover {
    transform: translateY(-5px);
    border-color: #0065b8;
    box-shadow: 0 10px 30px rgba(0, 101, 184, 0.1);
}

.bento-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: transform 0.8s ease;
}

.bento-item:hover .bento-bg {
    transform: scale(1.1);
}

.bento-content {
    position: relative;
    z-index: 2;
}

.bento-content h3 {
    font-size: 1.5rem;
    margin: 0.8rem 0;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
    /* Strong shadow for readability */
    font-weight: 700;
    letter-spacing: 0.5px;
}

.bento-content p {
    font-size: 0.9rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    max-width: 400px;
}

.tag {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 101, 184, 0.15);
    color: #0065b8;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(0, 101, 184, 0.2);
}

.project-link {
    text-decoration: none;
    color: #0065b8;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
}

.project-link:hover {
    color: white;
    padding-left: 5px;
}

/* Sections General */
.section {
    padding: 5rem 0;
}

/* Footer */
.footer {
    padding: 4rem 0;
    background: linear-gradient(to bottom, #050505, #0a0a0a);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Visible thin line */
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    /* Reduced gap from 3rem */
}

.footer-content .section-title {
    font-size: 3.5rem;
    /* Significantly enlarged 'Let's Connect' */
    margin-bottom: 0.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-icons {
    display: flex;
    gap: 2rem;
    /* Slightly reduced gap */
    justify-content: center;
}

.icon-link {
    color: var(--text-dim);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    /* Enhanced size */
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    /* Strongly visible border */
    background: rgba(255, 255, 255, 0.03);
}

.icon-link:hover {
    color: #0065b8;
    border-color: #0065b8;
    background: rgba(0, 101, 184, 0.1);
    box-shadow: 0 0 25px rgba(0, 101, 184, 0.3);
    /* Thematic blue glow */
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
}

.credit {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.credit strong {
    color: #0065b8;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
    .split-container {
        grid-template-columns: 1fr;
    }

    .side-info {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .sticky-wrapper {
        position: relative;
        top: 0;
    }

    .timeline-line {
        left: 30px;
    }

    .timeline-entry {
        width: 100%;
        left: 0 !important;
        text-align: left !important;
        padding-left: 60px;
    }

    .milestone-dot {
        left: 24px !important;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .bento-item {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        height: 350px;
    }

    .gradient-text {
        font-size: 3rem;
    }
}