/* =========================================================
   ASHUTOSH VIKHE
   NETWORK & SECURITY ENGINEER PORTFOLIO
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --bg: #050a08;
    --bg-secondary: #08100d;
    --bg-card: #0a1511;
    --bg-card-2: #0d1b16;

    --green: #35e875;
    --green-bright: #54ff8a;
    --green-dark: #159447;

    --white: #f4f8f5;
    --text: #d3ddd7;
    --muted: #84918b;
    --muted-dark: #58635e;

    --border: rgba(170, 205, 188, 0.13);
    --border-green: rgba(53, 232, 117, 0.30);

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

    --container: 1180px;

    --radius: 16px;

}


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

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


html {
    scroll-behavior: smooth;
    background: var(--bg);
}


body {

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    background: var(--bg);

    color: var(--white);

    line-height: 1.6;

    overflow-x: hidden;

}


img {
    max-width: 100%;
}


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


button {
    font: inherit;
}


ul {
    list-style: none;
}


.container {

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

    margin: 0 auto;

}


/* =========================================================
   BACKGROUND
   ========================================================= */

.background-grid {

    position: fixed;

    inset: 0;

    z-index: -5;

    pointer-events: none;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.018) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 90%
        );

}


.background-glow {

    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;

    z-index: -4;

}


.glow-one {

    top: -200px;
    left: -180px;

    background: rgba(53, 232, 117, 0.07);

}


.glow-two {

    right: -220px;
    top: 45%;

    background: rgba(53, 232, 117, 0.045);

}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 78px;

    z-index: 1000;

    background:
        rgba(5, 10, 8, 0.82);

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

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

}


.nav-container {

    height: 100%;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.logo {

    display: flex;

    align-items: center;

    gap: 13px;

}


.logo-box {

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

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

    color: var(--green);

    font-size: 13px;

    font-weight: 900;

    letter-spacing: 1px;

    border-radius: 9px;

    box-shadow:
        0 0 25px rgba(53, 232, 117, 0.07);

}


.logo-text {

    display: flex;

    flex-direction: column;

    line-height: 1.15;

}


.logo-text strong {

    font-size: 14px;

    letter-spacing: 0.2px;

}


.logo-text small {

    margin-top: 4px;

    color: var(--muted);

    font-size: 8px;

    letter-spacing: 2px;

}


.navigation {

    display: flex;

    align-items: center;

    gap: 26px;

}


.nav-link {

    position: relative;

    color: var(--muted);

    font-size: 11px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: 0.25s ease;

}


.nav-link:hover,
.nav-link.active {

    color: var(--green);

}


.nav-link.active::after {

    content: "";

    position: absolute;

    left: 0;
    right: 0;

    bottom: -10px;

    height: 1px;

    background: var(--green);

}


.nav-resume {

    padding: 10px 15px;

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

    border-radius: 7px;

    color: var(--green);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 0.8px;

    transition: 0.25s ease;

}


.nav-resume:hover {

    background: var(--green);

    color: #041008;

}


.menu-button {

    display: none;

    width: 42px;
    height: 42px;

    background: transparent;

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

    border-radius: 8px;

    cursor: pointer;

}


.menu-button span {

    display: block;

    width: 18px;
    height: 1px;

    margin: 4px auto;

    background: var(--green);

}


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

.section {

    padding: 120px 0;

    position: relative;

}


.section-dark {

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.012),
            rgba(0,0,0,0.12)
        );

    border-top: 1px solid rgba(255,255,255,0.025);

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

}


.section-heading {

    margin-bottom: 65px;

}


.section-heading > div:first-child {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 18px;

}


.section-number {

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 11px;

    font-weight: 800;

}


.section-label {

    color: var(--muted);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;

}


.section-heading h2 {

    max-width: 850px;

    font-size:
        clamp(40px, 6vw, 72px);

    line-height: 1.02;

    letter-spacing: -3px;

    font-weight: 800;

}


.section-heading h2 span {

    display: block;

    color: var(--green);

}


.section-heading-inline {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 30px;

}


.text-link {

    color: var(--green);

    font-size: 12px;

    font-weight: 800;

    white-space: nowrap;

    transition: 0.25s ease;

}


.text-link:hover {

    transform: translateX(5px);

}


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

.hero {

    min-height: 100vh;

    padding-top: 145px;

    padding-bottom: 80px;

    display: flex;

    flex-direction: column;

    justify-content: center;

}


.hero-layout {

    display: grid;

    grid-template-columns: 1.05fr 0.95fr;

    align-items: center;

    gap: 80px;

}


.status-line {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 28px;

    padding: 8px 12px;

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

    border-radius: 100px;

    background: rgba(53, 232, 117, 0.035);

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 0.8px;

}


.status-dot {

    width: 7px;
    height: 7px;

    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.35;
    }

}


.eyebrow {

    margin-bottom: 14px;

    color: var(--muted);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 3px;

}


.hero h1 {

    max-width: 780px;

    margin-bottom: 25px;

    font-size:
        clamp(58px, 7.5vw, 98px);

    line-height: 0.92;

    letter-spacing: -5px;

    font-weight: 850;

}


.hero h1 span {

    display: block;

    color: var(--green);

}


.hero-text {

    max-width: 680px;

    margin-bottom: 25px;

    color: var(--text);

    font-size: 17px;

    line-height: 1.8;

}


.hero-text strong {

    color: var(--white);

}


.hero-pills {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 30px;

}


.hero-pills span {

    padding: 8px 11px;

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

    border-radius: 6px;

    color: var(--muted);

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

    font-size: 10px;

    font-weight: 700;

    transition: 0.25s ease;

}


.hero-pills span:hover {

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

    color: var(--green);

}


.hero-actions {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.button {

    min-height: 48px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 0 20px;

    border-radius: 7px;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 0.6px;

    transition: 0.25s ease;

}


.button-primary {

    background: var(--green);

    color: #031007;

}


.button-primary:hover {

    background: var(--green-bright);

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(53, 232, 117, 0.16);

}


.button-outline {

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

    color: var(--white);

}


.button-outline:hover {

    border-color: var(--green);

    color: var(--green);

    transform: translateY(-2px);

}


.hero-socials {

    display: flex;

    gap: 18px;

    margin-top: 25px;

}


.hero-socials a {

    color: var(--muted);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 10px;

    font-weight: 700;

    transition: 0.25s ease;

}


.hero-socials a:hover {

    color: var(--green);

}


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

.hero-visual {

    position: relative;

    min-height: 580px;

    display: grid;

    place-items: center;

}


.profile-frame {

    position: relative;

    z-index: 5;

    width: 365px;

    padding: 10px;

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

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(13, 31, 22, 0.96),
            rgba(5, 12, 9, 0.96)
        );

    box-shadow:
        var(--shadow),
        0 0 70px rgba(53, 232, 117, 0.06);

}


.profile-topbar {

    height: 35px;

    padding: 0 10px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    color: var(--muted);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.window-dots {

    display: flex;

    gap: 5px;

}


.window-dots i,
.terminal-controls i {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--muted-dark);

}


.profile-image-wrapper {

    position: relative;

    overflow: hidden;

    aspect-ratio: 0.92;

    border-radius: 11px;

    background: #101a16;

}


.profile-image {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    object-position: center top;

}


.profile-image-wrapper::after {

    content: "";

    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 70%,
            rgba(0,0,0,0.25)
        );

}


.profile-footer {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 10px;

    padding: 14px 10px 5px;

}


.profile-footer div {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.profile-footer small {

    color: var(--muted-dark);

    font-size: 7px;

    letter-spacing: 1.5px;

}


.profile-footer strong {

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

}


.network-orbit {

    position: absolute;

    border: 1px solid rgba(53, 232, 117, 0.12);

    border-radius: 50%;

}


.orbit-a {

    width: 440px;
    height: 440px;

}


.orbit-b {

    width: 540px;
    height: 260px;

    transform: rotate(-35deg);

}


.orbit-c {

    width: 260px;
    height: 540px;

    transform: rotate(35deg);

}


.floating-card {

    position: absolute;

    z-index: 10;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 11px 14px;

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

    border-radius: 9px;

    background:
        rgba(7, 16, 12, 0.93);

    backdrop-filter: blur(12px);

    box-shadow: var(--shadow);

}


.card-top {

    top: 70px;

    right: 0;

}


.card-bottom {

    bottom: 65px;

    left: 0;

}


.mini-icon {

    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

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

    border-radius: 6px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    font-weight: 800;

}


.floating-card div {

    display: flex;

    flex-direction: column;

}


.floating-card small {

    color: var(--muted-dark);

    font-size: 7px;

    letter-spacing: 1px;

}


.floating-card strong {

    color: var(--white);

    font-size: 11px;

}


/* =========================================================
   STATS
   ========================================================= */

.stats-grid {

    display: grid;

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

    margin-top: 70px;

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

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

}


.stat-box {

    padding: 25px 30px;

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

}


.stat-box:last-child {

    border-right: 0;

}


.stat-number {

    display: block;

    margin-bottom: 5px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 25px;

    font-weight: 800;

}


.stat-label {

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.8px;

}


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

.about-layout {

    display: grid;

    grid-template-columns: 1.15fr 0.85fr;

    gap: 70px;

    align-items: start;

}


.about-main {

    max-width: 700px;

}


.about-main p {

    margin-bottom: 22px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.9;

}


.about-main .large-text {

    color: var(--text);

    font-size: 22px;

    line-height: 1.65;

}


.about-panel {

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

    border-radius: var(--radius);

    overflow: hidden;

    background: var(--bg-card);

}


.panel-header {

    padding: 15px 18px;

    display: flex;

    justify-content: space-between;

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

    color: var(--muted);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    letter-spacing: 1px;

}


.panel-header .green {

    color: var(--green);

}


.profile-list {

    padding: 5px 20px;

}


.profile-list div {

    padding: 17px 0;

    display: flex;

    justify-content: space-between;

    gap: 20px;

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

}


.profile-list div:last-child {

    border-bottom: 0;

}


.profile-list span {

    color: var(--muted-dark);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1px;

}


.profile-list strong {

    color: var(--text);

    text-align: right;

    font-size: 11px;

}


.principles {

    display: grid;

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

    gap: 16px;

    margin-top: 65px;

}


.principle {

    padding: 28px;

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

    border-radius: 12px;

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

    transition: 0.3s ease;

}


.principle:hover {

    transform: translateY(-4px);

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

}


.principle-number {

    display: block;

    margin-bottom: 28px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

}


.principle h3 {

    margin-bottom: 10px;

    font-size: 19px;

}


.principle p {

    color: var(--muted);

    font-size: 12px;

    line-height: 1.75;

}


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

.skills-matrix {

    display: grid;

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

    gap: 18px;

}


.skill-category {

    padding: 30px;

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

    border-radius: var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(12, 25, 18, 0.8),
            rgba(7, 13, 10, 0.8)
        );

    transition: 0.3s ease;

}


.skill-category:hover {

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

    transform: translateY(-4px);

}


.skill-category-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 24px;

}


.skill-index {

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

    font-weight: 800;

}


.skill-status {

    padding: 5px 8px;

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

    border-radius: 5px;

    color: var(--muted);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1px;

}


.skill-category h3 {

    margin-bottom: 8px;

    font-size: 23px;

}


.skill-category > p {

    min-height: 45px;

    margin-bottom: 20px;

    color: var(--muted);

    font-size: 12px;

}


.skill-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

}


.skill-tags span {

    padding: 7px 9px;

    border: 1px solid rgba(53, 232, 117, 0.13);

    border-radius: 5px;

    color: #aab7b0;

    background: rgba(53, 232, 117, 0.02);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

}


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

.projects-grid {

    display: grid;

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

    gap: 15px;

}


.project-card {

    min-height: 440px;

    padding: 25px;

    display: flex;

    flex-direction: column;

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

    border-radius: var(--radius);

    background: var(--bg-card);

    transition: 0.3s ease;

}


.project-card:hover {

    transform: translateY(-6px);

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

    box-shadow:
        var(--shadow);

}


.project-card.featured-project {

    background:
        linear-gradient(
            150deg,
            rgba(13, 32, 22, 0.95),
            rgba(7, 14, 10, 0.98)
        );

}


.project-card-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 42px;

}


.project-type {

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.project-number {

    color: var(--muted-dark);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

}


.project-icon {

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    margin-bottom: 24px;

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

    border-radius: 9px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 13px;

    font-weight: 900;

}


.project-card h3 {

    margin-bottom: 14px;

    font-size: 21px;

    line-height: 1.2;

}


.project-card p {

    margin-bottom: 22px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;

}


.project-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

}


.project-tags span {

    padding: 6px 8px;

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

    border-radius: 5px;

    color: var(--muted);

    font-size: 8px;

    font-weight: 700;

}


.project-link {

    margin-top: auto;

    padding-top: 22px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

    font-weight: 800;

    transition: 0.25s ease;

}


.project-link:hover {

    transform: translateX(4px);

}


.project-status {

    margin-top: auto;

    padding-top: 22px;

    display: flex;

    align-items: center;

    gap: 7px;

    color: #f0c84b;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    font-weight: 800;

}


.project-status.planned {

    color: #bd8a95;

}


.project-status i {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: currentColor;

}


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

.experience-timeline {

    position: relative;

    padding-left: 35px;

}


.experience-timeline::before {

    content: "";

    position: absolute;

    left: 5px;

    top: 10px;
    bottom: 10px;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            var(--green),
            var(--border),
            transparent
        );

}


.experience-item {

    position: relative;

    margin-bottom: 22px;

}


.timeline-marker {

    position: absolute;

    left: -35px;

    top: 35px;

    width: 11px;
    height: 11px;

    display: grid;
    place-items: center;

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

    border-radius: 50%;

    background: var(--bg);

}


.timeline-marker span {

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: var(--green);

}


.experience-content {

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

    border-radius: var(--radius);

    overflow: hidden;

    background: var(--bg-card);

}


.current-role .experience-content {

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

}


.experience-top {

    padding: 30px;

    display: flex;

    justify-content: space-between;

    gap: 30px;

}


.role-status {

    display: inline-block;

    margin-bottom: 10px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.experience-top h3,
.compact-role h3 {

    margin-bottom: 7px;

    font-size: 28px;

    line-height: 1.2;

}


.company {

    color: var(--muted);

    font-size: 12px;

}


.experience-date {

    align-self: flex-start;

    padding: 8px 11px;

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

    border-radius: 5px;

    color: var(--muted);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    font-weight: 800;

    white-space: nowrap;

}


.experience-metrics {

    display: grid;

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

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

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

}


.experience-metrics div {

    padding: 22px 30px;

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

}


.experience-metrics div:last-child {

    border-right: 0;

}


.experience-metrics strong {

    display: block;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 22px;

}


.experience-metrics span {

    color: var(--muted);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 0.5px;

}


.experience-body {

    display: grid;

    grid-template-columns: 1fr 1fr;

}


.experience-body > div {

    padding: 30px;

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

}


.experience-body > div:last-child {

    border-right: 0;

}


.experience-body h4 {

    margin-bottom: 18px;

    color: var(--green);

    font-size: 9px;

    text-transform: uppercase;

    letter-spacing: 1.5px;

}


.experience-body li {

    position: relative;

    margin-bottom: 13px;

    padding-left: 17px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.7;

}


.experience-body li::before {

    content: "→";

    position: absolute;

    left: 0;

    color: var(--green);

}


.technology-strip {

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    padding: 20px 30px;

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

}


.technology-strip span {

    padding: 6px 8px;

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

    border-radius: 4px;

    color: var(--muted-dark);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

}


.compact-role {

    padding: 25px 30px;

    display: grid;

    grid-template-columns: 1fr auto;

    gap: 15px 30px;

}


.compact-role h3 {

    font-size: 21px;

}


.role-summary {

    grid-column: 1 / -1;

    max-width: 800px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;

}


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

.education-grid {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 18px;

}


.education-card {

    padding: 30px;

    display: flex;

    gap: 20px;

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

    border-radius: var(--radius);

    background: var(--bg-card);

    transition: 0.3s ease;

}


.education-card:hover {

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

    transform: translateY(-3px);

}


.education-icon {

    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: grid;
    place-items: center;

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

    border-radius: 9px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 11px;

    font-weight: 900;

}


.education-label {

    display: block;

    margin-bottom: 8px;

    color: var(--green);

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.education-content h3 {

    margin-bottom: 6px;

    font-size: 21px;

}


.education-content p {

    color: var(--muted);

    font-size: 11px;

}


.education-meta {

    display: inline-block;

    margin-top: 15px;

    color: var(--white);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 10px;

}


.learning-status {

    display: inline-block;

    margin-top: 15px;

    padding: 5px 8px;

    border: 1px solid rgba(240, 200, 75, 0.25);

    border-radius: 4px;

    color: #e3bd47;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 0.8px;

}


.learning-section {

    margin-top: 55px;

    padding-top: 30px;

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

}


.learning-heading {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 22px;

}


.learning-heading span {

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

}


.learning-heading h3 {

    font-size: 17px;

}


.learning-list {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

}


.learning-list span {

    padding: 9px 12px;

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

    border-radius: 6px;

    color: var(--muted);

    font-size: 10px;

    transition: 0.25s ease;

}


.learning-list span:hover {

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

    color: var(--green);

}


/* =========================================================
   CONTACT
   ========================================================= */
/* =========================================================
   NEW CONTACT SECTION
   ========================================================= */

.contact-section {

    min-height: 760px;

    display: flex;

    align-items: center;

    position: relative;

}


.contact-layout {

    display: grid;

    grid-template-columns:
        1fr 0.85fr;

    gap: 100px;

    align-items: center;

}


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

.contact-content {

    max-width: 650px;

}


.contact-label {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 25px;

}


.contact-content h2 {

    margin: 0 0 25px;

    font-size:
        clamp(64px, 8vw, 105px);

    line-height: 0.9;

    letter-spacing: -5px;

    font-weight: 850;

}


.contact-content h2 span {

    display: block;

    color: var(--green);

}


.contact-intro {

    max-width: 590px;

    margin-bottom: 38px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.9;

}


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

.contact-links {

    display: flex;

    flex-direction: column;

    width: 100%;

    max-width: 590px;

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

}


.contact-link {

    min-height: 72px;

    display: grid;

    grid-template-columns:
        42px 1fr auto;

    align-items: center;

    gap: 14px;

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

    transition:
        padding-left 0.25s ease,
        border-color 0.25s ease;

}


.contact-link:hover {

    padding-left: 8px;

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

}


.contact-link-icon {

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

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

    border-radius: 7px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    font-weight: 900;

}


.contact-link-info {

    display: flex;

    flex-direction: column;

    gap: 2px;

}


.contact-link-info span {

    color: var(--muted-dark);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.contact-link-info strong {

    color: var(--text);

    font-size: 11px;

    font-weight: 650;

}


.contact-link-arrow {

    color: var(--muted-dark);

    font-size: 16px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;

}


.contact-link:hover
.contact-link-arrow {

    color: var(--green);

    transform:
        translate(3px, -3px);

}


/* =========================================================
   RESUME LINK
   ========================================================= */

.contact-resume {

    margin-top: 28px;

    display: inline-flex;

    align-items: center;

    gap: 14px;

    padding-bottom: 7px;

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

    color: var(--green);

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition:
        gap 0.25s ease;

}


.contact-resume:hover {

    gap: 20px;

}


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

.contact-terminal-wrapper {

    width: 100%;

}


.contact-terminal {

    overflow: hidden;

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

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            #09140f,
            #050c08
        );

    box-shadow:
        0 30px 80px rgba(0,0,0,0.35);

}


/* TERMINAL HEADER */

.contact-terminal-header {

    height: 48px;

    padding: 0 17px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

}


.terminal-title {

    display: flex;

    align-items: center;

    gap: 8px;

    color: var(--muted);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

}


.terminal-status {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 10px
        rgba(53,232,117,0.7);

}


.terminal-controls {

    display: flex;

    gap: 5px;

}


.terminal-controls i {

    display: block;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--muted-dark);

}


/* TERMINAL BODY */

.contact-terminal-body {

    padding: 30px;

    min-height: 440px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 10px;

}


.terminal-command {

    margin-bottom: 7px;

    color: #c9d5ce;

}


.terminal-command span {

    margin-right: 8px;

    color: var(--green);

}


.terminal-result {

    margin: 0 0 22px 18px;

    color: #719c80;

    line-height: 1.8;

}


.terminal-active {

    display: flex;

    align-items: center;

    color: var(--green);

}


.terminal-cursor {

    display: inline-block;

    width: 6px;
    height: 12px;

    margin-left: 5px;

    background: var(--green);

    animation:
        terminalBlink 1s infinite;

}


@keyframes terminalBlink {

    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }

}


/* TERMINAL FOOTER */

.contact-terminal-footer {

    min-height: 44px;

    padding: 0 17px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

    color: var(--muted-dark);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 7px;

    letter-spacing: 1px;

}


.contact-terminal-footer strong {

    color: var(--green);

    font-size: 7px;

}


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

.contact-note {

    display: flex;

    gap: 13px;

    margin-top: 22px;

    padding-top: 18px;

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

}


.contact-note > span {

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    font-weight: 800;

}


.contact-note p {

    max-width: 400px;

    color: var(--muted-dark);

    font-size: 9px;

    line-height: 1.7;

}


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

@media (max-width: 850px) {

    .contact-section {

        min-height: auto;

    }


    .contact-layout {

        grid-template-columns: 1fr;

        gap: 55px;

    }


    .contact-content {

        max-width: 700px;

    }


    .contact-content h2 {

        font-size:
            clamp(58px, 13vw, 85px);

    }


    .contact-terminal-wrapper {

        max-width: 650px;

    }

}


@media (max-width: 600px) {

    .contact-content h2 {

        font-size: 58px;

        letter-spacing: -3px;

    }


    .contact-intro {

        font-size: 13px;

    }


    .contact-link {

        grid-template-columns:
            38px 1fr auto;

        min-height: 68px;

    }


    .contact-link-info strong {

        font-size: 10px;

    }


    .contact-terminal-body {

        padding: 22px;

        min-height: 390px;

        font-size: 9px;

    }


    .contact-note {

        margin-bottom: 10px;

    }

}

/* =========================================================
   TERMINAL
   ========================================================= */

.terminal-card {

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

    border-radius: 13px;

    overflow: hidden;

    background: #06100b;

    box-shadow: var(--shadow);

}


.terminal-header {

    height: 40px;

    padding: 0 15px;

    display: flex;

    align-items: center;

    justify-content: space-between;

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

    color: var(--muted);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 9px;

}


.terminal-controls {

    display: flex;

    gap: 5px;

}


.terminal-body {

    padding: 27px;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 10px;

    line-height: 1.8;

}


.terminal-body p {

    margin-bottom: 8px;

    color: #c0ccc5;

}


.terminal-green {

    color: var(--green);

}


.terminal-output {

    margin-left: 16px;

    margin-bottom: 18px !important;

    color: #7ca28b !important;

}


.blinking::after {

    content: "";

    display: inline-block;

    width: 6px;
    height: 12px;

    margin-left: 4px;

    vertical-align: -2px;

    background: var(--green);

    animation: cursorBlink 1s infinite;

}


@keyframes cursorBlink {

    0%,
    45% {
        opacity: 1;
    }

    46%,
    100% {
        opacity: 0;
    }

}


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

footer {

    padding: 28px 0;

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

    background: #040806;

}


.footer-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

}


.footer-inner > div:first-child {

    display: flex;

    flex-direction: column;

}


.footer-inner strong {

    font-size: 12px;

}


.footer-inner span {

    color: var(--muted-dark);

    font-size: 9px;

}


.footer-links {

    display: flex;

    gap: 18px;

}


.footer-links a {

    color: var(--muted);

    font-size: 9px;

    transition: 0.25s ease;

}


.footer-links a:hover {

    color: var(--green);

}


.copyright {

    margin-top: 20px;

    padding-top: 20px;

    border-top: 1px solid rgba(255,255,255,0.04);

    color: var(--muted-dark);

    font-size: 8px;

}


/* =========================================================
   REVEAL ANIMATION
   ========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(25px);

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

}


.reveal.visible {

    opacity: 1;

    transform: translateY(0);

}


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

@media (max-width: 1050px) {

    .navigation {
        gap: 17px;
    }

    .hero-layout {
        gap: 40px;
    }

    .hero h1 {
        font-size: clamp(55px, 7vw, 78px);
    }

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

}


@media (max-width: 850px) {

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

    .section {
        padding: 90px 0;
    }


    .menu-button {
        display: block;
    }


    .navigation {

        display: none;

        position: absolute;

        top: 70px;

        left: 16px;
        right: 16px;

        padding: 15px;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

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

        border-radius: 10px;

        background:
            rgba(5, 10, 8, 0.98);

    }


    .navigation.open {
        display: flex;
    }


    .nav-link {

        padding: 13px 8px;

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

    }


    .nav-link.active::after {
        display: none;
    }


    .nav-resume {

        margin-top: 12px;

        text-align: center;

    }


    .hero {

        padding-top: 120px;

    }


    .hero-layout {

        grid-template-columns: 1fr;

        text-align: center;

    }


    .hero-content {

        display: flex;

        flex-direction: column;

        align-items: center;

    }


    .hero h1 {

        font-size:
            clamp(52px, 12vw, 75px);

    }


    .hero-text {

        font-size: 15px;

    }


    .hero-pills,
    .hero-actions,
    .hero-socials {

        justify-content: center;

    }


    .hero-visual {

        min-height: 520px;

    }


    .profile-frame {

        width: 330px;

    }


    .card-top {

        right: 5%;

    }


    .card-bottom {

        left: 5%;

    }


    .stats-grid {

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

    }


    .stat-box:nth-child(2) {

        border-right: 0;

    }


    .stat-box:nth-child(-n+2) {

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

    }


    .about-layout,
    .contact-layout {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .principles {

        grid-template-columns: 1fr;

    }


    .experience-body {

        grid-template-columns: 1fr;

    }


    .experience-body > div {

        border-right: 0;

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

    }


    .experience-body > div:last-child {

        border-bottom: 0;

    }


    .experience-metrics {

        grid-template-columns: 1fr;

    }


    .experience-metrics div {

        border-right: 0;

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

    }


    .experience-metrics div:last-child {

        border-bottom: 0;

    }


    .education-grid {

        grid-template-columns: 1fr;

    }

}


@media (max-width: 600px) {

    .container {

        width: calc(100% - 28px);

    }


    .logo-text {

        display: none;

    }


    .section-heading {

        margin-bottom: 45px;

    }


    .section-heading h2 {

        font-size: 43px;

        letter-spacing: -2px;

    }


    .section-heading-inline {

        flex-direction: column;

        align-items: flex-start;

    }


    .hero h1 {

        font-size: 52px;

        letter-spacing: -3px;

    }


    .hero-text {

        font-size: 14px;

    }


    .status-line {

        font-size: 7px;

    }


    .hero-visual {

        min-height: 450px;

    }


    .profile-frame {

        width: 275px;

    }


    .orbit-a {

        width: 350px;
        height: 350px;

    }


    .orbit-b,
    .orbit-c {

        display: none;

    }


    .floating-card {

        padding: 8px 10px;

    }


    .card-top {

        top: 45px;
        right: 0;

    }


    .card-bottom {

        bottom: 35px;
        left: 0;

    }


    .stats-grid {

        margin-top: 45px;

    }


    .stat-box {

        padding: 20px 14px;

    }


    .stat-number {

        font-size: 21px;

    }


    .skills-matrix,
    .projects-grid {

        grid-template-columns: 1fr;

    }


    .project-card {

        min-height: 400px;

    }


    .experience-timeline {

        padding-left: 25px;

    }


    .timeline-marker {

        left: -25px;

    }


    .experience-top {

        flex-direction: column;

        padding: 24px;

    }


    .experience-top h3,
    .compact-role h3 {

        font-size: 22px;

    }


    .experience-body > div {

        padding: 24px;

    }


    .technology-strip {

        padding: 18px 24px;

    }


    .compact-role {

        display: block;

        padding: 24px;

    }


    .compact-role .experience-date {

        display: inline-block;

        margin-top: 15px;

    }


    .role-summary {

        margin-top: 20px;

    }


    .education-card {

        padding: 24px;

    }


    .contact-content h2 {

        font-size: 48px;

        letter-spacing: -3px;

    }


    .terminal-body {

        padding: 20px;

        font-size: 9px;

    }


    .footer-inner {

        align-items: flex-start;

        flex-direction: column;

    }


    .footer-links {

        flex-wrap: wrap;

    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

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

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

        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

    }

}
/* =========================================================
   CONTACT SOCIAL LINKS
   ========================================================= */

.contact-socials {

    display: grid;

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

    gap: 10px;

    margin-top: 28px;

    max-width: 650px;

}


.contact-social {

    min-height: 68px;

    padding: 12px;

    display: flex;

    align-items: center;

    gap: 10px;

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

    border-radius: 9px;

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

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;

}


.contact-social:hover {

    transform: translateY(-3px);

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

    background:
        rgba(53, 232, 117, 0.035);

}


.contact-social-icon {

    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

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

    border-radius: 7px;

    color: var(--green);

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 8px;

    font-weight: 900;

}


.contact-social > span:nth-child(2) {

    min-width: 0;

    display: flex;

    flex-direction: column;

}


.contact-social small {

    color: var(--muted-dark);

    font-size: 7px;

    font-weight: 800;

    letter-spacing: 1px;

}


.contact-social strong {

    margin-top: 2px;

    color: var(--text);

    font-size: 9px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}


.contact-arrow {

    margin-left: auto;

    color: var(--muted-dark);

    font-size: 13px;

    transition: 0.25s ease;

}


.contact-social:hover .contact-arrow {

    color: var(--green);

    transform: translate(2px, -2px);

}


/* =========================================================
   CONTACT SOCIAL RESPONSIVE
   ========================================================= */

@media (max-width: 850px) {

    .contact-socials {

        grid-template-columns: 1fr;

        max-width: 500px;

        width: 100%;

    }

}


@media (max-width: 600px) {

    .contact-social {

        min-height: 62px;

    }

}