:root {
    --bg: #08090d;
    --bg-soft: #0d0f15;
    --card: #101219;
    --card-hover: #141720;

    --text: #f4f4f5;
    --text-soft: #a1a1aa;
    --text-muted: #71717a;

    --border: rgba(255, 255, 255, 0.08);

    --green: #7ee787;
    --cyan: #58a6ff;
    --purple: #a78bfa;

    --gradient: linear-gradient(
        110deg,
        #7ee787,
        #58a6ff 55%,
        #a78bfa
    );

    --max-width: 1120px;

    --mono: "JetBrains Mono", monospace;
    --sans: "Inter", sans-serif;
}


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


html {
    scroll-behavior: smooth;
}


body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--sans);
    line-height: 1.6;
    overflow-x: hidden;
}


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


.container {
    width: min(
        calc(100% - 48px),
        var(--max-width)
    );

    margin: 0 auto;
}


/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    z-index: 100;

    border-bottom: 1px solid transparent;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        backdrop-filter 0.3s ease;
}


.navbar.scrolled {
    background: rgba(8, 9, 13, 0.82);
    backdrop-filter: blur(18px);
    border-color: var(--border);
}


.nav-container {
    max-width: var(--max-width);

    width: calc(100% - 48px);

    height: 72px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


.logo {
    font-family: var(--mono);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -1px;
}


.logo-bracket {
    color: var(--green);
}


.nav-links {
    display: flex;
    gap: 30px;

    font-size: 13px;
    color: var(--text-soft);
}


.nav-links a {
    transition: color 0.2s ease;
}


.nav-links a:hover {
    color: var(--text);
}


.nav-button {
    padding: 9px 15px;

    border: 1px solid var(--border);
    border-radius: 7px;

    font-size: 12px;
    font-family: var(--mono);

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


.nav-button:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.18);
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;

    min-height: 720px;

    display: flex;
    align-items: center;

    overflow: hidden;

    border-bottom: 1px solid var(--border);
}


.hero-grid {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 0%,
            transparent 70%
        );
}


.hero::before {
    content: "";

    position: absolute;

    width: 700px;
    height: 700px;

    left: 50%;
    top: 40%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            circle,
            rgba(88, 166, 255, 0.08),
            transparent 65%
        );

    pointer-events: none;
}


.hero-content {
    position: relative;

    padding-top: 80px;

    max-width: 900px;
}


.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 7px 12px;

    margin-bottom: 28px;

    border: 1px solid rgba(126, 231, 135, 0.15);
    border-radius: 100px;

    background: rgba(126, 231, 135, 0.04);

    color: #a7f3ae;

    font-family: var(--mono);
    font-size: 11px;
}


.status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 12px var(--green);

    animation: pulse 2s infinite;
}


@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}


.hero h1 {
    max-width: 900px;

    font-size: clamp(
        52px,
        8vw,
        92px
    );

    line-height: 0.98;

    letter-spacing: -5px;

    font-weight: 800;
}


.gradient-text {
    background: var(--gradient);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}


.hero-description {
    max-width: 680px;

    margin-top: 30px;

    color: var(--text-soft);

    font-size: 18px;
    line-height: 1.7;
}


.hero-actions {
    display: flex;
    gap: 12px;

    margin-top: 35px;
}


.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 18px;

    border-radius: 7px;

    font-size: 13px;
    font-weight: 600;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}


.primary-button {
    background: var(--text);
    color: #08090d;
}


.primary-button:hover {
    transform: translateY(-2px);
    background: white;
}


.secondary-button {
    border: 1px solid var(--border);
    color: var(--text-soft);
}


.secondary-button:hover {
    transform: translateY(-2px);
    border-color: rgba(255,255,255,0.2);
}


.hero-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;

    margin-top: 60px;
}


.hero-tech span,
.tag-list span,
.project-tech span,
.skill-items span {
    font-family: var(--mono);
    font-size: 10px;

    padding: 6px 9px;

    border: 1px solid var(--border);
    border-radius: 5px;

    color: var(--text-muted);

    background: rgba(255,255,255,0.015);
}


/* =========================
   IMPACT
========================= */

.impact {
    border-bottom: 1px solid var(--border);
}


.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}


.impact-card {
    padding: 35px 25px;

    border-right: 1px solid var(--border);
}


.impact-card:first-child {
    padding-left: 0;
}


.impact-card:last-child {
    border-right: none;
}


.impact-number {
    font-family: var(--mono);

    font-size: 32px;
    font-weight: 600;

    color: var(--green);
}


.impact-label {
    margin-top: 4px;

    font-size: 11px;
    color: var(--text-muted);
}


/* =========================
   SECTIONS
========================= */

.section {
    padding: 120px 0;
}


.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 25px;

    margin-bottom: 70px;
}


.section-number {
    padding-top: 7px;

    font-family: var(--mono);
    font-size: 11px;

    color: var(--green);
}


.eyebrow {
    margin-bottom: 8px;

    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 2px;

    color: var(--text-muted);
}


.section-heading h2 {
    font-size: 38px;

    line-height: 1.1;

    letter-spacing: -1.8px;
}


/* =========================
   TIMELINE
========================= */

.timeline {
    position: relative;

    margin-left: 7px;

    border-left: 1px solid var(--border);
}


.timeline-item {
    position: relative;

    padding-left: 45px;

    padding-bottom: 75px;
}


.timeline-item:last-child {
    padding-bottom: 0;
}


.timeline-marker {
    position: absolute;

    left: -5px;
    top: 4px;

    width: 9px;
    height: 9px;

    border-radius: 50%;

    background: var(--bg);

    border: 2px solid var(--green);

    box-shadow:
        0 0 12px rgba(126,231,135,0.35);
}


.timeline-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 18px;
}


.company {
    margin-bottom: 5px;

    font-family: var(--mono);
    font-size: 12px;

    color: var(--green);
}


.timeline-header h3 {
    font-size: 22px;

    letter-spacing: -0.5px;
}


.date {
    white-space: nowrap;

    font-family: var(--mono);
    font-size: 10px;

    color: var(--text-muted);
}


.promotion {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 10px;

    margin-bottom: 18px;

    border-radius: 5px;

    background: rgba(126,231,135,0.05);

    color: #a7f3ae;

    font-size: 11px;
}


.achievement-list {
    padding-left: 18px;

    color: var(--text-soft);

    font-size: 14px;
}


.achievement-list li {
    margin-bottom: 10px;

    padding-left: 5px;
}


.achievement-list strong,
.project-card strong {
    color: var(--text);
}


.tag-list,
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-top: 22px;
}


/* =========================
   PROJECTS
========================= */

.projects-section {
    background: var(--bg-soft);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}


.projects-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 15px;
}


.project-card {
    position: relative;

    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 10px;

    background: var(--card);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


.project-card:hover {
    transform: translateY(-5px);

    border-color: rgba(126,231,135,0.2);

    background: var(--card-hover);
}


.project-card.featured {
    grid-column: span 2;

    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(88,166,255,0.06),
            transparent 35%
        ),
        var(--card);
}


.project-card.wide {
    grid-column: span 2;
}


.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 35px;
}


.project-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid var(--border);
    border-radius: 8px;

    color: var(--green);

    font-family: var(--mono);
}


.project-date {
    font-family: var(--mono);
    font-size: 9px;

    color: var(--text-muted);
}


.project-label {
    margin-bottom: 8px;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1.5px;

    color: var(--cyan);
}


.project-card h3 {
    font-size: 32px;

    letter-spacing: -1px;
}


.project-card h4 {
    margin-top: -3px;

    font-size: 14px;
    font-weight: 500;

    color: var(--text-soft);
}


.project-card p {
    max-width: 650px;

    margin-top: 20px;

    color: var(--text-soft);

    font-size: 14px;
}


.project-card ul {
    margin-top: 18px;

    padding-left: 18px;

    color: var(--text-soft);

    font-size: 13px;
}


.project-card li {
    margin-bottom: 7px;
}


/* =========================
   SKILLS
========================= */

.skills-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    background: var(--border);

    border: 1px solid var(--border);
}


.skill-category {
    padding: 35px;

    background: var(--bg);
}


.skill-number {
    margin-bottom: 25px;

    font-family: var(--mono);
    font-size: 10px;

    color: var(--green);
}


.skill-category h3 {
    margin-bottom: 18px;

    font-size: 19px;
}


.skill-items {
    display: flex;
    flex-wrap: wrap;

    gap: 7px;
}


.skill-items span {
    color: var(--text-soft);
}


/* =========================
   LEADERSHIP
========================= */

.leadership-section {
    background: var(--bg-soft);

    border-top: 1px solid var(--border);
}


.leadership-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;
}


.leadership-card {
    padding: 30px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--card);
}


.leadership-icon {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border: 1px solid var(--border);
    border-radius: 7px;

    font-family: var(--mono);
    font-size: 10px;

    color: var(--green);
}


.leadership-card h3 {
    margin-bottom: 10px;

    font-size: 18px;
}


.leadership-card p {
    color: var(--text-soft);

    font-size: 13px;
}


/* =========================
   EDUCATION
========================= */

.education-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}


.education-card {
    position: relative;

    padding: 35px;

    min-height: 270px;

    border: 1px solid var(--border);
    border-radius: 9px;

    background: var(--card);
}


.card-label {
    margin-bottom: 30px;

    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: 1.5px;

    color: var(--text-muted);
}


.education-card h3 {
    font-size: 25px;

    letter-spacing: -0.7px;
}


.degree {
    margin-top: 6px;

    color: var(--text-soft);

    font-size: 13px;
}


.education-meta {
    display: flex;
    gap: 15px;

    margin-top: 30px;

    font-family: var(--mono);
    font-size: 10px;

    color: var(--text-muted);
}


.cgpa {
    position: absolute;

    right: 35px;
    bottom: 35px;

    display: flex;
    flex-direction: column;

    text-align: right;
}


.cgpa span {
    font-family: var(--mono);
    font-size: 9px;

    color: var(--text-muted);
}


.cgpa strong {
    font-family: var(--mono);

    font-size: 25px;

    color: var(--green);
}


.cert-icon {
    position: absolute;

    right: 35px;
    top: 30px;

    padding: 7px 10px;

    border: 1px solid rgba(126,231,135,0.2);
    border-radius: 5px;

    color: var(--green);

    font-family: var(--mono);
    font-size: 10px;
}


/* =========================
   CONTACT
========================= */

.contact-section {
    position: relative;

    overflow: hidden;

    padding: 150px 0;

    border-top: 1px solid var(--border);
}


.contact-glow {
    position: absolute;

    width: 600px;
    height: 400px;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background:
        radial-gradient(
            ellipse,
            rgba(88,166,255,0.08),
            transparent 65%
        );
}


.contact-content {
    position: relative;

    text-align: center;
}


.contact-content h2 {
    max-width: 750px;

    margin: 0 auto;

    font-size: clamp(
        42px,
        6vw,
        70px
    );

    line-height: 1;

    letter-spacing: -3px;
}


.contact-content > p:not(.eyebrow) {
    max-width: 560px;

    margin: 25px auto 0;

    color: var(--text-soft);

    font-size: 15px;
}


.contact-links {
    display: flex;
    justify-content: center;
    gap: 10px;

    margin-top: 35px;
}


.contact-links a {
    padding: 10px 16px;

    border: 1px solid var(--border);
    border-radius: 6px;

    font-family: var(--mono);
    font-size: 11px;

    color: var(--text-soft);

    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.contact-links a:hover {
    color: var(--text);
    border-color: rgba(255,255,255,0.2);

    transform: translateY(-2px);
}


/* =========================
   FOOTER
========================= */

footer {
    border-top: 1px solid var(--border);

    padding: 25px 0;

    color: var(--text-muted);

    font-size: 10px;
}


.footer-content {
    display: flex;
    justify-content: space-between;
}


.footer-mono {
    font-family: var(--mono);
}


/* =========================
   SCROLL REVEAL
========================= */

.reveal {
    opacity: 0;

    transform: translateY(20px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}


.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 850px) {

    .nav-links {
        display: none;
    }


    .hero {
        min-height: 650px;
    }


    .hero h1 {
        letter-spacing: -3px;
    }


    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .impact-card {
        border-bottom: 1px solid var(--border);
    }


    .impact-card:nth-child(2) {
        border-right: none;
    }


    .impact-card:nth-child(3),
    .impact-card:nth-child(4) {
        border-bottom: none;
    }


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


    .project-card.featured,
    .project-card.wide {
        grid-column: auto;
    }


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


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

}


@media (max-width: 600px) {

    .container,
    .nav-container {
        width: calc(100% - 32px);
    }


    .nav-button {
        display: none;
    }


    .hero {
        min-height: 620px;
    }


    .hero-content {
        padding-top: 50px;
    }


    .hero h1 {
        font-size: 48px;
        letter-spacing: -2.5px;
    }


    .hero-description {
        font-size: 15px;
    }


    .hero-actions {
        flex-direction: column;

        align-items: flex-start;
    }


    .section {
        padding: 80px 0;
    }


    .section-heading {
        margin-bottom: 50px;
    }


    .section-heading h2 {
        font-size: 31px;
    }


    .timeline-header {
        flex-direction: column;

        gap: 8px;
    }


    .timeline-item {
        padding-left: 30px;
    }


    .impact-card {
        padding: 25px 15px;
    }


    .impact-number {
        font-size: 25px;
    }


    .impact-label {
        font-size: 9px;
    }


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


    .contact-section {
        padding: 100px 0;
    }


    .contact-content h2 {
        letter-spacing: -2px;
    }


    .contact-links {
        flex-direction: column;

        align-items: stretch;
    }


    .footer-content {
        flex-direction: column;

        gap: 8px;
    }

}


/* =========================
   RESUME REQUEST
========================= */

.resume-section {
    padding: 80px 0;
}


.resume-card {
    position: relative;

    display: grid;
    grid-template-columns: 0.9fr 1.1fr;

    gap: 60px;

    padding: 45px;

    border: 1px solid var(--border);
    border-radius: 12px;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(126, 231, 135, 0.055),
            transparent 40%
        ),
        var(--card);

    overflow: hidden;
}


.resume-content h2 {
    font-size: 34px;

    line-height: 1.1;

    letter-spacing: -1.5px;
}


.resume-content > p:not(.eyebrow) {
    max-width: 440px;

    margin-top: 16px;

    color: var(--text-soft);

    font-size: 13px;

    line-height: 1.7;
}


.resume-form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.form-field {
    display: flex;
    flex-direction: column;

    gap: 7px;
}


.form-field label {
    font-family: var(--mono);

    font-size: 9px;

    letter-spacing: 1px;

    color: var(--text-muted);

    text-transform: uppercase;
}


.form-field input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid var(--border);

    border-radius: 6px;

    outline: none;

    background: rgba(255,255,255,0.025);

    color: var(--text);

    font-family: var(--sans);

    font-size: 12px;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


.form-field input::placeholder {
    color: #52525b;
}


.form-field input:focus {
    border-color: rgba(126,231,135,0.4);

    background: rgba(255,255,255,0.04);
}


.resume-submit {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    width: 100%;

    margin-top: 15px;

    padding: 13px 18px;

    border: none;

    border-radius: 6px;

    background: var(--text);

    color: var(--bg);

    font-family: var(--sans);

    font-size: 12px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.resume-submit:hover:not(:disabled) {
    transform: translateY(-2px);

    background: white;
}


.resume-submit:disabled {
    opacity: 0.6;

    cursor: wait;
}


.form-message {
    min-height: 18px;

    margin-top: 12px;

    font-size: 11px;

    text-align: center;
}


.form-message.success {
    color: var(--green);
}


.form-message.error {
    color: #f87171;
}


.form-disclaimer {
    margin-top: 12px;

    text-align: center;

    color: var(--text-muted);

    font-size: 9px;
}


.honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}


@media (max-width: 750px) {

    .resume-card {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 30px 25px;
    }


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

}


.form-message {
    min-height: 18px;
    margin-top: 12px;

    font-size: 11px;
    line-height: 1.5;

    text-align: center;
}

.form-message.success {
    color: var(--green);
}

.form-message.error {
    color: #f87171;
}

.resume-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.honeypot {
    position: absolute;

    left: -9999px;

    width: 1px;
    height: 1px;

    overflow: hidden;
}

