/* =============================================
   SRUTHY SUGATHAN – SENIOR BACKUP ARCHITECT
   Cyber / Tech Dark Theme
   ============================================= */

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

:root {
    --bg: #060611;
    --bg2: #0c0c1d;
    --bg3: rgba(255, 255, 255, 0.025);
    --glass: rgba(255, 255, 255, 0.045);
    --glass-h: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.07);
    --border-h: rgba(0, 210, 255, 0.25);
    --txt: #e8e8f0;
    --txt2: #9a9ab8;
    --txt3: #5e5e78;
    --cyan: #00d2ff;
    --teal: #00c9a7;
    --purple: #7c5cfc;
    --pink: #ff6b9d;
    --grad: linear-gradient(135deg, #00d2ff 0%, #7c5cfc 100%);
    --grad2: linear-gradient(135deg, #00c9a7 0%, #00d2ff 100%);
    --glow: 0 0 50px rgba(0, 210, 255, 0.12);
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 22px;
    --r-xl: 30px;
    --ff: 'Inter', -apple-system, sans-serif;
    --fd: 'Space Grotesk', 'Inter', sans-serif;
    --ease: cubic-bezier(.4, 0, .2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--ff);
    background: var(--bg);
    color: var(--txt);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

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

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

/* ===== GRID BACKGROUND ===== */
.grid-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: rgba(0, 210, 255, 0.04);
}

.grid-h-1,
.grid-h-2,
.grid-h-3 {
    width: 100%;
    height: 1px;
}

.grid-h-1 {
    top: 25%;
}

.grid-h-2 {
    top: 50%;
}

.grid-h-3 {
    top: 75%;
}

.grid-v-1,
.grid-v-2,
.grid-v-3 {
    height: 100%;
    width: 1px;
}

.grid-v-1 {
    left: 25%;
}

.grid-v-2 {
    left: 50%;
}

.grid-v-3 {
    left: 75%;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .25;
    animation: drift 25s ease-in-out infinite;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: var(--cyan);
    top: -5%;
    left: -8%;
}

.glow-2 {
    width: 420px;
    height: 420px;
    background: var(--purple);
    top: 45%;
    right: -6%;
    animation-delay: -8s;
}

.glow-3 {
    width: 380px;
    height: 380px;
    background: var(--teal);
    bottom: 5%;
    left: 30%;
    animation-delay: -16s;
}

@keyframes drift {

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

    33% {
        transform: translate(50px, -30px) scale(1.08);
    }

    66% {
        transform: translate(-40px, 50px) scale(.92);
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: .35s var(--ease);
}

.navbar.stuck {
    padding: 10px 0;
    background: rgba(6, 6, 17, .88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--fd);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 6px;
    align-items: center;
}

.nav-menu a {
    padding: 7px 15px;
    border-radius: var(--r-sm);
    font-size: .85rem;
    font-weight: 500;
    color: var(--txt2);
    transition: .3s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--txt);
    background: var(--glass);
}

.nav-menu .nav-btn {
    background: var(--grad);
    color: #fff;
    font-weight: 600;
}

.nav-menu .nav-btn:hover {
    opacity: .9;
    transform: translateY(-1px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--txt);
    border-radius: 2px;
    transition: .3s var(--ease);
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 110px 24px 50px;
}

.hero-wrapper {
    max-width: 1180px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 100px;
    background: rgba(0, 210, 255, .08);
    border: 1px solid rgba(0, 210, 255, .15);
    font-size: .78rem;
    font-weight: 600;
    color: var(--cyan);
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 201, 167, .4)
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 201, 167, 0)
    }
}

.hero-name {
    font-family: var(--fd);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 12px;
    letter-spacing: -.02em;
}

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

.hero-role {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--txt2);
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--txt2);
    max-width: 540px;
    margin-bottom: 24px;
    line-height: 1.8;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.htag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 500;
    background: var(--glass);
    border: 1px solid var(--border);
    color: var(--txt2);
}

.htag svg {
    color: var(--cyan);
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cta-fill {
    padding: 14px 30px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: .95rem;
    background: var(--grad);
    color: #fff;
    transition: .3s var(--ease);
    box-shadow: 0 4px 24px rgba(0, 210, 255, .2);
}

.cta-fill:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 210, 255, .3);
}

.cta-ghost {
    padding: 14px 30px;
    border-radius: var(--r-md);
    font-weight: 600;
    font-size: .95rem;
    border: 1.5px solid var(--border);
    color: var(--txt);
    transition: .3s var(--ease);
}

.cta-ghost:hover {
    border-color: var(--cyan);
    background: var(--glass);
    transform: translateY(-2px);
}

/* Profile */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.profile-frame {
    width: 300px;
    height: 300px;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg);
    position: relative;
    z-index: 2;
    background: var(--bg2);
}

.profile-border {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--grad);
    z-index: 1;
    animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

/* Floating Metrics */
.metric {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 18px;
    border-radius: var(--r-md);
    background: rgba(6, 6, 17, .9);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    z-index: 3;
    animation: bob 5s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

.metric-val {
    font-family: var(--fd);
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-lbl {
    font-size: .65rem;
    color: var(--txt3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-1 {
    top: 5%;
    right: -5%;
    animation-delay: 0s;
}

.metric-2 {
    top: 45%;
    left: -12%;
    animation-delay: -1.5s;
}

.metric-3 {
    bottom: 5%;
    right: -8%;
    animation-delay: -3s;
}

.metric-4 {
    bottom: -8%;
    left: 5%;
    animation-delay: -4s;
}

@keyframes bob {

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

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

/* Scroll cue */
.scroll-cue {
    margin-top: auto;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-track {
    width: 24px;
    height: 40px;
    border: 2px solid var(--txt3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-ball {
    width: 4px;
    height: 10px;
    background: var(--cyan);
    border-radius: 4px;
    animation: sball 2s ease-in-out infinite;
}

@keyframes sball {

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

    50% {
        transform: translateY(10px);
        opacity: .3
    }
}

.scroll-cue span {
    font-size: .7rem;
    color: var(--txt3);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===== SECTIONS ===== */
.sec {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.sec-dark {
    background: rgba(255, 255, 255, .01);
}

.sec-head {
    text-align: center;
    margin-bottom: 56px;
}

.sec-chip {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: var(--grad);
    color: #fff;
    margin-bottom: 14px;
}

.sec-head h2 {
    font-family: var(--fd);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -.02em;
}

/* ===== ABOUT ===== */
.about-body {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-copy p {
    color: var(--txt2);
    font-size: 1rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.about-copy strong {
    color: var(--txt);
}

.about-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-radius: var(--r-md);
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease);
}

.info-card:hover {
    background: var(--glass-h);
    border-color: var(--border-h);
    transform: translateX(6px);
}

.ic-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 210, 255, .1) 0%, rgba(124, 92, 252, .05) 100%);
    color: var(--cyan);
}

.ic-label {
    display: block;
    font-size: .72rem;
    color: var(--txt3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.ic-value {
    font-size: .92rem;
    font-weight: 600;
    color: var(--txt);
}

/* ===== EXPERIENCE ===== */
.exp-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exp-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 32px;
    padding: 36px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease);
}

.exp-card:hover {
    background: var(--glass-h);
    border-color: var(--border-h);
    box-shadow: var(--glow);
}

.exp-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 4px;
}

.exp-period {
    font-size: .82rem;
    font-weight: 600;
    color: var(--cyan);
}

.exp-dur {
    font-size: .75rem;
    color: var(--txt3);
}

.exp-top {
    margin-bottom: 16px;
}

.exp-top h3 {
    font-family: var(--fd);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.exp-company {
    display: block;
    font-size: .88rem;
    color: var(--txt3);
}

.exp-current {
    display: inline-block;
    margin-top: 8px;
    padding: 3px 14px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(0, 201, 167, .12);
    color: var(--teal);
}

.exp-points {
    margin-top: 4px;
}

.exp-points li {
    position: relative;
    padding-left: 18px;
    font-size: .88rem;
    color: var(--txt2);
    line-height: 1.7;
    margin-bottom: 6px;
}

.exp-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
}

/* ===== PROJECTS ===== */
.proj-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.proj-card {
    position: relative;
    padding: 32px 24px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease);
    overflow: hidden;
}

.proj-card:hover {
    background: var(--glass-h);
    transform: translateY(-6px);
    box-shadow: var(--glow);
    border-color: var(--border-h);
}

.proj-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
}

.proj-card h3 {
    font-family: var(--fd);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    margin-top: 4px;
}

.proj-scope {
    display: inline-block;
    font-size: .7rem;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.proj-card p {
    font-size: .85rem;
    color: var(--txt2);
    line-height: 1.6;
}

.proj-card strong {
    color: var(--txt);
}

/* ===== SKILLS ===== */
.skill-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.skill-group {
    padding: 28px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease);
}

.skill-group:hover {
    background: var(--glass-h);
    border-color: var(--border-h);
}

.skill-group h3 {
    font-family: var(--fd);
    font-size: .92rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.skill-group h3 svg {
    color: var(--cyan);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: .78rem;
    font-weight: 500;
    background: rgba(0, 210, 255, .06);
    border: 1px solid rgba(0, 210, 255, .12);
    color: var(--txt2);
    transition: .3s var(--ease);
}

.tags span:hover {
    background: rgba(0, 210, 255, .14);
    color: var(--txt);
    transform: translateY(-2px);
}

/* ===== EDUCATION & CERTS ===== */
.edu-certs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.edu-block {
    padding: 40px 32px;
    border-radius: var(--r-lg);
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease);
}

.edu-block:hover {
    background: var(--glass-h);
    transform: translateY(-4px);
    box-shadow: var(--glow);
}

.edu-icon-wrap {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 210, 255, .1), rgba(124, 92, 252, .05));
    color: var(--cyan);
}

.edu-tag {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--cyan);
    margin-bottom: 10px;
}

.edu-block h3 {
    font-family: var(--fd);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.edu-block h4 {
    font-size: .95rem;
    font-weight: 500;
    color: var(--txt2);
    margin-bottom: 8px;
}

.edu-block p {
    font-size: .85rem;
    color: var(--txt3);
    margin-bottom: 12px;
}

.edu-year {
    display: inline-block;
    padding: 5px 18px;
    border-radius: 100px;
    background: rgba(0, 210, 255, .08);
    color: var(--cyan);
    font-size: .8rem;
    font-weight: 600;
}

.cert-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 24px;
    border-radius: var(--r-lg);
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease);
}

.cert-item:hover {
    background: var(--glass-h);
    transform: translateX(6px);
    border-color: var(--border-h);
}

.cert-medal {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 210, 255, .12), rgba(124, 92, 252, .08));
    color: var(--cyan);
}

.cert-item h3 {
    font-family: var(--fd);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.cert-item p {
    font-size: .82rem;
    color: var(--txt3);
}

/* ===== AWARDS ===== */
.award-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.award-card {
    padding: 32px 20px;
    border-radius: var(--r-lg);
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease);
}

.award-card:hover {
    background: var(--glass-h);
    transform: translateY(-6px);
    box-shadow: var(--glow);
    border-color: var(--border-h);
}

.award-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.award-card h3 {
    font-family: var(--fd);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.award-card p {
    font-size: .78rem;
    color: var(--txt3);
    margin-bottom: 10px;
}

.award-year {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    background: rgba(124, 92, 252, .1);
    color: var(--purple);
    font-size: .72rem;
    font-weight: 600;
}

/* ===== VOLUNTEERING ===== */
.volunteer-list {
    max-width: 800px;
    margin: 0 auto;
}

.vol-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 24px;
    border-radius: var(--r-md);
    background: var(--glass);
    border: 1px solid var(--border);
    margin-bottom: 12px;
    transition: .3s var(--ease);
}

.vol-item:hover {
    background: var(--glass-h);
    border-color: var(--border-h);
    transform: translateX(4px);
}

.vol-dot {
    width: 10px;
    height: 10px;
    min-width: 10px;
    border-radius: 50%;
    background: var(--grad);
    margin-top: 8px;
}

.vol-item p {
    font-size: .9rem;
    color: var(--txt2);
}

/* ===== CONTACT ===== */
.contact-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.con-card {
    padding: 36px 24px;
    border-radius: var(--r-lg);
    text-align: center;
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    transition: .3s var(--ease);
    cursor: default;
}

a.con-card {
    cursor: pointer;
}

.con-card:hover {
    background: var(--glass-h);
    transform: translateY(-6px);
    box-shadow: var(--glow);
    border-color: var(--border-h);
}

.con-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 210, 255, .1), rgba(124, 92, 252, .05));
    color: var(--cyan);
}

.con-card h3 {
    font-family: var(--fd);
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.con-card p {
    font-size: .82rem;
    color: var(--txt3);
    word-break: break-word;
}

/* ===== FOOTER ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 48px 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.f-name {
    font-family: var(--fd);
    font-size: 1.2rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.f-role {
    color: var(--txt3);
    font-size: .82rem;
    margin-top: 4px;
}

.f-line {
    width: 40px;
    height: 2px;
    background: var(--border);
    margin: 18px auto;
}

.f-copy {
    font-size: .72rem;
    color: var(--txt3);
}

/* ===== SCROLL ANIMATIONS ===== */
.anim-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.anim-up.show {
    opacity: 1;
    transform: translateY(0);
}

.anim-up.d2 {
    transition-delay: .1s;
}

.anim-up.d3 {
    transition-delay: .2s;
}

.anim-up.d4 {
    transition-delay: .3s;
}

.anim-up.d5 {
    transition-delay: .4s;
}

.anim-up.d6 {
    transition-delay: .5s;
}

/* ===== RESPONSIVE ===== */
@media(max-width:1024px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-right {
        order: -1;
    }

    .hero-desc {
        margin: 0 auto 24px;
    }

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

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

    .profile-frame {
        width: 250px;
        height: 250px;
    }

    .about-body {
        grid-template-columns: 1fr;
    }

    .exp-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .proj-grid {
        grid-template-columns: 1fr 1fr;
    }

    .skill-grid {
        grid-template-columns: 1fr 1fr;
    }

    .award-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 260px;
        height: 100vh;
        background: rgba(6, 6, 17, .96);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        padding: 40px;
        transition: right .4s var(--ease);
        border-left: 1px solid var(--border);
    }

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

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .sec {
        padding: 70px 0;
    }

    .hero {
        padding: 100px 20px 40px;
    }

    .profile-frame {
        width: 210px;
        height: 210px;
    }

    .metric-2 {
        left: -5%;
    }

    .metric-3 {
        right: -2%;
    }

    .proj-grid {
        grid-template-columns: 1fr;
    }

    .skill-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-row {
        grid-template-columns: 1fr;
    }

    .exp-card {
        padding: 24px 20px;
    }
}

@media(max-width:480px) {
    .award-grid {
        grid-template-columns: 1fr;
    }

    .hero-name {
        font-size: 2rem;
    }
}

/* Selection */
::selection {
    background: rgba(0, 210, 255, .25);
    color: #fff;
}