:root {
    --white: #ffffff;
    --black: #000000;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --accent-blue: #2563eb;
    --accent-purple: #7c3aed;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --accent-gradient: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
    --font-primary: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    border: none;
    background: none;
}

ul,
ol {
    list-style: none;
}

#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    pointer-events: none;
    mix-blend-mode: difference;
}

.cursor-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s, height 0.3s;
}

.cursor-ring {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 1px solid var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.15s ease;
}

.cursor-follower.hovering .cursor-dot {
    transform: translate(-50%, -50%) scale(2);
}

.cursor-follower.hovering .cursor-ring {
    width: 60px;
    height: 60px;
    border-color: var(--accent-purple);
}

.floating-elements {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-shape {
    position: absolute;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gray-300);
    opacity: 0.4;
    transition: transform 0.3s var(--ease-out-expo);
}

.shape-1 {
    top: 15%;
    left: 10%;
}

.shape-2 {
    top: 25%;
    right: 15%;
}

.shape-3 {
    top: 50%;
    left: 5%;
}

.shape-4 {
    top: 60%;
    right: 8%;
}

.shape-5 {
    top: 75%;
    left: 15%;
}

.shape-6 {
    top: 35%;
    right: 25%;
}

.shape-7 {
    top: 85%;
    right: 20%;
}

.shape-8 {
    top: 10%;
    left: 30%;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-brackets {
    color: var(--accent-purple);
    font-weight: 400;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--gray-900);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.5rem 1.5rem !important;
    background: var(--gray-900);
    color: var(--white) !important;
    border-radius: 100px;
    transition: all 0.4s;
}

.nav-cta::after {}

/* Spotify-style Notification */
.spotify-notify {
    position: relative;
    /* bottom/right removed */
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.8rem 2.5rem 0.8rem 1.2rem;
    border-radius: 12px;
    display: inline-flex;
    /* Changed to inline-flex/flex to sit nicely */
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    z-index: 20;
    transition: transform 0.3s ease, background 0.3s ease;
    cursor: pointer;
    max-width: fit-content;
    margin-bottom: 2rem;
    /* Add spacing below */
    animation: slideUpFade 0.8s ease-out 0.5s backwards;
}

.spotify-notify:hover {
    transform: translateY(-5px) scale(1.3);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.notify-icon {
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.3);
}

.notify-content {
    display: flex;
    flex-direction: column;
}

.notify-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 2px;
    font-weight: 700;
}

.notify-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
}

.notify-equalizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    margin-left: 0.5rem;
}

.notify-equalizer span {
    display: block;
    width: 3px;
    background: var(--accent-purple);
    animation: equalizer 1s ease-in-out infinite;
    border-radius: 3px;
}

.notify-equalizer span:nth-child(1) {
    height: 60%;
    animation-delay: 0s;
}

.notify-equalizer span:nth-child(2) {
    height: 30%;
    animation-delay: 0.1s;
}

.notify-equalizer span:nth-child(3) {
    height: 80%;
    animation-delay: 0.2s;
}

.notify-equalizer span:nth-child(4) {
    height: 50%;
    animation-delay: 0.3s;
}

@keyframes equalizer {

    0%,
    100% {
        height: 20%;
        transform: scaleY(1);
    }

    50% {
        height: 100%;
        transform: scaleY(1.2);
    }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .spotify-notify {
        bottom: 2rem;
        right: 50%;
        transform: translateX(50%);
        width: auto;
        white-space: nowrap;
    }

    .spotify-notify:hover {
        transform: translateX(50%) translateY(-5px);
    }
}

.nav-cta:hover {
    background: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.hamburger {
    display: none;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--gray-900);
    transition: all 0.4s var(--ease-out-expo);
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
    position: relative;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.label-line {
    width: 40px;
    height: 1px;
    background: var(--accent-gradient);
}

.label-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-title-center {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    margin-bottom: 2rem;
}

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

.highlight-alt {
    color: var(--accent-cyan);
    -webkit-text-fill-color: var(--accent-cyan);
}

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding: 8rem 1.5rem 4rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    cursor: none;
}

.hero * {
    cursor: none;
}

.hero-glyph {
    position: absolute;
    right: -10%;
    top: 55%;
    font-size: 18rem;
    font-weight: 400;
    color: var(--gray-900);
    opacity: 0.018;
    letter-spacing: 0.12em;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: -1;
    animation: glyph-float 20s ease-in-out infinite;
}

@keyframes glyph-float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-15px) translateX(5px);
    }

    50% {
        transform: translateY(-5px) translateX(-8px);
    }

    75% {
        transform: translateY(-20px) translateX(3px);
    }
}

.hero-content {
    z-index: 10;
}

.hero-intro {
    margin-bottom: 0.75rem;
}

.hero-greeting {
    display: block;
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}

.hero-name {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    line-height: 1;
    display: flex;
}

.letter-animate {
    display: inline-block;
    transition: transform 0.3s var(--ease-out-expo), color 0.3s ease;
}

.letter-animate:hover {
    transform: translateY(-10px) scale(1.1);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-role {
    margin-bottom: 2rem;
}

.role-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.role-static {
    color: var(--gray-600);
}

.role-dynamic {
    position: relative;
    height: 40px;
    overflow: hidden;
}

.role-text {
    position: absolute;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s var(--ease-out-expo);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    white-space: nowrap;
}

.role-text.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 450px;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 3rem;
    margin-top: 1.75rem;
}

.btn-creative {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: var(--gray-900);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-creative .btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--white);
    color: var(--gray-900);
    border-radius: 50%;
    transition: transform 0.4s var(--ease-out-expo);
}

.btn-creative:hover {
    background: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.3);
    transform: translateY(-3px);
}

.btn-creative:hover .btn-icon {
    transform: translateX(5px);
}

.btn-creative .btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-creative:hover .btn-glow {
    opacity: 1;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border: 2px solid var(--gray-300);
    font-size: 1rem;
    font-weight: 600;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-outline:hover {
    border-color: var(--gray-900);
    background: var(--gray-900);
    color: var(--white);
}

.hero-scroll-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-400);
    font-size: 0.85rem;
    margin-top: 2rem;
}

.scroll-line {
    width: 50px;
    height: 1px;
    background: var(--gray-300);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transform: translateY(40px) scale(0.95);
    opacity: 0.95;
}

.code-orbit {
    position: relative;
    width: 400px;
    height: 400px;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px dashed var(--gray-200);
    border-radius: 50%;
    animation: rotate 30s linear infinite;
}

.orbit-1 {
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    animation-duration: 15s;
}

.orbit-2 {
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 380px;
    height: 380px;
    margin: -190px 0 0 -190px;
    animation-duration: 35s;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orbit-item {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent-purple);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: counterRotate 15s linear infinite;
}

.orbit-2 .orbit-item {
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 .orbit-item {
    animation-duration: 35s;
}

@keyframes counterRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

.center-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--accent-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.3);
}

.about {
    padding-top: 1rem;
}

.about-wrapper {
    display: grid;
    grid-template-columns: 1fr minmax(0, 1.5fr);
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.profile-frame {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 300/350;
    margin: 0 auto;
}

.frame-corner {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid var(--accent-purple);
}

.frame-corner.top-left {
    top: 0;
    left: 0;
    border-right: none;
    border-bottom: none;
}

.frame-corner.top-right {
    top: 0;
    right: 0;
    border-left: none;
    border-bottom: none;
}

.frame-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-right: none;
    border-top: none;
}

.frame-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-left: none;
    border-top: none;
}

.profile-image {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: 10px;
    overflow: hidden;
}

.about-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: var(--accent-purple);
    filter: blur(100px);
    opacity: 0.2;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.floating-tags {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tag-float {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 0.25rem 1rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translate(var(--x), var(--y));
    animation: tagFloat 4s ease-in-out infinite;
    animation-delay: var(--delay);
}

@keyframes tagFloat {

    0%,
    100% {
        transform: translate(var(--x), var(--y)) translateY(0);
    }

    50% {
        transform: translate(var(--x), var(--y)) translateY(-10px);
    }
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-text {
    margin-bottom: 2rem;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.8;
    white-space: normal;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.skills-marquee {
    margin: 2rem 0;
    overflow: hidden;
    padding: 1rem 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.marquee-track {
    display: flex;
    animation: marquee 20s linear infinite;
}

.marquee-content {
    display: flex;
    gap: 1.5rem;
    padding-right: 1.5rem;
}

.marquee-content span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.about-stats {
    display: flex;
    gap: 2rem;
}

.stat-card {
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: 12px;
    text-align: center;
    transition: all 0.4s var(--ease-out-expo);
}

.stat-card:hover {
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-number::after {
    content: '+';
    -webkit-text-fill-color: inherit;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* Education Section with Campus Background */
.section.education {
    position: relative;
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.88)), url('mit-campus.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.education-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.edu-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.edu-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.1);
    transform: translateY(-5px);
}

.edu-year {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-400);
}

.year-line {
    width: 2px;
    height: 40px;
    background: var(--accent-gradient);
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 600ms cubic-bezier(0.2, 0, 0, 1);
}

.edu-card.active .year-line {
    transform: scaleY(1);
}

.edu-year span {
    opacity: 0;
    transform: translateY(8px);
    transition: all 400ms cubic-bezier(0.2, 0, 0, 1);
}

.edu-card.active .edu-year span {
    opacity: 1;
    transform: translateY(0);
}

.edu-card.active .edu-year span:first-child {
    transition-delay: 200ms;
}

.edu-card.active .edu-year span:last-child {
    transition-delay: 600ms;
}

.edu-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.edu-icon.edu-logo {
    background: transparent;
    width: 70px;
    height: 70px;
    border-radius: 0;
    opacity: 0;
    transform: scale(0.8);
    transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
    transition-delay: 300ms;
}

.edu-card.active .edu-icon.edu-logo {
    opacity: 1;
    transform: scale(1);
}

.edu-icon.edu-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Education content reveal */
.edu-content h3,
.edu-content h4,
.edu-institution {
    opacity: 0;
    transform: translateY(12px);
    transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
}

.edu-card.active .edu-content h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 400ms;
}

.edu-card.active .edu-content h4 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 500ms;
}

.edu-card.active .edu-institution {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 600ms;
}

.edu-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
}

.edu-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.edu-institution {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.edu-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.edu-tags span {
    padding: 0.25rem 0.5rem;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--gray-600);
    opacity: 0;
    transform: translateY(6px);
    transition: all 400ms cubic-bezier(0.2, 0, 0, 1);
}

.edu-card.active .edu-tags span {
    opacity: 1;
    transform: translateY(0);
}

.edu-card.active .edu-tags span:nth-child(1) {
    transition-delay: 700ms;
}

.edu-card.active .edu-tags span:nth-child(2) {
    transition-delay: 780ms;
}

.edu-card.active .edu-tags span:nth-child(3) {
    transition-delay: 860ms;
}

.edu-card.active .edu-tags span:nth-child(4) {
    transition-delay: 940ms;
}

/* GitHub College Archive Banner - Minimalist */
.edu-github-banner {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.125rem;
    background: var(--gray-900);
    color: var(--white);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    opacity: 0;
    transform: translateY(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.edu-card.active .edu-github-banner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}

.edu-github-banner:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.3);
}

.edu-github-banner .banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    color: var(--white);
    font-size: 1.125rem;
    transition: color 0.25s ease;
}

.edu-github-banner:hover .banner-icon {
    color: var(--white);
}

.edu-github-banner .banner-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.edu-github-banner .banner-content h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin: 0;
    color: var(--white);
    letter-spacing: 0;
}

.edu-github-banner .banner-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    transition: transform 0.25s ease;
    color: rgba(255, 255, 255, 0.6);
}

.edu-github-banner:hover .banner-arrow {
    transform: translateX(3px);
    color: var(--white);
}

.edu-decoration {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.deco-circle {
    width: 50px;
    height: 50px;
    border: 2px dashed var(--gray-200);
    border-radius: 50%;
}

.deco-dots {
    display: flex;
    gap: 4px;
}

.deco-dots span {
    width: 6px;
    height: 6px;
    background: var(--gray-300);
    border-radius: 50%;
}

/* Clubs & Organizations */
.clubs-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 3rem 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 500ms cubic-bezier(0.2, 0, 0, 1);
}

.clubs-title.active {
    opacity: 1;
    transform: translateY(0);
}

.clubs-title i {
    color: var(--accent-purple);
}

.clubs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.club-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: all 450ms cubic-bezier(0.2, 0, 0, 1);
    min-height: 96px;
}

.club-card.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Staggered reveal for club cards */
.club-card:nth-child(1) {
    transition-delay: 100ms;
}

.club-card:nth-child(2) {
    transition-delay: 180ms;
}

.club-card:nth-child(3) {
    transition-delay: 260ms;
}

.club-card:nth-child(4) {
    transition-delay: 340ms;
}

.club-card:nth-child(5) {
    transition-delay: 420ms;
}

.club-card:nth-child(6) {
    transition-delay: 500ms;
}

.club-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 24px 48px rgba(124, 58, 237, 0.12);
    transform: translateY(-4px) scale(1);
}

.club-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    transition: transform 300ms cubic-bezier(0.2, 0, 0, 1);
}

.club-card:hover .club-icon {
    transform: rotate(-4deg) scale(1.05);
}

.club-icon.club-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.club-icon.club-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* For transparent logos that need padding */
.club-icon.club-logo.transparent img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.club-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.club-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-900);
}

.club-role {
    font-size: 0.85rem;
    color: var(--accent-purple);
    font-weight: 600;
    opacity: 1;
}

.club-date {
    font-size: 0.8rem;
    color: var(--gray-500);
    opacity: 0.6;
}

/* Club Timeline Visual */
.club-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
    padding-left: 0.5rem;
    border-left: 2px solid var(--gray-200);
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.timeline-dot {
    width: 8px;
    height: 8px;
    background: var(--gray-300);
    border-radius: 50%;
    position: absolute;
    left: -0.8rem;
}

.timeline-item.current .timeline-dot {
    background: var(--accent-purple);
    box-shadow: 0 0 8px rgba(124, 58, 237, 0.4);
}

.timeline-role {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
}

.timeline-item.current .timeline-role {
    color: var(--accent-purple);
}

.timeline-date {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.projects-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-item.reverse {
    direction: rtl;
}

.project-item.reverse>* {
    direction: ltr;
}

.project-visual {
    position: relative;
}

.project-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: 16px;
    overflow: hidden;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--gray-300);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
}

.project-thumbnail:hover .project-overlay {
    opacity: 1;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

.overlay-content {
    display: flex;
    gap: 1rem;
}

.project-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--white);
    color: var(--gray-900);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    transform: translateY(20px);
}

.project-thumbnail:hover .project-btn {
    transform: translateY(0);
}

.project-btn.primary {
    background: #ff0000;
    color: var(--white);
}

.project-btn:hover {
    transform: scale(1.05);
}

.project-number {
    position: absolute;
    bottom: -20px;
    right: -20px;
    font-size: 8rem;
    font-weight: 800;
    color: var(--gray-100);
    line-height: 1;
    pointer-events: none;
}

.project-info h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-tech-stack span {
    padding: 0.25rem 1rem;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.link-icon {
    width: 45px;
    height: 45px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gray-600);
    transition: all 0.4s var(--ease-out-expo);
}

.link-icon:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    transform: translateY(-3px);
}

.experience-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.exp-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 2rem;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.exp-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.1);
}

.exp-card:hover .exp-accent {
    transform: scaleY(1);
}

.exp-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--accent-gradient);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease-out-expo);
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.exp-company-logo {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.exp-meta {
    flex: 1;
}

.exp-role {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
}

.exp-company {
    font-size: 1rem;
    color: var(--accent-purple);
    margin: 0;
}

.exp-date {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
}

.cert-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    margin-top: 0.25rem;
}

.cert-pill:hover {
    color: var(--gray-900);
    border-color: var(--gray-400);
    background: var(--gray-50);
}

.certificate-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--accent-purple);
    color: var(--white);
    border-radius: 50%;
    font-size: 0.85rem;
    transition: all 0.3s var(--ease-out-expo);
}

.certificate-link:hover {
    background: var(--accent-blue);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.3);
}

.exp-body p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.exp-highlights {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.exp-highlights li {
    position: relative;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    padding-left: 1rem;
}

.exp-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-purple);
}

.exp-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.exp-tech span {
    padding: 0.25rem 1rem;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    font-family: var(--font-mono);
}

.github-showcase {
    display: grid;
    gap: 1.5rem;
}

.github-profile-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    padding: 2rem;
    background: var(--gray-900);
    border-radius: 20px;
    color: var(--white);
    align-items: center;
}

.github-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.avatar-ring {
    position: absolute;
    inset: -5px;
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.github-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.github-info p {
    color: var(--gray-400);
    margin-bottom: 1rem;
}

/* GitHub Highlight Hero Section */
.github-highlight {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a2e 100%);
    border: 1px solid rgba(124, 58, 237, 0.4);
    border-radius: 12px;
}

.highlight-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.highlight-text {
    font-size: 1rem;
    color: var(--white);
    line-height: 1.5;
}

.highlight-text strong {
    color: var(--accent-purple);
    font-weight: 600;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.5rem;
    background: var(--white);
    color: var(--gray-900);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s var(--ease-out-expo);
}

.github-link:hover {
    background: var(--accent-purple);
    color: var(--white);
    transform: translateY(-2px);
}

.github-stats-grid {
    display: flex;
    gap: 2rem;
}

.gh-stat {
    text-align: center;
}

.gh-stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.gh-stat-label {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* GitHub Contributions Graph */
.contributions-wrapper {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    overflow: hidden;
}

.contributions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.contributions-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contributions-header h3 i {
    color: var(--accent-purple);
}

.view-github-link {
    font-size: 0.85rem;
    color: var(--accent-purple);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.view-github-link:hover {
    color: var(--gray-900);
}

.contributions-graph-real {
    width: 100%;
    overflow-x: auto;
    padding: 0.5rem 0;
}

.github-chart-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.contributions-graph {
    display: grid;
    grid-template-columns: repeat(53, 1fr);
    gap: 3px;
    padding: 0.5rem 0;
    overflow-x: auto;
}

.contribution-week {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contribution-day {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    background: var(--gray-100);
    transition: all 0.2s ease;
}

.contribution-day:hover {
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.contribution-day.level-0 {
    background: #ebedf0;
}

.contribution-day.level-1 {
    background: #9be9a8;
}

.contribution-day.level-2 {
    background: #40c463;
}

.contribution-day.level-3 {
    background: #30a14e;
}

.contribution-day.level-4 {
    background: #216e39;
}

.contributions-legend {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.legend-label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.legend-boxes {
    display: flex;
    gap: 3px;
}

.legend-box {
    width: 12px;
    height: 12px;
    border-radius: 2px;
}

.legend-box.level-0 {
    background: #ebedf0;
}

.legend-box.level-1 {
    background: #9be9a8;
}

.legend-box.level-2 {
    background: #40c463;
}

.legend-box.level-3 {
    background: #30a14e;
}

.legend-box.level-4 {
    background: #216e39;
}

.repos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.repo-card {
    display: block;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.4s var(--ease-out-expo);
}

.repo-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.repo-icon {
    font-size: 1.2rem;
    color: var(--accent-purple);
    margin-bottom: 0.5rem;
}

.repo-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.repo-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.repo-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.repo-lang {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.lang-dot.python {
    background: #3572A5;
}

.lang-dot.javascript {
    background: #f7df1e;
}

.lang-dot.html {
    background: #e34c26;
}

.lang-dot.jupyter {
    background: #DA5B0B;
}

.repo-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.repo-stars i {
    color: #fbbf24;
}

.contact-wrapper {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.contact-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-description {
    font-size: 1.2rem;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.4s var(--ease-out-expo);
}

.contact-item:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}

.contact-details {
    text-align: left;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.contact-value {
    font-weight: 600;
    color: var(--gray-900);
}

.cta-large {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3rem;
    background: var(--gray-900);
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 100px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.cta-large:hover {
    background: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(124, 58, 237, 0.3);
}

.cta-icon {
    font-size: 1rem;
}

.cta-large:hover .cta-icon {
    animation: fly 0.6s ease forwards;
}

@keyframes fly {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, -10px);
        opacity: 0;
    }

    51% {
        transform: translate(-10px, 10px);
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

.cta-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0;
}

.cta-large:hover .cta-particles span {
    animation: particles 0.6s ease forwards;
}

.cta-particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cta-particles span:nth-child(2) {
    top: 80%;
    left: 20%;
    animation-delay: 0.1s;
}

.cta-particles span:nth-child(3) {
    top: 30%;
    right: 20%;
    animation-delay: 0.2s;
}

.cta-particles span:nth-child(4) {
    top: 70%;
    right: 10%;
    animation-delay: 0.05s;
}

.cta-particles span:nth-child(5) {
    top: 50%;
    left: 5%;
    animation-delay: 0.15s;
}

@keyframes particles {
    0% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }

    50% {
        transform: translate(20px, -20px) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(40px, -40px) scale(0);
        opacity: 0;
    }
}

.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--gray-200);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-nav {
    display: flex;
    gap: 2rem;
}

.footer-nav a {
    color: var(--gray-500);
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--gray-900);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all 0.4s var(--ease-out-expo);
}

.social-icon:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

.heart {
    color: #ef4444;
    animation: heartbeat 1s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1s var(--ease-out-expo);
}

.reveal-text.active {
    clip-path: inset(0 0 0 0);
}

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
    }

    .hero-visual {
        display: none;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-scroll-indicator {
        justify-content: center;
    }

    .about-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .project-item,
    .project-item.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .github-profile-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .github-stats-grid {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.4s var(--ease-out-expo);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-name {
        font-size: 3.5rem;
        justify-content: center;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .education-cards {
        grid-template-columns: 1fr;
    }

    .edu-card {
        grid-template-columns: 1fr;
    }

    .edu-year {
        flex-direction: row;
        justify-content: center;
    }

    .year-line {
        width: 40px;
        height: 2px;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .cursor-follower {
        display: none;
    }

    html,
    body,
    a,
    button {
        cursor: auto;
    }
}

@media (max-width: 480px) {
    .hero-name {
        font-size: 2.5rem;
    }

    .role-wrapper {
        flex-direction: column;
        font-size: 1.2rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .btn-creative,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    .project-number {
        font-size: 4rem;
        bottom: -10px;
        right: -10px;
    }

    .floating-elements {
        display: none;
    }
}

/* Animation styles matching club-card */
.project-item,
.exp-card,
.profile-frame {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
    transition: all 450ms cubic-bezier(0.2, 0, 0, 1);
}

.project-item.active,
.exp-card.active,
.profile-frame.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Scroll Animation Classes */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    opacity: 0;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.active {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    transform: translateY(0);
}