:root {
            --color-orange: #dba58f;
            --color-yellow-light: #fdefd5;
            --color-yellow-dark: #f2dbac;
            --color-blue-light: #a9c2cf;
            --color-blue-dark: #87a4ab;
            
            --text-main: #1A1A1A;
            --section-gap: 140px;
        }

        body {
            margin: 0;
            font-family: 'Bricolage Grotesque', sans-serif;
            color: var(--text-main);
            line-height: 1.6;
            overflow-x: hidden;
            background-color: #fcfcfc;
        }

        #sunrise-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            z-index: -1;
            background: #f9f9f9;
            transition: background 0.3s ease-out;
        }

        h1, h2, .section-title { font-family: 'Cinzel Decorative', cursive; }

        .name-heading {
            font-weight: 600;
            letter-spacing: 0.15em;
            color: var(--color-orange);
            text-transform: uppercase;
        }

        .section-title {
            font-weight: 700;
            color: var(--color-orange);
            font-size: 2.75rem;
            line-height: 1.2;
            margin-bottom: 3.5rem;
        }

        .glass-card {
            background: rgba(255, 255, 255, 0.55);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.4); 
            padding: 40px;
            transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
            display: flex;
            flex-direction: column;
            border-radius: 20px;
            box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
        }

        .glass-card:hover {
            background: rgba(255, 255, 255, 0.85) !important;
            border-color: var(--color-orange) !important;
            transform: translateY(-4px) !important;
            box-shadow: 0 15px 35px rgba(0,0,0,0.05) !important;
        }

        .sticky-nav {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }

        .nav-link {
            color: var(--color-blue-dark);
            font-size: 0.7rem;
            text-transform: uppercase;
            letter-spacing: 0.12em;
            transition: all 0.3s ease;
            font-weight: 500;
            position: relative;
            padding-bottom: 8px;
        }

        .nav-link.active {
            font-weight: 800;
            color: var(--color-orange);
        }
        
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0; 
            left: 50%; 
            transform: translateX(-50%);
            width: 5px; 
            height: 5px;
            background: var(--color-orange);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--color-orange);
            animation: pulse-orange 2s infinite;
        }

        @keyframes pulse-orange {
            0% { opacity: 1; transform: translateX(-50%) scale(1); }
            50% { opacity: 0.5; transform: translateX(-50%) scale(1.4); }
            100% { opacity: 1; transform: translateX(-50%) scale(1); }
        }

        .profile-wrapper {
            position: relative;
            margin-bottom: 2rem;
        }

        .profile-frame {
            width: 200px; height: 200px; border-radius: 50%;
            border: 1px solid rgba(255, 255, 255, 0.8); padding: 8px;
            background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(5px);
            position: relative;
            box-shadow: 0 0 30px rgba(219, 165, 143, 0.3);
        }

        .profile-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

        .status-badge {
            position: absolute;
            top: 0px;
            right: -45px;
            background: rgba(255, 255, 255, 0.95);
            border: 1px solid var(--color-blue-dark);
            color: var(--color-blue-dark);
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 0.65rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            box-shadow: 0 4px 15px rgba(135, 164, 171, 0.2);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            gap: 6px;
            z-index: 20;
        }

        .status-dot {
            width: 6px;
            height: 6px;
            background: var(--color-blue-dark);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--color-blue-dark);
            animation: pulse-blue 2s infinite;
        }

        @keyframes pulse-blue {
            0% { opacity: 1; transform: scale(1); }
            50% { opacity: 0.4; transform: scale(1.2); }
            100% { opacity: 1; transform: scale(1); }
        }

        .btn-cta {
            background-color: var(--color-blue-dark);
            color: white; padding: 14px 40px; border-radius: 50px;
            font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
            font-weight: 600; transition: all 0.3s ease; display: inline-block;
        }

        .btn-cta:hover { background-color: var(--text-main); transform: translateY(-2px); }

        .btn-action {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            border: 1px solid var(--color-blue-light); 
            color: var(--color-blue-dark);
            padding: 10px 22px; 
            border-radius: 50px; 
            font-size: 0.65rem;
            font-weight: 700; 
            text-transform: uppercase; 
            letter-spacing: 0.1em;
            transition: all 0.3s ease;
        }

        .btn-action:hover { 
            background-color: var(--color-blue-dark);
            color: white;
            border-color: var(--color-blue-dark);
        }

        .btn-action svg {
            fill: currentColor;
            width: 18px;
            height: 18px;
        }

        .btn-github { margin-top: auto; }
        
        .project-tag {
            font-size: 0.6rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            padding: 4px 10px;
            border-radius: 30px;
            background: rgba(169, 194, 207, 0.15);
            color: #5d7e8a;
            border: 1px solid rgba(169, 194, 207, 0.3);
            white-space: nowrap;
        }

        section { padding: var(--section-gap) 24px; max-width: 1100px; margin: 0 auto; }

        .skill-chip {
            background: rgba(255, 255, 255, 0.4); 
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            padding: 8px 20px; 
            border-radius: 12px; 
            font-size: 0.8rem;
            color: var(--text-main); 
            border: 2px solid rgba(242, 219, 172, 0.8); 
            font-weight: 500;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 0 10px rgba(242, 219, 172, 0.3);
            display: inline-block;
            margin: 4px;
        }

        .skill-chip:hover {
            transform: scale(1.05);
            background: rgba(255, 255, 255, 0.7);
            border-color: #dba58f; 
            box-shadow: 0 0 15px rgba(219, 165, 143, 0.4);
        }

        .sub-heading {
            color: var(--color-blue-dark);
            font-weight: 700;
            font-size: 0.8rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin-bottom: 1rem;
            display: block;
        }

        .timeline-container { position: relative; padding-left: 2rem; }
        .timeline-line {
            position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
            background: linear-gradient(to bottom, var(--color-orange) 0%, var(--color-blue-light) 100%);
        }
        .timeline-item { position: relative; margin-bottom: 3rem; }
        .timeline-dot {
            position: absolute; left: calc(-2rem - 5px); top: 24px;
            width: 12px; height: 12px; background: white;
            border: 3px solid var(--color-orange); border-radius: 50%; z-index: 2;
        }

.keyword-bubble {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: rgba(59, 130, 246, 0.1);
    color: rgb(37, 99, 235);
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

        html { scroll-behavior: smooth; }


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

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--color-blue-dark);
    margin-bottom: 1.5rem;
    font-weight: 500;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

.name-heading {
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-orange);
    text-transform: uppercase;
    position: relative;
    z-index: 10;
    pointer-events: none;
}

/*      FADE-IN ANIMATIONS     */
section:not(#hero) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section:not(#hero).fade-in {
    opacity: 1;
    transform: translateY(0);

}

#about.fade-in { transition-delay: 0.1s; }
#education.fade-in { transition-delay: 0.1s; }
#projects.fade-in { transition-delay: 0.1s; }
#papers.fade-in { transition-delay: 0.1s; }
#skills.fade-in { transition-delay: 0.1s; }
#contact.fade-in { transition-delay: 0.1s; }

#hero {
    opacity: 1 !important;
}
