/* =========================================================
   ROOT
========================================================= */

:root {

    --bg: #080c12;
    --bg-soft: #0d131c;
    --card: #101720;
    --card-hover: #141d28;

    --border: #1d2937;
    --border-light: #263547;

    --text: #f1f5f9;
    --text-soft: #cbd5e1;
    --muted: #8996a8;

    --accent: #38bdf8;
    --accent-bright: #67d4ff;

    --success: #4ade80;
    --warning: #facc15;

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.35);

    --radius: 16px;
}


/* =========================================================
   RESET
========================================================= */

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

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

body {
    font-family: "Inter", sans-serif;

    background:
        radial-gradient(
            circle at 15% 10%,
            rgba(56, 189, 248, 0.055),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 55%,
            rgba(56, 189, 248, 0.035),
            transparent 30%
        ),
        var(--bg);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;
}

body::selection {
    background: var(--accent);
    color: #061018;
}

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

button {
    font: inherit;
}

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

.container {
    width: min(1160px, 90%);
    margin: auto;
}


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

.navbar {

    position: sticky;
    top: 0;

    z-index: 1000;

    background: rgba(8, 12, 18, 0.78);

    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255,255,255,0.055);
}

.nav-container {

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 11px;

    background: linear-gradient(
        135deg,
        var(--accent),
        #0ea5e9
    );

    color: #061018;

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.25rem;

    font-weight: 800;

    box-shadow:
        0 8px 25px rgba(56,189,248,0.18);
}

.logo span {
    color: #ffffff;
}

nav {

    display: flex;

    gap: 30px;
}

nav a {

    color: var(--muted);

    font-size: 0.88rem;

    font-weight: 500;

    transition: 0.25s;
}

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

.nav-hire {

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 10px 16px;

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

    border-radius: 9px;

    font-size: 0.82rem;

    font-weight: 600;

    transition: 0.25s;
}

.nav-hire:hover {

    border-color: var(--accent);

    color: var(--accent);

    transform: translateY(-1px);
}

.menu-btn {

    display: none;

    background: none;

    border: none;

    color: var(--text);

    cursor: pointer;

    font-size: 1.3rem;
}


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

.hero {

    min-height: calc(100vh - 76px);

    display: flex;

    align-items: center;

    position: relative;

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

    padding: 90px 0;
}

.hero-grid {

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    gap: 80px;

    align-items: center;
}

.availability {

    width: fit-content;

    display: flex;

    align-items: center;

    gap: 9px;

    padding: 7px 12px;

    margin-bottom: 22px;

    border: 1px solid rgba(74,222,128,0.16);

    background: rgba(74,222,128,0.055);

    border-radius: 30px;

    color: #a7f3c0;

    font-size: 0.74rem;

    font-weight: 600;
}

.availability-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--success);

    box-shadow:
        0 0 0 4px rgba(74,222,128,0.1),
        0 0 12px rgba(74,222,128,0.5);
}

.eyebrow {

    color: var(--accent);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 2.3px;

    margin-bottom: 16px;
}

.eyebrow i {
    margin-right: 7px;
}

.hero h1 {

    max-width: 750px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(3.1rem, 6vw, 5.5rem);

    line-height: 0.99;

    letter-spacing: -3px;

    margin-bottom: 27px;
}

.hero h1 span {

    background:
        linear-gradient(
            90deg,
            var(--accent),
            var(--accent-bright)
        );

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

    -webkit-text-fill-color: transparent;
}

.hero-description {

    max-width: 620px;

    color: var(--muted);

    font-size: 1.02rem;

    line-height: 1.8;

    margin-bottom: 32px;
}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 35px;
}

.btn {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 13px 18px;

    border-radius: 9px;

    font-size: 0.84rem;

    font-weight: 700;

    transition: 0.25s;
}

.btn.primary {

    background: var(--accent);

    color: #061018;

    box-shadow:
        0 10px 30px rgba(56,189,248,0.14);
}

.btn.primary:hover {

    background: var(--accent-bright);

    transform: translateY(-2px);

    box-shadow:
        0 14px 35px rgba(56,189,248,0.22);
}

.btn.secondary {

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

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

.btn.secondary:hover {

    border-color: var(--accent);

    color: var(--accent);

    transform: translateY(-2px);
}

.hero-meta {

    display: flex;

    flex-wrap: wrap;

    gap: 24px;

    color: #68778a;

    font-size: 0.76rem;
}

.hero-meta div {

    display: flex;

    align-items: center;

    gap: 8px;
}

.hero-meta i {
    color: var(--accent);
}


/* =========================================================
   HERO CODE VISUAL
========================================================= */

.hero-visual {

    position: relative;

    min-height: 430px;

    display: flex;

    align-items: center;

    justify-content: center;
}

.glow {

    position: absolute;

    border-radius: 50%;

    filter: blur(80px);

    pointer-events: none;
}

.glow-one {

    width: 200px;
    height: 200px;

    background: rgba(56,189,248,0.09);

    top: 20px;
    right: 30px;
}

.glow-two {

    width: 160px;
    height: 160px;

    background: rgba(14,165,233,0.07);

    bottom: 20px;
    left: 20px;
}

.code-window {

    position: relative;

    width: min(500px, 100%);

    background: rgba(13,19,28,0.94);

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

    border-radius: 17px;

    overflow: hidden;

    box-shadow: var(--shadow);

    transform: rotate(1.2deg);

    transition: 0.35s;
}

.code-window:hover {
    transform: rotate(0deg) translateY(-5px);
}

.window-bar {

    height: 46px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 17px;

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

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

.window-dots {

    display: flex;

    gap: 7px;
}

.window-dots span {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #455468;
}

.window-title {

    color: #64748b;

    font-size: 0.68rem;

    font-family: monospace;
}

.code-body {

    padding: 28px 25px;
}

.code-body pre {

    overflow-x: auto;

    color: #cbd5e1;

    font-family: "Courier New", monospace;

    font-size: 0.78rem;

    line-height: 1.85;
}

.code-body .purple {
    color: #c084fc;
}

.code-body .blue {
    color: #60a5fa;
}

.code-body .green {
    color: #86efac;
}

.floating-badge {

    position: absolute;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 9px 12px;

    background: #111a25;

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

    border-radius: 9px;

    color: var(--text-soft);

    font-size: 0.72rem;

    font-weight: 600;

    box-shadow: 0 15px 35px rgba(0,0,0,0.3);

    animation: float 4s ease-in-out infinite;
}

.floating-badge i {
    color: var(--accent);
}

.badge-one {

    top: 70px;
    right: -5px;
}

.badge-two {

    bottom: 65px;
    left: -5px;

    animation-delay: -2s;
}

@keyframes float {

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

    50% {
        transform: translateY(-7px);
    }
}


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

.section {

    padding: 115px 0;

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

.section-label {

    color: var(--accent);

    font-size: 0.69rem;

    letter-spacing: 2.5px;

    font-weight: 800;

    margin-bottom: 14px;
}

.section-label span {

    color: #506073;

    margin-right: 8px;
}

.section h2 {

    max-width: 750px;

    font-family: "Space Grotesk", sans-serif;

    font-size: clamp(2.2rem, 4vw, 3.7rem);

    line-height: 1.05;

    letter-spacing: -1.8px;

    margin-bottom: 45px;
}

.section h2 span {
    color: var(--accent);
}

.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 55px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-intro {

    max-width: 370px;

    color: var(--muted);

    font-size: 0.9rem;

    line-height: 1.7;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {

    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    gap: 80px;

    align-items: start;
}

.about-text {

    color: var(--muted);

    font-size: 0.96rem;

    line-height: 1.9;
}

.about-text p {
    margin-bottom: 19px;
}

.about-cards {

    display: grid;

    gap: 12px;
}

.mini-card {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 18px;

    background: var(--card);

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

    border-radius: 12px;

    transition: 0.25s;
}

.mini-card:hover {

    border-color: var(--border-light);

    background: var(--card-hover);

    transform: translateX(4px);
}

.mini-icon {

    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: rgba(56,189,248,0.08);

    color: var(--accent);
}

.mini-card strong {

    display: block;

    font-size: 0.85rem;

    margin-bottom: 2px;
}

.mini-card span {

    color: var(--muted);

    font-size: 0.73rem;
}


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

.skills-section {
    background: rgba(255,255,255,0.008);
}

.skills-grid {

    display: grid;

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

    gap: 14px;
}

.skill-card {

    padding: 25px;

    background: var(--card);

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

    border-radius: var(--radius);

    transition: 0.3s;
}

.skill-card:hover {

    transform: translateY(-5px);

    border-color: var(--border-light);

    box-shadow:
        0 18px 45px rgba(0,0,0,0.2);
}

.skill-icon {

    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    margin-bottom: 20px;

    background: rgba(56,189,248,0.07);

    border: 1px solid rgba(56,189,248,0.08);

    border-radius: 10px;

    color: var(--accent);
}

.skill-card h3 {

    font-family: "Space Grotesk", sans-serif;

    margin-bottom: 9px;
}

.skill-card p {

    color: var(--muted);

    font-size: 0.77rem;

    line-height: 1.65;

    margin-bottom: 18px;
}

.tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}

.tags span,
.project-tags span {

    padding: 5px 8px;

    background: #17212d;

    border: 1px solid #213042;

    border-radius: 6px;

    color: #aebdcd;

    font-size: 0.67rem;

    font-weight: 600;
}


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

.projects-grid {

    display: grid;

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

    gap: 18px;
}

.project-card {

    overflow: hidden;

    background: var(--card);

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

    border-radius: var(--radius);

    transition: 0.3s;
}

.project-card:hover {

    border-color: var(--border-light);

    transform: translateY(-5px);

    box-shadow:
        0 22px 55px rgba(0,0,0,0.25);
}

.project-card:first-child {

    grid-column: span 2;
}

.project-image {

    height: 300px;

    position: relative;

    overflow: hidden;

    background: #111a25;
}

.project-card:not(:first-child) .project-image {
    height: 240px;
}

.project-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: top;

    transition: 0.45s;
}

.project-card:hover .project-image img {
    transform: scale(1.025);
}

.project-overlay {

    position: absolute;

    inset: 0;

    display: flex;

    align-items: flex-end;

    padding: 20px;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,0.65),
            transparent 45%
        );

    opacity: 0;

    transition: 0.3s;
}

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

.project-overlay span {

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 7px 10px;

    background: rgba(8,12,18,0.8);

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 7px;

    font-size: 0.7rem;
}

.project-status-overlay {

    position: absolute;

    top: 15px;
    right: 15px;

    display: flex;

    align-items: center;

    gap: 7px;

    padding: 7px 10px;

    background: rgba(8,12,18,0.82);

    border: 1px solid rgba(250,204,21,0.18);

    border-radius: 7px;

    color: #fde68a;

    font-size: 0.67rem;

    font-weight: 700;
}

.project-content {

    padding: 25px;
}

.project-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 15px;

    margin-bottom: 15px;
}

.project-number {

    display: block;

    color: #506073;

    font-family: monospace;

    font-size: 0.68rem;

    margin-bottom: 5px;
}

.project-header h3 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.35rem;
}

.status {

    padding: 5px 8px;

    border-radius: 20px;

    font-size: 0.62rem;

    font-weight: 700;

    white-space: nowrap;
}

.status.completed {

    background: rgba(74,222,128,0.07);

    border: 1px solid rgba(74,222,128,0.12);

    color: #86efac;
}

.status.progress {

    background: rgba(250,204,21,0.07);

    border: 1px solid rgba(250,204,21,0.12);

    color: #fde047;
}

.project-content > p {

    color: var(--muted);

    font-size: 0.78rem;

    line-height: 1.75;

    margin-bottom: 18px;
}

.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 22px;
}

.project-links {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 18px;
}

.project-links a {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--accent);

    font-size: 0.75rem;

    font-weight: 700;

    transition: 0.2s;
}

.project-links a:hover {
    color: var(--accent-bright);
}

.project-note {

    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #77869a;

    font-size: 0.72rem;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.experience-card {

    position: relative;

    display: grid;

    grid-template-columns: 55px 1fr;

    gap: 25px;

    padding: 32px;

    background:
        linear-gradient(
            135deg,
            rgba(56,189,248,0.035),
            transparent 50%
        ),
        var(--card);

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

    border-radius: var(--radius);
}

.experience-marker {

    width: 45px;
    height: 45px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background: rgba(56,189,248,0.08);

    color: var(--accent);

    border: 1px solid rgba(56,189,248,0.1);
}

.experience-top {

    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}

.experience-label {

    color: var(--accent);

    font-size: 0.65rem;

    font-weight: 800;

    letter-spacing: 1.5px;
}

.experience-top h3 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.55rem;

    margin-top: 5px;
}

.experience-type {

    color: #64748b;

    font-size: 0.68rem;
}

.experience-content > p {

    max-width: 800px;

    color: var(--muted);

    font-size: 0.82rem;

    line-height: 1.75;

    margin-bottom: 22px;
}

.experience-points {

    display: grid;

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

    gap: 10px;
}

.experience-points div {

    display: flex;

    gap: 9px;

    align-items: flex-start;

    color: #aebbd0;

    font-size: 0.75rem;
}

.experience-points i {

    color: var(--accent);

    margin-top: 4px;

    font-size: 0.6rem;
}

.confidential-note {

    display: flex;

    align-items: flex-start;

    gap: 9px;

    margin-top: 25px;

    padding: 12px 14px;

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

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

    border-radius: 8px;

    color: #718096;

    font-size: 0.7rem;
}

.confidential-note i {
    color: #8b98aa;
}


/* =========================================================
   SERVICES
========================================================= */

.services-grid {

    display: grid;

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

    gap: 15px;
}

.service-card {

    padding: 28px;

    background: var(--card);

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

    border-radius: var(--radius);

    transition: 0.3s;
}

.service-card:hover {

    transform: translateY(-5px);

    border-color: var(--border-light);
}

.service-top {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 22px;
}

.service-top > span {

    color: #3e4c5f;

    font-family: monospace;

    font-size: 0.7rem;
}

.service-icon {

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    background: rgba(56,189,248,0.07);

    color: var(--accent);

    border: 1px solid rgba(56,189,248,0.08);

    border-radius: 11px;
}

.service-card h3 {

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.25rem;

    margin-bottom: 10px;
}

.service-card p {

    color: var(--muted);

    font-size: 0.76rem;

    line-height: 1.7;

    margin-bottom: 22px;
}

.service-card ul {

    display: grid;

    gap: 10px;

    list-style: none;
}

.service-card li {

    display: flex;

    gap: 9px;

    color: #aab8c9;

    font-size: 0.73rem;
}

.service-card li i {

    color: var(--accent);

    margin-top: 5px;

    font-size: 0.58rem;
}


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

.contact-section {

    border-bottom: none;

    padding-bottom: 80px;
}

.contact-box {

    position: relative;

    overflow: hidden;

    text-align: center;

    padding: 80px 30px;

    background:
        radial-gradient(
            circle at center,
            rgba(56,189,248,0.09),
            transparent 55%
        ),
        var(--card);

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

    border-radius: 22px;
}

.contact-icon {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    margin: 0 auto 22px;

    border-radius: 14px;

    background: rgba(56,189,248,0.08);

    border: 1px solid rgba(56,189,248,0.12);

    color: var(--accent);

    font-size: 1.2rem;
}

.contact-box .section-label {
    margin-bottom: 13px;
}

.contact-box h2 {

    margin: 0 auto 15px;

    font-size: clamp(2.3rem, 5vw, 4rem);
}

.contact-description {

    max-width: 540px;

    margin: 0 auto 30px;

    color: var(--muted);

    font-size: 0.86rem;

    line-height: 1.8;
}

.email-display {

    width: fit-content;

    max-width: 100%;

    display: flex;

    align-items: center;

    gap: 11px;

    margin: 0 auto 22px;

    padding: 12px 16px;

    background: #0b1119;

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

    border-radius: 9px;

    color: var(--text-soft);

    font-family: monospace;

    font-size: 0.78rem;

    word-break: break-all;
}

.email-display i {
    color: var(--accent);
}

.contact-links {

    display: flex;

    justify-content: center;

    gap: 10px;
}

.contact-button {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 16px;

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

    border-radius: 8px;

    color: var(--text-soft);

    font-size: 0.74rem;

    font-weight: 600;

    transition: 0.25s;
}

.contact-button:hover {

    color: var(--accent);

    border-color: var(--accent);

    transform: translateY(-2px);
}


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

footer {

    padding: 28px 0;

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

    color: #566579;

    font-size: 0.68rem;
}

.footer-content {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-logo {

    color: var(--accent);

    font-family: "Space Grotesk", sans-serif;

    font-size: 1.1rem;

    font-weight: 800;
}

.footer-logo span {
    color: var(--text);
}

footer a {

    color: #718096;

    transition: 0.2s;
}

footer a:hover {
    color: var(--accent);
}


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

@media (max-width: 1000px) {

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 60px;
    }

    .hero {

        padding: 80px 0;
    }

    .hero-visual {

        min-height: 380px;
    }

    .skills-grid {

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

}


@media (max-width: 850px) {

    .nav-hire {
        display: none;
    }

    nav {

        display: none;

        position: absolute;

        top: 76px;
        left: 0;

        width: 100%;

        flex-direction: column;

        gap: 0;

        background: rgba(8,12,18,0.98);

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

    nav.active {
        display: flex;
    }

    nav a {

        padding: 15px 5%;

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

    .menu-btn {
        display: block;
    }

    .about-grid {

        grid-template-columns: 1fr;

        gap: 40px;
    }

    .section-heading {

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;
    }

    .section-intro {
        max-width: 550px;
    }

    .experience-points {

        grid-template-columns: 1fr;
    }

}


@media (max-width: 700px) {

    .container {
        width: 91%;
    }

    .section {
        padding: 85px 0;
    }

    .hero {
        padding: 70px 0;
    }

    .hero h1 {

        font-size: 3rem;

        letter-spacing: -2px;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-buttons {

        flex-direction: column;

        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .hero-meta {

        flex-direction: column;

        gap: 10px;
    }

    .hero-visual {
        min-height: 320px;
    }

    .code-body {
        padding: 20px 16px;
    }

    .code-body pre {
        font-size: 0.65rem;
    }

    .floating-badge {
        display: none;
    }

    .skills-grid,
    .services-grid {

        grid-template-columns: 1fr;
    }

    .projects-grid {

        grid-template-columns: 1fr;
    }

    .project-card:first-child {
        grid-column: span 1;
    }

    .project-image,
    .project-card:not(:first-child) .project-image {

        height: 220px;
    }

    .experience-card {

        grid-template-columns: 1fr;

        padding: 24px;
    }

    .experience-marker {
        display: none;
    }

    .experience-top {

        flex-direction: column;

        gap: 8px;
    }

    .contact-box {
        padding: 65px 18px;
    }

    .email-display {

        font-size: 0.68rem;
    }

    .contact-links {
        flex-wrap: wrap;
    }

    .footer-content {

        flex-direction: column;

        text-align: center;
    }

}


@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }
}