@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Space+Mono:wght@400;700&family=Inter:wght@300;400;500;600;700&display=swap');

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

::selection {
    background: #000;
    color: #FF4D00
}

:root {
    --orange: #FF4D00;
    --black: #050505;
    --white: #FFFFFF;
    --muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.05)
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    background: linear-gradient(135deg, #050505 0%, #0f0f1e 50%, #1a0a2e 100%);
    background-attachment: fixed;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    transition: background-color 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

@media(pointer:fine) {

    html,
    body {
        cursor: none
    }
}

.cursor {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform .2s cubic-bezier(.23, 1, .32, 1);
    mix-blend-mode: difference
}

.cursor-reveal {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 0; /* Behind content but visible via background-attachment fixed */
    background-image: 
        linear-gradient(rgba(255, 77, 0, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 0, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 0.5s ease;
    transform: translate(-50%, -50%);
    mask-image: radial-gradient(circle, black 0%, transparent 70%);
}

.cursor.hover {
    transform: scale(6)
}

@media(pointer:coarse) {
    .cursor, .cursor-reveal {
        display: none
    }
}

/* Light Leaks */
.light-leak {
    position: fixed;
    border-radius: 9999px;
    filter: blur(120px);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: screen
}

.leak-1 {
    width: 600px;
    height: 600px;
    background: #f97316;
    top: -200px;
    right: -150px;
    opacity: .08;
    animation: floatLeak 15s ease-in-out infinite;
}

.leak-2 {
    width: 500px;
    height: 500px;
    background: #1e3a8a;
    bottom: -150px;
    left: -150px;
    opacity: .07;
    animation: floatLeak 18s ease-in-out infinite reverse;
}

.leak-3 {
    width: 400px;
    height: 400px;
    background: var(--orange);
    top: 40%;
    left: 60%;
    opacity: .05;
    animation: floatLeak 20s ease-in-out infinite;
}

@keyframes floatLeak {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 30px); }
}

/* Grain */
.grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: .04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: grain .5s steps(5) infinite
}

@keyframes grain {

    0%,
    100% {
        transform: translate(0)
    }

    10% {
        transform: translate(-5%, -10%)
    }

    30% {
        transform: translate(7%, -25%)
    }

    50% {
        transform: translate(-15%, 10%)
    }

    70% {
        transform: translate(0, 15%)
    }

    90% {
        transform: translate(-10%, 10%)
    }
}

/* Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: opacity .6s, visibility .6s
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden
}

.loader-counter {
    font-family: 'Archivo Black', sans-serif;
    font-size: 20vw;
    color: var(--orange);
    letter-spacing: -.05em;
    line-height: 1;
    position: relative;
    z-index: 2
}

.loader-marquee {
    position: absolute;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.loader-marquee-inner {
    font-family: 'Archivo Black', sans-serif;
    font-size: 12vw;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 77, 0, 0.3);
    animation: loaderMarquee 15s linear infinite;
    display: inline-block;
}

@keyframes loaderMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Floating Pill Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: difference
}

.logo {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: -.02em
}

.nav-pill {
    position: fixed;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 9999px;
    padding: .7rem;
    display: flex;
    gap: .3rem;
    z-index: 1001;
    border: 1.5px solid rgba(255, 77, 0, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.nav-indicator {
    position: absolute;
    height: calc(100% - 1.4rem);
    background: linear-gradient(135deg, var(--orange), rgba(255, 77, 0, 0.7));
    border-radius: 9999px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: -1;
    box-shadow: 0 8px 25px rgba(255, 77, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.nav-pill a {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: .6rem 1.2rem;
    border-radius: 9999px;
    transition: all .3s;
    position: relative;
}

.nav-pill a:hover {
    color: #fff;
}

.nav-pill a.active {
    color: #000;
}

.social-header {
    display: flex;
    gap: 1rem;
    align-items: center
}

.social-header a {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .1em;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .3s
}

.social-header a:hover {
    color: var(--orange)
}

/* Section Container */
.section-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden
}

.section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    visibility: hidden;
    transition: all .8s cubic-bezier(.22, 1, .36, 1);
    overflow-y: auto;
    padding: 8rem 2rem 6rem;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 77, 0, 0.02) 50%, transparent 100%);
}

.section>div {
    margin-top: auto;
    margin-bottom: auto
}

.section.active {
    opacity: 1;
    visibility: visible
}

/* Reveal animation with Masking */
.section.active .reveal-up .mask-line > span {
    animation: revealMask 1.2s cubic-bezier(.22, 1, .36, 1) forwards;
}

.mask-line {
    display: block;
    overflow: hidden;
    line-height: 0.8; /* Ensure the mask itself is tight */
}

.mask-line > span {
    display: inline-block;
    transform: translateY(110%);
}

@keyframes revealMask {
    to {
        transform: translateY(0);
    }
}

@keyframes revealUp {
    from {
        transform: translateY(40px);
        opacity: 0
    }

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

/* Custom reveal for centered elements */
.scroll-indicator.reveal-up {
    animation: revealUpCentered 1.2s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes revealUpCentered {
    from {
        transform: translate(-50%, 40px);
        opacity: 0
    }
    to {
        transform: translate(-50%, 0);
        opacity: 1
    }
}

.magnetic {
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
}

/* Hero */
#section-0 {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    padding: 0 3rem;
    width: 100%;
    position: relative;
    z-index: 5;
    text-align: center;
    animation: fadeInHero 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    margin: 0 auto;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1); /* Subtle divider */
    margin: 1.5rem 0;
}

.hero-tag {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .5em;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 1.5rem
}

.hero-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 14vw; /* Slightly reduced for exact fit */
    line-height: .8;
    letter-spacing: -.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
    transition: all 0.3s;
}

.hero-title-outline {
    -webkit-text-stroke: 2px #fff;
    -webkit-text-fill-color: transparent;
    font-style: italic;
}

.hero-title-solid:hover {
    animation: textGlitch 0.2s linear infinite;
    display: inline-block;
}

@keyframes textGlitch {
    0% { text-shadow: 1px 0 0 rgba(255, 255, 255, 0.3), -1px 0 0 rgba(255, 77, 0, 0.3); }
    25% { text-shadow: -1px 0 0 rgba(255, 255, 255, 0.3), 1px 0 0 rgba(255, 77, 0, 0.3); transform: translate(0.5px, 0); }
    50% { text-shadow: 1px 0 0 rgba(255, 255, 255, 0.3), -1px 0 0 rgba(255, 77, 0, 0.3); transform: translate(-0.5px, 0); }
    75% { text-shadow: -1px 0 0 rgba(255, 255, 255, 0.3), 1px 0 0 rgba(255, 77, 0, 0.3); transform: translate(0, 0.5px); }
    100% { text-shadow: 1px 0 0 rgba(255, 255, 255, 0.3), -1px 0 0 rgba(255, 77, 0, 0.3); transform: translate(0, -0.5px); }
}

.hero-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 2.5rem 0;
}

.hero-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem 0;
    margin-top: 1rem;
    gap: 2rem;
}

.hero-meta-item {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .2em;
    color: var(--muted);
    text-transform: uppercase
}

.hero-meta-item.right {
    text-align: right;
    max-width: 200px;
    line-height: 1.6
}

.hero-availability {
    display: inline-block;
    margin-top: 1rem;
    padding: .6rem 1.8rem;
    border: 2px solid var(--orange);
    border-radius: 12px;
    color: var(--orange);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-availability:hover {
    background: var(--orange);
    color: #000;
}

/* Rotating Scroll Indicator */
.scroll-indicator-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.scroll-indicator {
    width: 120px;
    height: 120px;
    position: relative;
    z-index: 100;
    pointer-events: none;
}

.scroll-indicator svg {
    animation: spin 12s linear infinite;
    width: 100%;
    height: 100%
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.scroll-indicator .arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    color: #fff
}

.scroll-text {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    fill: #fff;
    letter-spacing: .1em
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    max-width: 1400px;
    padding: 2rem 3rem;
    width: 100%;
    align-items: center;
    margin: 0 auto;
}


.about-left h2 span {
    color: var(--orange)
}

.about-left h2 {
    font-family: 'Archivo Black', sans-serif;
    font-size: 4.5vw;
    line-height: .95;
    letter-spacing: -.04em;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.about-left h2 span {
    color: var(--orange)
}

.about-text {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.stats-row {
    display: flex;
    gap: 2.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border)
}

.stat-value {
    font-family: 'Archivo Black', sans-serif;
    font-size: 2.2rem;
    color: var(--orange);
    line-height: 1;
    margin-bottom: .5rem;
}

.stat-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: .3em;
    color: var(--muted);
    text-transform: uppercase;
}

.about-image {
    aspect-ratio: 4/5;
    max-height: 60vh;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-image-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 77, 0, .15), rgba(30, 58, 138, .1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem
}

/* Marquee */
.marquee-section {
    width: 100%;
    background: #000;
    padding: 2rem 0;
    transform: skewY(-2deg);
    overflow: hidden;
    position: relative
}

.marquee-row {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite
}

.marquee-row.reverse {
    animation-direction: reverse
}

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

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

.marquee-text {
    font-family: 'Archivo Black', sans-serif;
    font-size: 8vw;
    text-transform: uppercase;
    letter-spacing: -.04em;
    padding: 0 2rem;
    flex-shrink: 0
}

.marquee-text.orange {
    color: var(--orange)
}

.marquee-text.white {
    color: rgba(255, 255, 255, .15)
}

.marquee-sep {
    color: var(--orange);
    padding: 0 2rem;
    font-size: 8vw;
    opacity: .3
}

/* Projects */
.projects-content {
    max-width: 1400px;
    padding: 3rem 3rem;
    width: 100%;
    margin: 0 auto;
}

.section-heading {
    font-family: 'Archivo Black', sans-serif;
    font-size: 6vw;
    line-height: .9;
    text-transform: uppercase;
    letter-spacing: -.04em;
    margin-bottom: 3rem;
    width: 100%;
    text-align: left;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    aspect-ratio: 16/10;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 77, 0, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all .6s cubic-bezier(.23, 1, .32, 1);
    perspective: 1000px;
    transform-style: preserve-3d;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    cursor: pointer;
}

.project-blueprint {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 77, 0, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 77, 0, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.3;
    transition: opacity 0.5s;
    z-index: 0;
}

.project-card:hover .project-blueprint {
    opacity: 0.8;
}

.project-card:hover {
    border-color: var(--orange);
    box-shadow: 0 40px 100px rgba(255, 77, 0, 0.25), 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-10px) scale(1.01);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 77, 0, 0.05) 100%);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, .95), rgba(0, 0, 0, .5), transparent);
    z-index: 2;
}

.project-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 1.2rem;
    text-transform: uppercase;
    margin-bottom: .35rem;
    letter-spacing: -.02em;
}

.project-category {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: .3em;
    color: var(--orange);
    text-transform: uppercase
}

.project-desc {
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
    margin-top: .75rem;
    line-height: 1.6;
    font-weight: 300;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    background: linear-gradient(135deg, rgba(255, 77, 0, .1), rgba(30, 58, 138, .08))
}

.project-number {
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--orange);
    font-weight: 700;
    z-index: 2
}

/* Skills - Brutalist List */
.skills-content {
    max-width: 1400px;
    padding: 3rem 3rem;
    width: 100%;
    margin: 0 auto;
}

.skill-row {
    display: flex;
    align-items: center;
    padding: 3rem 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    transition: all .4s cubic-bezier(.23, 1, .32, 1);
    gap: 2.5rem;
    position: relative;
    border-radius: 12px;
    margin: 0.5rem 0;
    cursor: pointer;
}

.skill-row:hover {
    background: rgba(255, 77, 0, 0.06);
    border-color: rgba(255, 77, 0, 0.4);
    padding-left: 3rem;
    box-shadow: inset 0 1px 0 rgba(255, 77, 0, 0.2);
}

.skill-gear {
    font-size: 2rem;
    opacity: 0.1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: rotate(0deg);
}

.skill-row:hover .skill-gear {
    opacity: 1;
    transform: rotate(180deg);
    color: var(--orange);
}

.skill-row:hover .skill-row-title {
    transform: translateX(10px);
    color: var(--orange)
}

.skill-row:hover .skill-arrow {
    opacity: 1;
    transform: rotate(-45deg)
}

.skill-index {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: var(--orange);
    min-width: 3.5rem;
    font-weight: 700;
}

.skill-row-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 4vw;
    text-transform: uppercase;
    letter-spacing: -.02em;
    transition: all .4s cubic-bezier(.23, 1, .32, 1);
    flex: 1
}

.skill-tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap;
    align-items: center;
}

.skill-pill {
    padding: .5rem 1.1rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 9999px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
    transition: all .3s cubic-bezier(0.23, 1, 0.32, 1);
    background: rgba(255, 255, 255, 0.03);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.skill-pill:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(255, 77, 0, 0.08);
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.15);
    transform: translateY(-2px);
}

.skill-row:hover .skill-pill {
    border-color: var(--orange);
    color: var(--orange)
}

.skill-arrow {
    font-size: 2rem;
    color: var(--orange);
    opacity: 0;
    transition: all .4s;
    transform: rotate(0deg)
}

/* Experience */
.exp-role {
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 700
}

.experience-link {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    color: var(--orange);
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-top: 2rem;
    padding-bottom: 2px;
    border-bottom: 2px solid var(--orange);
    transition: all .3s cubic-bezier(0.23, 1, 0.32, 1);
}

.experience-link:hover {
    gap: 1.2rem;
    border-bottom-width: 2px;
    transform: translateX(4px);
}

/* Education */
.education-content {
    max-width: 1400px;
    padding: 3rem 3rem;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.education-card {
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.05) 0%, rgba(30, 58, 138, 0.02) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.education-card:hover {
    border-color: var(--orange);
    box-shadow: 0 20px 70px rgba(255, 77, 0, 0.15), 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.08) 0%, rgba(30, 58, 138, 0.03) 100%);
}

.edu-degree {
    font-family: 'Archivo Black', sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: -.02em;
    margin-bottom: .5rem;
    background: linear-gradient(135deg, var(--orange), rgba(255, 77, 0, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.edu-institution {
    color: var(--orange);
    font-family: 'Space Mono', monospace;
    font-size: 13px;
    letter-spacing: .1em;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 2.5rem;
}

.edu-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem
}

.edu-detail-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: .3em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: .3rem
}

.edu-detail-value {
    font-size: 1.05rem;
    color: #fff;
    font-weight: 500
}

/* Contact - Giant CTA */
#section-6 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0;
}

.contact-content {
    text-align: center;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 3rem;
}

.contact-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 13vw; /* Slightly reduced for better vertical fit */
    line-height: .75;
    letter-spacing: -.04em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-title .mask-line {
    margin: -1vw 0; /* Tight but safe */
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 3.8rem;
    background: linear-gradient(135deg, var(--orange), rgba(255, 77, 0, 0.8));
    color: #fff;
    border: 2px solid var(--orange);
    border-radius: 12px;
    font-family: 'Space Mono', monospace;
    font-size: 12px;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 20px 60px rgba(255, 77, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all .4s cubic-bezier(.23, 1, .32, 1);
    position: relative;
    overflow: hidden;
    font-weight: 600;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 0;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 90px rgba(255, 77, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.98), var(--orange));
    border-color: #fff;
}

.cta-button:active {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(255, 77, 0, 0.2);
}

.modern-social-wrapper {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.modern-social-container {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modern-social-btn {
    clip-path: url(#squircleClip);
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.modern-social-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: var(--orange);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.modern-social-btn:hover::after {
    height: 100%;
}

.modern-social-btn:hover {
    transform: translateY(-5px);
    border-color: var(--orange);
}

.modern-social-btn.gh-btn {
    background: linear-gradient(to bottom right, #374151, #111827);
    border-color: rgba(75, 85, 99, 0.5);
}

.modern-social-btn.in-btn {
    background: linear-gradient(to bottom right, #2563eb, #1e40af);
    border-color: rgba(59, 130, 246, 0.5);
}

.modern-social-btn.mail-btn {
    background: linear-gradient(to bottom right, #ea580c, #9a3412);
    border-color: rgba(234, 88, 12, 0.5);
}

.modern-social-btn:hover {
    transform: scale(1.1) translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(255, 77, 0, 0.2);
    border-color: var(--orange);
}

.social-svg {
    width: 2rem;
    height: 2rem;
    z-index: 1;
}

.footer-text {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: .15em;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    margin-top: 3rem;
}
    font-size: 9px;
    letter-spacing: .3em;
    color: var(--muted);
    text-transform: uppercase;
    margin-top: 2rem
}

.footer-border {
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, .05);
    margin-bottom: 2rem
}

/* Nav dots */
.nav-dots {
    position: fixed;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 999
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    transition: all .3s;
    cursor: pointer
}

.nav-dot.active {
    background: var(--orange);
    transform: scale(2)
}

.nav-dot:hover {
    background: var(--orange)
}

/* Progress */
.section-progress {
    position: fixed;
    bottom: 3rem;
    left: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 999;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: .3em
}

.progress-current {
    color: var(--orange);
    font-weight: 700
}

.progress-line {
    width: 48px;
    height: 1px;
    background: rgba(255, 255, 255, .15)
}

.progress-total {
    color: rgba(255, 255, 255, .2)
}

/* Responsive */
@media(max-width:768px) {
    header {
        padding: 1rem 1.5rem
    }

    .nav-pill {
        display: none
    }

    .hero-title {
        font-size: 20vw
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem
    }

    .about-right {
        display: none
    }

    .projects-grid {
        grid-template-columns: 1fr
    }

    .skill-row-title {
        font-size: 7vw
    }

    .section-heading {
        font-size: 12vw
    }

    .contact-title {
        font-size: 16vw
    }

    .hero-meta {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start
    }

    .stats-row {
        gap: 1.5rem
    }

    .section-progress {
        bottom: 1rem;
        left: 1.5rem
    }

    .nav-dots {
        right: 1.5rem
    }

    .edu-degree {
        font-size: 1.8rem
    }
}