/* =========================================================
   ROHIT SINGH - CYBER DEVELOPER PORTFOLIO
   Fully Responsive CSS
========================================================= */

:root {
    --bg: #030609;
    --bg2: #070c10;
    --card: rgba(9, 15, 20, 0.88);

    --green: #00ff9c;
    --cyan: #00e5ff;
    --blue: #5b7cff;
    --purple: #b26cff;
    --pink: #ff3cac;
    --orange: #ff9d00;

    --text: #e9fff7;
    --muted: #71818a;
    --muted2: #4d5b62;

    --border: rgba(0, 255, 156, 0.14);

    --mono: "JetBrains Mono", monospace;
    --display: "Orbitron", sans-serif;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    width: 100%;
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(0, 255, 156, 0.07),
            transparent 25%
        ),
        radial-gradient(
            circle at 90% 30%,
            rgba(0, 229, 255, 0.05),
            transparent 25%
        ),
        var(--bg);

    color: var(--text);
    font-family: var(--mono);

    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font-family: inherit;
}

a {
    color: inherit;
}

::selection {
    background: var(--green);
    color: #00150d;
}


/* =========================================================
   BACKGROUND
========================================================= */

.grid-background {
    position: fixed;
    inset: 0;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(0, 255, 156, 0.045) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 255, 156, 0.045) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    opacity: 0.35;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 90%
    );

    z-index: -5;
}

.noise {
    position: fixed;
    inset: 0;

    pointer-events: none;

    opacity: 0.025;

    z-index: 999;

    background-image:
        url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.cursor-glow {
    position: fixed;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    transform: translate(-50%, -50%);

    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(0, 255, 156, 0.07),
            transparent 70%
        );

    z-index: -2;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 72px;

    padding: 0 clamp(20px, 7vw, 100px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(3, 6, 9, 0.82);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid var(--border);

    z-index: 1000;
}

.logo {
    text-decoration: none;

    font-family: var(--display);

    font-size: 20px;

    font-weight: 800;

    letter-spacing: 2px;

    white-space: nowrap;
}

.logo span {
    color: var(--green);
}

.navbar nav {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2vw, 30px);
}

.navbar nav a {
    color: #75858d;

    text-decoration: none;

    font-size: 10px;

    white-space: nowrap;

    transition: 0.3s;
}

.navbar nav a:hover {
    color: var(--green);

    text-shadow:
        0 0 12px var(--green);
}

.menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    background: transparent;

    color: var(--green);

    cursor: pointer;

    font-size: 18px;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    width: min(1400px, 100%);

    min-height: 100vh;

    margin: auto;

    padding:
        130px clamp(20px, 7vw, 100px)
        80px;

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items: center;

    gap: clamp(40px, 7vw, 100px);
}

.hero-left,
.hero-right {
    min-width: 0;
}

.terminal-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 8px 13px;

    margin-bottom: 25px;

    border: 1px solid rgba(0, 255, 156, 0.2);

    background: rgba(0, 255, 156, 0.035);

    color: var(--green);

    font-size: 9px;

    letter-spacing: 2px;
}

.status-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--green);

    box-shadow:
        0 0 15px var(--green);

    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    50% {
        opacity: 0.3;
    }
}

.hero-small {
    color: var(--muted);

    font-size: 11px;

    margin-bottom: 15px;
}

.hero-small span {
    color: var(--green);
}

.hero h1 {
    font-family: var(--display);

    font-size: clamp(48px, 7vw, 92px);

    line-height: 0.95;

    letter-spacing: -4px;

    margin-bottom: 20px;
}

.hero h1 span {
    color: transparent;

    -webkit-text-stroke: 1px var(--green);

    text-shadow:
        0 0 30px rgba(0, 255, 156, 0.12);
}

.hero-title {
    min-height: 35px;

    color: var(--cyan);

    font-family: var(--display);

    font-size: clamp(16px, 2vw, 24px);

    margin-bottom: 22px;
}

.cursor {
    color: var(--green);

    animation: blink 0.8s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-description {
    max-width: 650px;

    color: #84939a;

    font-size: 13px;

    line-height: 1.9;

    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 12px;

    margin-bottom: 30px;
}

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding: 12px 18px;

    border: 1px solid;

    text-decoration: none;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    cursor: pointer;

    transition: 0.3s;
}

.btn-primary {
    color: #00150d;

    background: var(--green);

    border-color: var(--green);
}

.btn-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 0 30px rgba(0, 255, 156, 0.3);
}

.btn-outline {
    color: var(--green);

    border-color: rgba(0, 255, 156, 0.3);

    background: rgba(0, 255, 156, 0.02);
}

.btn-outline:hover {
    background: rgba(0, 255, 156, 0.08);

    transform: translateY(-3px);
}

.social-links {
    display: flex;

    gap: 12px;
}

.social-links a {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.08);

    color: #64747b;

    text-decoration: none;

    transition: 0.3s;
}

.social-links a:hover {
    color: var(--green);

    border-color: var(--green);

    box-shadow:
        0 0 15px rgba(0, 255, 156, 0.2);
}


/* =========================================================
   CODE WINDOW
========================================================= */

.hero-right {
    position: relative;

    width: 100%;

    display: flex;

    justify-content: center;

    min-width: 0;
}

.code-window {
    width: 100%;

    max-width: 650px;

    overflow: hidden;

    border: 1px solid rgba(0, 255, 156, 0.18);

    background: rgba(8, 13, 17, 0.9);

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.5);

    transform:
        perspective(1200px)
        rotateY(-3deg);

    transition: 0.5s;
}

.code-window:hover {
    transform:
        perspective(1200px)
        rotateY(0)
        translateY(-5px);
}

.window-header {
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 14px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    color: #65737a;

    font-size: 9px;
}

.window-dots {
    display: flex;
    gap: 6px;
}

.window-dots span {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #283038;
}

.window-dots span:first-child {
    background: #ff5f57;
}

.window-dots span:nth-child(2) {
    background: #ffbd2e;
}

.window-dots span:last-child {
    background: #28c840;
}

.window-secure {
    color: var(--green);
}

.code-body {
    width: 100%;

    padding: 25px;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}

.code-body pre {
    width: max-content;

    min-width: 100%;

    font-size: clamp(9px, 1vw, 13px);

    line-height: 1.9;

    white-space: pre;
}

.purple {
    color: #c084fc;
}

.blue {
    color: #60a5fa;
}

.cyan {
    color: #22d3ee;
}

.green {
    color: var(--green);
}

.orange {
    color: #fb923c;
}

.floating-card {
    position: absolute;

    padding: 11px 14px;

    display: flex;
    align-items: center;
    gap: 8px;

    background: rgba(8, 13, 17, 0.95);

    border: 1px solid rgba(0, 255, 156, 0.2);

    color: var(--green);

    font-size: 8px;

    animation: float 4s ease-in-out infinite;
}

.card-one {
    top: 5%;
    left: -20px;
}

.card-two {
    right: -15px;
    bottom: 18%;

    animation-delay: 1s;
}

.card-three {
    left: 15%;
    bottom: -15px;

    animation-delay: 2s;
}

@keyframes float {
    50% {
        transform: translateY(-10px);
    }
}


/* =========================================================
   SECTION
========================================================= */

.section {
    width: min(1400px, 100%);

    margin: auto;

    padding:
        110px clamp(20px, 7vw, 100px);
}

.section-heading {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 50px;
}

.section-heading > span {
    flex: 0 0 auto;

    color: var(--green);

    font-size: 11px;
}

.section-heading h2 {
    flex: 0 0 auto;

    font-family: var(--display);

    font-size: clamp(24px, 3vw, 38px);
}

.section-heading div {
    width: min(350px, 30vw);

    height: 1px;

    background:
        linear-gradient(
            90deg,
            rgba(0, 255, 156, 0.4),
            transparent
        );
}

.section-intro {
    max-width: 650px;

    color: var(--muted);

    font-size: 12px;

    line-height: 1.8;

    margin-top: -25px;

    margin-bottom: 40px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.8fr);

    gap: 25px;
}

.about-terminal {
    min-width: 0;

    border: 1px solid rgba(0, 255, 156, 0.12);

    background: rgba(10, 15, 19, 0.75);
}

.terminal-top {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 13px 16px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.05);

    color: #56636a;

    font-size: 9px;
}

.terminal-content {
    padding: clamp(20px, 3vw, 30px);

    color: #829198;

    font-size: 12px;

    line-height: 1.9;
}

.terminal-text {
    color: #a5b4b9;

    margin: 20px 0 25px;
}

.status-list {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 10px;
}

.status-list div {
    min-width: 0;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    background: rgba(255, 255, 255, 0.015);
}

.status-list span {
    display: block;

    color: #56636a;

    font-size: 8px;

    margin-bottom: 6px;
}

.status-list strong {
    display: block;

    color: #c6d0d3;

    font-size: 9px;

    overflow-wrap: anywhere;
}

.status-list .online {
    color: var(--green);
}

.about-stats {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}

.stat-card {
    position: relative;

    min-width: 0;
    min-height: 140px;

    padding: 25px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    overflow: hidden;

    border: 1px solid rgba(0, 255, 156, 0.1);

    background:
        linear-gradient(
            145deg,
            rgba(0, 255, 156, 0.04),
            rgba(255, 255, 255, 0.01)
        );

    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 255, 156, 0.35);
}

.stat-number {
    color: var(--green);

    font-family: var(--display);

    font-size: clamp(25px, 3vw, 35px);
}

.stat-label {
    margin-top: 8px;

    color: #68777e;

    font-size: 8px;

    letter-spacing: 1px;
}

.stat-line {
    position: absolute;

    bottom: 0;
    left: 0;

    width: 35%;
    height: 2px;

    background: var(--green);

    box-shadow:
        0 0 10px var(--green);
}


/* =========================================================
   SKILLS
========================================================= */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}

.skill-card {
    min-width: 0;

    padding: 24px;

    position: relative;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);

    background: rgba(9, 14, 18, 0.72);

    transition: 0.4s;
}

.skill-card:hover {
    transform: translateY(-5px);

    border-color: rgba(0, 255, 156, 0.25);

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);
}

.skill-header {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 12px;

    margin-bottom: 20px;
}

.skill-icon {
    flex: 0 0 auto;

    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border: 1px solid;

    background: rgba(255, 255, 255, 0.02);
}

.skill-icon.cyan {
    color: var(--cyan);
}

.skill-icon.green {
    color: var(--green);
}

.skill-icon.purple {
    color: var(--purple);
}

.skill-icon.orange {
    color: var(--orange);
}

.skill-icon.blue {
    color: var(--blue);
}

.skill-icon.pink {
    color: var(--pink);
}

.skill-header h3 {
    min-width: 0;

    font-family: var(--display);

    font-size: 12px;
}

.skill-number {
    margin-left: auto;

    color: #303c42;

    font-size: 10px;
}

.skill-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 6px;
}

.skill-tags span {
    padding: 6px 8px;

    border: 1px solid rgba(255, 255, 255, 0.06);

    color: #74838a;

    font-size: 8px;
}


/* =========================================================
   PROJECTS
========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}

.project-card {
    position: relative;

    min-width: 0;
    min-height: 330px;

    padding: 28px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.07);

    background:
        linear-gradient(
            145deg,
            rgba(13, 20, 25, 0.9),
            rgba(7, 11, 14, 0.9)
        );

    transition: 0.4s;
}

.project-card:hover {
    transform: translateY(-7px);

    border-color: rgba(0, 255, 156, 0.3);
}

.project-card.featured {
    border-color: rgba(0, 255, 156, 0.2);
}

.project-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 35px;
}

.project-number {
    color: var(--green);

    font-size: 10px;
}

.project-links {
    display: flex;

    gap: 13px;
}

.project-links a {
    color: #59666d;

    font-size: 13px;

    transition: 0.3s;
}

.project-links a:hover {
    color: var(--green);
}

.project-icon {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    color: var(--green);

    border: 1px solid rgba(0, 255, 156, 0.2);

    background: rgba(0, 255, 156, 0.03);

    margin-bottom: 18px;
}

.project-card h3 {
    font-family: var(--display);

    font-size: 17px;

    margin-bottom: 13px;
}

.project-card p {
    color: #68777e;

    font-size: 11px;

    line-height: 1.8;

    margin-bottom: 20px;
}

.project-tech {
    display: flex;

    flex-wrap: wrap;

    gap: 8px;
}

.project-tech span {
    color: var(--cyan);

    font-size: 8px;
}

.project-tech span::before {
    content: "#";

    color: #425057;
}


/* =========================================================
   EXPERIENCE
========================================================= */

.timeline {
    position: relative;

    width: min(900px, 100%);

    margin: auto;
}

.timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;

    left: 24px;

    width: 1px;

    background:
        linear-gradient(
            var(--green),
            transparent
        );

    opacity: 0.25;
}

.timeline-item {
    position: relative;

    display: grid;

    grid-template-columns: 48px minmax(0, 1fr);

    gap: 25px;

    margin-bottom: 45px;
}

.timeline-marker {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--bg);

    border: 1px solid rgba(0, 255, 156, 0.3);

    color: var(--green);

    font-size: 8px;

    z-index: 1;
}

.timeline-content {
    min-width: 0;

    padding: 23px 25px;

    border: 1px solid rgba(255, 255, 255, 0.07);

    background: rgba(10, 15, 19, 0.6);
}

.timeline-period {
    color: var(--green);

    font-size: 9px;
}

.timeline-content h3 {
    font-family: var(--display);

    font-size: 16px;

    margin: 10px 0 5px;
}

.timeline-content h4 {
    color: var(--cyan);

    font-size: 10px;

    font-weight: 400;

    margin-bottom: 15px;
}

.timeline-content p {
    color: #6e7d84;

    font-size: 11px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-wrapper {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: clamp(35px, 7vw, 80px);

    padding: clamp(25px, 5vw, 50px);

    border: 1px solid rgba(0, 255, 156, 0.12);

    background:
        radial-gradient(
            circle at 0 100%,
            rgba(0, 255, 156, 0.06),
            transparent 35%
        ),
        rgba(8, 13, 17, 0.7);
}

.contact-command {
    color: #66757c;

    font-size: 10px;

    margin-bottom: 20px;
}

.contact-left h2 {
    font-family: var(--display);

    font-size: clamp(24px, 4vw, 44px);

    line-height: 1.2;

    margin-bottom: 22px;
}

.contact-left h2 span {
    color: transparent;

    -webkit-text-stroke: 1px var(--green);
}

.contact-left > p:not(.contact-command) {
    color: #6d7b82;

    font-size: 11px;

    line-height: 1.9;

    margin-bottom: 25px;
}

.email-link {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: var(--green);

    text-decoration: none;

    font-size: 11px;

    overflow-wrap: anywhere;
}

.contact-form {
    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 17px;
}

.input-group {
    display: flex;

    flex-direction: column;

    gap: 7px;
}

.input-group label {
    color: #536269;

    font-size: 8px;

    letter-spacing: 2px;
}

.input-group input,
.input-group textarea {
    width: 100%;

    min-width: 0;

    padding: 14px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    outline: none;

    resize: vertical;

    color: var(--text);

    background: rgba(0, 0, 0, 0.25);

    font-size: 10px;

    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: rgba(0, 255, 156, 0.45);

    box-shadow:
        0 0 20px rgba(0, 255, 156, 0.04);
}

#formMessage {
    color: var(--green);

    font-size: 9px;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    width: 100%;

    padding:
        28px clamp(20px, 7vw, 100px);

    display: flex;

    justify-content: space-between;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

    color: #4c5a61;

    font-size: 8px;
}


/* =========================================================
   BACK TO TOP
========================================================= */

.back-top {
    position: fixed;

    right: 20px;
    bottom: 20px;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(0, 255, 156, 0.25);

    background: rgba(5, 7, 10, 0.9);

    color: var(--green);

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 100;
}

.back-top.show {
    opacity: 1;

    visibility: visible;
}


/* =========================================================
   REVEAL ANIMATION
========================================================= */

.reveal {
    opacity: 0;

    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   TABLET
   1024px
========================================================= */

@media (max-width: 1100px) {

    .navbar nav {
        gap: 15px;
    }

    .navbar nav a {
        font-size: 9px;
    }

    .hero {
        gap: 40px;
    }

    .skills-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
   900px
========================================================= */

@media (max-width: 900px) {

    .navbar {
        padding: 0 30px;
    }

    .navbar nav {
        display: none;
    }

    .menu-btn {
        display: grid;

        place-items: center;
    }

    .navbar nav.active {
        position: absolute;

        top: 72px;
        left: 0;

        width: 100%;

        display: flex;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        padding: 10px 20px 20px;

        background:
            rgba(3, 6, 9, 0.98);

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.4);
    }

    .navbar nav.active a {
        padding: 15px 5px;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.04);

        font-size: 10px;
    }

    .hero {
        grid-template-columns: 1fr;

        padding-top: 120px;

        min-height: auto;
    }

    .hero-left {
        max-width: 800px;
    }

    .hero-right {
        margin-top: 20px;
    }

    .code-window {
        max-width: 800px;

        transform: none;
    }

    .code-window:hover {
        transform: translateY(-5px);
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
   600px
========================================================= */

@media (max-width: 600px) {

    body {
        font-size: 12px;
    }

    .navbar {
        height: 64px;

        padding: 0 18px;
    }

    .logo {
        font-size: 17px;
    }

    .navbar nav.active {
        top: 64px;
    }

    .hero {
        width: 100%;

        padding:
            105px 18px
            60px;

        gap: 50px;
    }

    .terminal-status {
        font-size: 8px;

        margin-bottom: 20px;
    }

    .hero-small {
        font-size: 9px;
    }

    .hero h1 {
        font-size:
            clamp(42px, 16vw, 70px);

        letter-spacing: -3px;

        word-break: break-word;
    }

    .hero-title {
        font-size: 15px;

        min-height: 25px;
    }

    .hero-description {
        font-size: 11px;

        line-height: 1.8;
    }

    .hero-buttons {
        width: 100%;

        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .social-links {
        margin-top: 5px;
    }

    .code-window {
        width: 100%;

        border-radius: 0;
    }

    .code-body {
        padding: 18px;

        overflow-x: auto;
    }

    .code-body pre {
        font-size: 8px;

        line-height: 1.8;
    }

    .floating-card {
        display: none;
    }

    .section {
        padding:
            75px 18px;
    }

    .section-heading {
        gap: 10px;

        margin-bottom: 35px;
    }

    .section-heading h2 {
        font-size: 21px;
    }

    .section-heading div {
        width: auto;

        flex: 1;
    }

    .section-intro {
        font-size: 10px;

        margin-top: -15px;
    }

    .about-grid {
        gap: 15px;
    }

    .terminal-content {
        padding: 18px;

        font-size: 10px;
    }

    .status-list {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .stat-card {
        min-height: 115px;

        padding: 18px;
    }

    .stat-number {
        font-size: 25px;
    }

    .stat-label {
        font-size: 7px;
    }

    .skills-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .skill-card {
        padding: 18px;
    }

    .skill-header h3 {
        font-size: 11px;
    }

    .skill-tags span {
        font-size: 7px;

        padding: 5px 7px;
    }

    .projects-grid {
        grid-template-columns: 1fr;

        gap: 12px;
    }

    .project-card {
        min-height: auto;

        padding: 20px;
    }

    .project-top {
        margin-bottom: 25px;
    }

    .project-card h3 {
        font-size: 15px;
    }

    .project-card p {
        font-size: 10px;
    }

    .timeline::before {
        left: 18px;
    }

    .timeline-item {
        grid-template-columns:
            36px minmax(0, 1fr);

        gap: 12px;

        margin-bottom: 30px;
    }

    .timeline-marker {
        width: 36px;
        height: 36px;

        font-size: 7px;
    }

    .timeline-content {
        padding: 18px;
    }

    .timeline-content h3 {
        font-size: 13px;
    }

    .timeline-content h4 {
        font-size: 9px;
    }

    .timeline-content p {
        font-size: 9px;
    }

    .contact-wrapper {
        gap: 35px;

        padding: 20px;
    }

    .contact-left h2 {
        font-size: 24px;
    }

    .contact-left > p:not(.contact-command) {
        font-size: 10px;
    }

    .contact-form .btn {
        width: 100%;
    }

    footer {
        padding:
            25px 18px;

        flex-direction: column;

        text-align: center;

        font-size: 7px;
    }

    .back-top {
        right: 15px;
        bottom: 15px;

        width: 38px;
        height: 38px;
    }

}


/* =========================================================
   SMALL PHONES
   400px
========================================================= */

@media (max-width: 400px) {

    .hero {
        padding-left: 14px;
        padding-right: 14px;
    }

    .section {
        padding-left: 14px;
        padding-right: 14px;
    }

    .hero h1 {
        font-size: 43px;
    }

    .hero-title {
        font-size: 13px;
    }

    .hero-description {
        font-size: 10px;
    }

    .code-body {
        padding: 14px;
    }

    .code-body pre {
        font-size: 7px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .stat-card {
        min-height: 100px;
    }

    .section-heading h2 {
        font-size: 18px;
    }

    .project-card {
        padding: 17px;
    }

    .timeline-item {
        grid-template-columns:
            30px minmax(0, 1fr);

        gap: 10px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        width: 30px;
        height: 30px;
    }

}


/* =========================================================
   VERY SMALL DEVICES
   320px
========================================================= */

@media (max-width: 340px) {

    .navbar {
        padding: 0 12px;
    }

    .hero {
        padding-left: 12px;
        padding-right: 12px;
    }

    .section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-title {
        font-size: 12px;
    }

    .code-body pre {
        font-size: 6.5px;
    }

    .contact-wrapper {
        padding: 15px;
    }

}
