:root {
    --bg: #090e1a;
    --surface: #111827;
    --card: #141d2e;
    --border: #1e2d45;
    --cyan: #00d4ff;
    --cyan-dim: #00d4ff22;
    --white: #f0f6ff;
    --muted: #6b7fa3;
    --danger: #ff4d6d;
    --warning: #fbbf24;
    --success: #34d399;
    --text: #cdd6f4;


    /* * */


}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {

    font-size: 16px
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── NAV ── */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 4rem;
    background: rgba(9, 14, 26, .85);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    transition: padding .3s, transform .3s ease;

}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    letter-spacing: .04em;
}

.nav-logo span {
    color: var(--cyan)
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none
}

.nav-links a {
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: .06em;
    color: var(--muted);
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan)
}

.nav-cta {
    padding: .5rem 1.2rem;
    border: 1px solid var(--cyan);
    border-radius: 4px;
    color: var(--cyan);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background .2s, color .2s;
}

.nav-cta:hover {
    background: var(--cyan);
    color: var(--bg)
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: .3s
}

/* ── SECTIONS ── */
section {
    padding: 6rem 4rem;
    max-width: 1200px;
    margin: 0 auto
}

.section-eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1rem;
}

h2.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--cyan) 0%, transparent 60%);
    margin-bottom: 3.5rem;
    opacity: .35;
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 4rem;
    max-width: none;
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 70% 50%, rgba(0, 212, 255, .07) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(0, 212, 255, .04) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 212, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, .04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding-top: 6rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: .35rem .9rem;
    margin-bottom: 1.5rem;
    font-size: .75rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--muted);
    letter-spacing: .08em;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    box-shadow: 0 0 6px var(--success);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: .4
    }
}

.hero-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: .6rem;
}



.hero-name .cursor {
    display: inline-block;
    width: 3px;
    height: .85em;
    background: var(--cyan);
    margin-left: 4px;
    vertical-align: -.05em;
    animation: blink 1.1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 500;
    color: var(--cyan);
    letter-spacing: .04em;
    margin-bottom: 1.5rem;
}

.hero-intro {
    font-size: 1rem;
    color: var(--muted);
    max-width: 460px;
    line-height: 1.75;
    margin-bottom: 2.5rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.btn-primary {
    padding: .85rem 2rem;
    background: var(--cyan);
    color: var(--bg);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity .2s, transform .2s;
}

.btn-primary:hover {
    opacity: .85;
    transform: translateY(-2px)
}

.btn-ghost {
    padding: .85rem 2rem;
    border: 1px solid var(--border);
    color: var(--white);
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border-radius: 4px;
    text-decoration: none;
    transition: border-color .2s, color .2s, transform .2s;
}

.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    transform: translateY(-2px)
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
}

.hero-stat-label {
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: .05em
}

/* Profile picture side */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-avatar-wrap {
    position: relative;
    width: 320px;
    height: 320px;
}

.hero-avatar-wrap::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--cyan), transparent, var(--cyan));
    animation: spin 8s linear infinite;
}

.hero-avatar-wrap::after {
    content: '';
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: var(--bg);
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.hero-avatar {
    background-image: url("./assets/Indrajit_Image.jpg");
    background-position-y: -2rem;
    background-size: cover;
    position: absolute;
    background-repeat: no-repeat;
    inset: 6px;
    border-radius: 50%;
    background-color: var(--surface);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* .hero-avatar-placeholder {

    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--cyan);
    opacity: .6;
} */

.hero-tag {
    position: absolute;
    padding: .45rem .9rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 500;
    color: var(--white);
    white-space: nowrap;
}

.hero-tag-tl {
    top: -10px;
    left: -10px
}

.hero-tag-br {
    bottom: 10px;
    right: -30px
}

.hero-tag .tag-icon {
    color: var(--cyan);
    margin-right: .3rem
}

/* ── ABOUT ── */
#about .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem
}

.about-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.about-card {
    padding: 1.5rem;
    /* background: var(--card); */
    border: 1px solid var(--border);
    border-radius: 10px;
    border-left: 3px solid var(--cyan);
}

.about-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--white);
    font-size: .95rem;
    margin-bottom: .4rem;
}

.about-card p {
    font-size: .85rem;
    color: var(--muted)
}

/* ── SKILLS ── */
#skills .skills-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-group {
    background: #141d2e;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem
}

.skill-group-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}

.skill-group-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .9rem;
    margin: .3rem .3rem .3rem 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: .82rem;
    color: var(--text);
    transition: border-color .2s, color .2s;
}

.skill-tag:hover {
    border-color: var(--cyan);
    color: var(--cyan)
}

.skill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    flex-shrink: 0
}

/* ── PROJECTS ── */
#projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1.6rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
}

/* top accent line */
.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0.3;
    transition: opacity 0.4s;
}

/* background glow wash */
.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.project-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 40px rgba(0, 212, 255, 0.12);
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover::after {
    opacity: 1;
}

/* number */
.project-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.1em;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

/* title */
.project-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.7rem;
    transition: color 0.3s;
}

/* description */
.project-card p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

/* hover text color shifts */
.project-card:hover .project-num,
.project-card:hover h3 {
    color: var(--accent);
}

/* tags */
.project-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.proj-tag {
    padding: 0.25rem 0.65rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.07), transparent);
    border: 1px linear-gradient(135deg, rgba(0, 212, 255, 2));
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    transition: background 0.3s, border-color 0.3s;
}

.project-card:hover .proj-tag {

    background: linear-gradient(135deg, rgba(0, 212, 255, 0.13));
    border-color: linear-gradient(135deg, rgba(0, 212, 255, 0.4));
}


.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), transparent);
}

.project-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: .7rem;
    color: var(--muted);
    margin-bottom: .8rem;
    letter-spacing: .1em;
}

.project-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: .7rem;
}

.project-card p {
    font-size: .88rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.2rem
}

.project-tags {
    display: flex;
    gap: .5rem;
    flex-wrap: wrap
}

.proj-tag {
    padding: .25rem .65rem;
    background: var(--cyan-dim);
    border-radius: 4px;
    font-size: .72rem;
    font-weight: 600;
    color: var(--cyan);
    letter-spacing: .05em;
}

/* 1. Stagger Reveal */
.skill-group {
    transition: all .4s ease;
}

.skill-group:hover {
    cursor: default;
    transform:
        translateY(-12px) scale(1.02);

    border-color: var(--cyan);

    box-shadow:
        0 20px 40px rgba(0, 212, 255, .12),
        0 0 20px rgba(0, 212, 255, .08);

}

.skill-group {
    position: relative;
    overflow: hidden;
}

.skill-group::before {
    content: '';

    position: absolute;

    width: 250px;
    height: 250px;

    background:
        radial-gradient(circle,
            rgba(0, 212, 255, .18),
            transparent 70%);

    left: var(--x, -999px);
    top: var(--y, -999px);

    transform:
        translate(-50%, -50%);

    pointer-events: none;
}

/********/
/* .about-text,
.about-card {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
}

.about-text.show,
.about-card.show {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
} */

/* .about-text,
.about-card {
    transition:
        opacity 0.8s ease,
        transform 0.8s ease,
        filter 0.8s ease;
} */


.reveal {
    opacity: 0;
    transform: translateY(50px);
    /* filter: blur(10px); */

    transition:
        opacity .6s ease,
        transform .6s ease,
        filter .6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);

}

/********/
/* ── TEST CASES ── */
#testcases .tc-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border)
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: .87rem
}

thead {
    background: var(--surface)
}

thead th {
    padding: 1rem 1.2rem;
    text-align: left;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cyan);
    border-bottom: 1px solid var(--border);
}

tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background .15s
}

tbody tr:last-child {
    border-bottom: none
}

tbody tr:hover {
    background: var(--surface)
}

tbody td {
    padding: .9rem 1.2rem;
    color: var(--text)
}

.tc-id {
    font-family: 'JetBrains Mono', monospace;
    color: var(--cyan);
    font-size: .82rem
}

.status-pass {
    display: inline-block;
    padding: .2rem .65rem;
    border-radius: 100px;
    background: rgba(52, 211, 153, .12);
    color: var(--success);
    font-size: .75rem;
    font-weight: 600;
}

.status-fail {
    display: inline-block;
    padding: .2rem .65rem;
    border-radius: 100px;
    background: rgba(255, 77, 109, .12);
    color: var(--danger);
    font-size: .75rem;
    font-weight: 600;
}

.status-pending {
    display: inline-block;
    padding: .2rem .65rem;
    border-radius: 100px;
    background: rgba(251, 191, 36, .12);
    color: var(--warning);
    font-size: .75rem;
    font-weight: 600;
}

/* ── BUG REPORTS ── */
#bugs .bugs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem
}

.bug-card {
    /* background: var(--card); */
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color .2s;
}

.bug-card:hover {
    border-color: rgba(255, 77, 109, .4)
}

.bug-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem
}

.bug-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: .78rem;
    color: var(--muted);
    letter-spacing: .08em;
}

.severity {
    padding: .2rem .65rem;
    border-radius: 100px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
}

.sev-high {
    background: rgba(255, 77, 109, .15);
    color: var(--danger)
}

.sev-medium {
    background: rgba(251, 191, 36, .15);
    color: var(--warning)
}

.sev-low {
    background: rgba(52, 211, 153, .15);
    color: var(--success)
}

.bug-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.bug-row {
    display: flex;
    gap: .5rem;
    margin-bottom: .4rem;
    font-size: .83rem
}

.bug-label {
    color: var(--muted);
    min-width: 70px;
    font-weight: 500
}

.bug-val {
    color: var(--text)
}

/* ── CERTIFICATIONS ── */
#certifications .certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.cert-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color .2s, transform .2s;
}

.cert-card:hover {
    transform:
        perspective(1200px) rotateY(8deg) rotateX(4deg) translateY(-10px);

    border-color: var(--cyan);

    box-shadow:
        0 20px 40px rgba(0, 212, 255, .12);
}

.cert-img {
    height: 130px;
    background: var(--surface);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border);
}

.cert-icon {
    font-size: 2.5rem
}

.cert-body {
    padding: 1.2rem
}

.cert-name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--white);
    font-size: .95rem;
    margin-bottom: .3rem;
}

.cert-org {
    font-size: .78rem;
    color: var(--muted)
}

.cert-year {
    display: inline-block;
    margin-top: .7rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: .72rem;
    color: var(--cyan);
    border: 1px solid var(--cyan-dim);
    padding: .15rem .55rem;
    border-radius: 4px;
}

/* ── RESUME ── */
#resume .resume-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
}

.resume-preview {
    background: var(--surface);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
}

.resume-preview-icon {
    font-size: 3rem;
    opacity: .4
}

.resume-preview-text {
    font-size: .9rem;
    color: var(--muted)
}

.resume-actions {
    padding: 1.5rem 2rem;
    display: flex;
    gap: 1rem;
    align-items: center
}

.resume-actions p {
    font-size: .85rem;
    color: var(--muted);
    margin-right: auto
}

/* ── CONTACT ── */
#contact .contact-grid {
    display: grid;
    /* grid-template-columns: 1fr 1.4fr; */
    grid-template-columns: 1fr;
    gap: 4rem
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    text-decoration: none;
    transition: border-color .2s;
}

.contact-item:hover {
    border-color: var(--cyan)
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: var(--cyan-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item-label {
    font-size: .73rem;
    color: var(--muted);
    margin-bottom: .15rem;
    letter-spacing: .05em;
    text-transform: uppercase
}

.contact-item-val {
    font-size: .9rem;
    color: var(--white);
    font-weight: 500
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem
}

.form-field label {
    display: block;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .5rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: .85rem 1rem;
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: .9rem;
    outline: none;
    transition: border-color .2s;
    resize: none;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--cyan)
}

.form-field textarea {
    height: 130px
}

.form-submit {
    padding: 1rem 2rem;
    background: var(--cyan);
    color: var(--bg);
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
    width: 100%;
}

.form-submit:hover {
    opacity: .85;
    transform: translateY(-2px)
}

/* ── FOOTER ── */
footer {
    border-top: 1px solid var(--border);
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

footer p {
    font-size: .8rem;
    color: var(--muted)
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--white);
}

.footer-logo span {
    color: var(--cyan)
}

/* ── SCROLL ANIMATIONS ── */
/* .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s, transform .6s
}

.reveal.visible {
    opacity: 1;
    transform: none 
}


/* CHANGES */

/* hover effect selenium */


.hero-grid-lines {
    animation: gridMove 30s linear infinite;
}


.skill-group:hover {
    transform: translateY(-10px);
    transition: transform 0.3s ease-in-out;
}

.skill-tag:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

.cert-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

input:focus {
    box-shadow: 0 0 25px rgba(0, 212, 255, .25);
}



.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    z-index: 9999;
    background: linear-gradient(90deg, #00d4ff, #4f46e5);
}

.bg-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .15;
    pointer-events: none;
}

.blob1 {
    width: 300px;
    height: 300px;
    background: #00d4ff;
    top: 10%;
    left: 10%;
}

.blob2 {
    width: 250px;
    height: 250px;
    background: #4f46e5;
    right: 10%;
    top: 40%;
}

.blob3 {
    width: 200px;
    height: 200px;
    background: #00d4ff;
    bottom: 10%;
    left: 40%;
}

.hero-tag {
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.project-card {
    transform-style: preserve-3d;
    transition: all .3s ease;
}

.project-card:hover {
    cursor: default;
    box-shadow: 0 20px 60px rgba(0, 212, 255, .15);
}

.hero-avatar-wrap {
    transition: transform 0.15s ease-out;
    transform-style: preserve-3d;
}

.hero-avatar {
    transform: translateZ(30px);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.metric-card {
    padding: 40px;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 15px;
    transition: .4s;
}

.metric-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
}

.metric-card h3 {
    font-size: 3rem;
    color: var(--cyan);
}



.step {
    padding: 15px 25px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 50px;
    transition: .4s;
}

.step:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

.about-card {
    cursor: default;
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--cyan);

    box-shadow:
        0 15px 35px rgba(0, 212, 255, 0.12);
}

.edu-icon {
    display: inline-block;
    transition: transform .2s ease;
}

.about-card:hover .edu-icon {
    transform:
        rotate(-10deg) scale(1.15);
}

/* ****** */

.cert-card {
    transition: all .4s ease;
    transform-style: preserve-3d;
}

.cert-card:hover {

    transform:
        perspective(1200px) rotateY(-6deg) scale(1.03);

}

/* */
.bg-glow {
    z-index: 0;
}

nav,
main,
section,
footer {
    position: relative;
    z-index: 1;
}

.bg-glow {
    position: fixed;

    top: 20%;
    right: -100px;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(0, 212, 255, .25),
            transparent 70%);

    filter: blur(100px);

    pointer-events: none;

    z-index: 0;

    animation: floatBlob 10s ease-in-out infinite;
}

@keyframes floatBlob {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-50px);
    }

}

/* /* */


/*  */
nav {

    transition:
        transform .4s ease,
        background .3s ease,
        padding .3s ease;

}

.nav-hidden {

    transform: translateY(-100%);

}

.nav-scrolled {

    background:
        rgba(9, 14, 26, .95);

    backdrop-filter:
        blur(20px);

    border-bottom:
        1px solid var(--border);

}

/* */
/* ── MOBILE ── */
@media(max-width:900px) {
    #hero {
        padding: 120px 1.5rem 2rem;
    }

    /* .hero-avatar-wrap {
        width: 220px;
        height: 220px;
    } */

    .hero-inner {
        grid-template-columns: 1fr;
        padding-top: 7rem;
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
    }

    #certifications .certs-grid {
        grid-template-columns: 1fr !important;
        width: 100%;
    }

    .cert-card {
        width: 100%;
        max-width: 100%;
    }

    /* #hero {
        min-height: auto;
        padding: 7rem 1.5rem 3rem;
    } */

    /* .hero-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding-top: 0;
    } */

    html,
    body {
        overflow-x: hidden;
        width: 100%;
    }

    * {
        max-width: 100%;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
    }

    /* nav {
        padding: 1rem 1.5rem
    }

    .nav-links,
    .nav-cta {
        display: none
    }

    .hamburger {
        display: flex
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg);
        padding: 2rem;
        gap: 1.5rem;
        z-index: 99;
    }

    .nav-links.open a {
        font-size: 1.1rem
    } */
    nav {
        position: fixed;
        width: 100%;
        height: 70px;
        padding: 1rem 1.5rem;
        color: var(--card);
    }

    nav {
        z-index: 10000;
    }

    .nav-links.open {
        z-index: 9999;
    }

    .nav-links,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
        color: var(--card);
    }


    .nav-links.open {

        display: flex !important;
        flex-direction: column;

        position: fixed;
        opacity: 1;
        top: 70px;
        left: 0;

        width: 100%;


        padding: 1rem;
        height: calc(100vh - 70px);
        gap: 1.5rem;
        overflow-y: auto;
        z-index: 999;

        background:
            rgba(9, 14, 26, .98) !important;

        backdrop-filter:
            blur(20px);

        -webkit-backdrop-filter:
            blur(20px);

        border-top:
            1px solid var(--border);
    }

    .nav-links.open a {

        font-size: 1.1rem;

        padding: .8rem 0;

        border-bottom:
            1px solid rgba(255, 255, 255, .05);
    }




    .hero-visual {
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }

    section {
        padding: 3rem 1rem
    }

    #about .about-grid,
    #skills .skills-cols,
    .projects-grid,
    .bugs-grid,
    .certs-grid,
    #contact .contact-grid {
        grid-template-columns: 1fr
    }

    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding: 2rem 1.5rem
    }
}

.about-card,
.project-card,
.skill-group {
    transition: all .35s ease;
}

.skill-group,
.project-card,
.bug-card,
.cert-card,
.about-card {
    padding: 1rem;
    width: 100%;
    max-width: 100%;
}

/* .metrics-grid {
    grid-template-columns: 1fr;
} */

.metric-card {
    padding: 20px;
}