:root {
    --bg: #050507;
    --bg-soft: #0a0a0f;

    --text: #f5f5f7;
    --muted: #8b8b98;

    --primary: #7c5cff;
    --secondary: #00d9ff;

    --border: rgba(255,255,255,.09);
    --glass: rgba(255,255,255,.035);

    --radius: 24px;

    --font: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);

    font-family: var(--font);

    overflow-x: hidden;
}

@font-face {
    font-family: "Droid Arabic Kufi";
    font-style: normal;
    font-weight: 400;
    src: url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.eot);
    src: url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.eot?#iefix) format("embedded-opentype"), url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.woff2) format("woff2"), url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.woff) format("woff"), url(//fonts.gstatic.com/ea/droidarabickufi/v6/DroidKufi-Regular.ttf) format("truetype");
}

body[dir="rtl"] {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

body[dir="rtl"] .hero-section h1,
body[dir="rtl"] .hero-meta,
body[dir="rtl"] .section-label,
body[dir="rtl"] .timeline-year,
body[dir="rtl"] .timeline-number,
body[dir="rtl"] .project-index,
body[dir="rtl"] .project-placeholder,
body[dir="rtl"] .skill-item,
body[dir="rtl"] .site-footer {
    font-family: 'Space Grotesk', sans-serif;
}

[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] p,
[dir="rtl"] a,
[dir="rtl"] span,
[dir="rtl"] button {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
}

[dir="rtl"] .brand,
[dir="rtl"] .hero-meta,
[dir="rtl"] .section-label,
[dir="rtl"] .timeline-year,
[dir="rtl"] .timeline-number,
[dir="rtl"] .project-index,
[dir="rtl"] .project-placeholder,
[dir="rtl"] .skill-item {
    font-family: 'Space Grotesk', sans-serif;
}

[dir="rtl"] p {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    line-height: 2;
}

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

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

.site-background {
    position: fixed;
    inset: 0;

    z-index: -1;

    background:
            radial-gradient(
                    circle at 80% 10%,
                    rgba(124,92,255,.12),
                    transparent 30%
            ),
            radial-gradient(
                    circle at 20% 80%,
                    rgba(0,217,255,.07),
                    transparent 30%
            ),
            #050507;
}

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

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

    background-size: 70px 70px;

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

.noise {
    position: absolute;
    inset: 0;

    opacity: 0.025;

    pointer-events: none;

    background-image:
            radial-gradient(
                    rgba(255, 255, 255, 0.8) 0.5px,
                    transparent 0.5px
            );

    background-size: 4px 4px;
}

.orb {
    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;

    top: 10%;
    right: 10%;

    background: rgba(124,92,255,.12);
}

.orb-2 {
    width: 300px;
    height: 300px;

    top: 50%;
    left: 0;

    background: rgba(0,217,255,.07);
}

.orb-3 {
    width: 300px;
    height: 300px;

    bottom: 10%;
    right: 30%;

    background: rgba(255,0,180,.06);
}


/* =========================================================
   NAVIGATION
========================================================= */

.main-nav {
    position: fixed;

    top: 20px;
    left: 50%;

    transform: translateX(-50%);

    width: min(1200px, calc(100% - 40px));

    height: 70px;

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

    padding: 0 18px;

    background: rgba(8,8,13,.72);

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

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

    border-radius: 20px;

    z-index: 1000;

    box-shadow:
            0 20px 60px rgba(0,0,0,.25);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    border-radius: 12px;

    font-weight: 800;

    color: white;

    background:
            linear-gradient(
                    135deg,
                    var(--secondary),
                    var(--primary)
            );

    box-shadow:
            0 0 30px rgba(124,92,255,.25);
}

.brand-name {
    font-weight: 700;
    letter-spacing: .08em;
}

.brand-name span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 5px;
}

.nav-links a {
    color: var(--muted);

    padding: 10px 14px;

    border-radius: 10px;

    font-size: 13px;

    transition: .3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;

    background: rgba(255,255,255,.06);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switch {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

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

    border-radius: 10px;

    font-size: 12px;

    transition: .3s;
}

.language-switch:hover {
    border-color: var(--primary);

    color: var(--secondary);
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 11px 16px;

    border-radius: 12px;

    background: white;

    color: black;

    font-size: 12px;
    font-weight: 600;
}

.nav-contact i {
    font-size: 10px;
}

.brand-mark {
    position: relative;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    padding: 2px;

    background:
            linear-gradient(
                    135deg,
                    #8a7cff,
                    #00d9ff
            );

    box-shadow:
            0 0 25px rgba(138, 124, 255, .25);

    overflow: hidden;

    transition: .35s ease;
}

.brand-mark::before {
    content: "";

    position: absolute;
    inset: 3px;

    border-radius: inherit;

    background: #0b0b12;
}

.brand-mark img {
    position: relative;
    z-index: 1;

    width: 100%;
    height: 100%;

    border-radius: 50%;

    object-fit: cover;

    display: block;
}

.brand:hover .brand-mark {
    transform: scale(1.1);

    box-shadow:
            0 0 35px rgba(0, 217, 255, .35);
}


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

.hero-section {
    min-height: 100vh;

    width: min(1400px, calc(100% - 80px));

    margin: auto;

    padding-top: 160px;

    display: grid;

    grid-template-columns: 1.05fr .95fr;

    align-items: center;

    gap: 50px;

    position: relative;
}

.hero-content {
    position: relative;

    z-index: 2;
}

.hero-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 13px;

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

    border-radius: 100px;

    background: var(--glass);

    color: var(--muted);

    font-size: 12px;

    margin-bottom: 28px;
}

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

    border-radius: 50%;

    background: #39e58c;

    box-shadow:
            0 0 15px #39e58c;

    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }

}

.hero-section h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(55px, 7vw, 105px);
    line-height: .95;
    letter-spacing: -.07em;
    max-width: 950px;
    margin-bottom: 35px;
}

.gradient-text {
    display: block;

    background:
            linear-gradient(
                    90deg,
                    #fff,
                    #8a7cff,
                    #00d9ff
            );

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

    color: transparent;
}

/* Arabic */
[dir="rtl"] .hero-section h1 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    line-height: 1.2;
    letter-spacing: -0.04em;
}

[dir="rtl"] .hero-section .gradient-text {
    line-height: 1.15;
}

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

    color: var(--muted);

    font-size: 17px;

    line-height: 1.9;

    margin-bottom: 35px;
}

.hero-buttons {
    display: flex;

    gap: 12px;

    flex-wrap: wrap;
}

.btn {
    display: inline-flex;

    align-items: center;

    gap: 12px;

    padding: 15px 20px;

    border-radius: 14px;

    font-size: 13px;

    font-weight: 600;

    transition: .35s;
}

.btn-primary {
    color: white;

    background:
            linear-gradient(
                    135deg,
                    var(--primary),
                    #5b43d6
            );

    box-shadow:
            0 15px 40px rgba(124,92,255,.25);
}

.btn-primary:hover {
    transform: translateY(-4px);

    box-shadow:
            0 20px 60px rgba(124,92,255,.4);
}

.btn-outline {
    border: 1px solid var(--border);

    background: rgba(255,255,255,.025);
}

.btn-outline:hover {
    background: rgba(255,255,255,.07);

    transform: translateY(-4px);
}

.hero-meta {
    display: flex;

    gap: 30px;

    margin-top: 60px;
}

.hero-meta div {
    display: flex;

    flex-direction: column;

    gap: 4px;
}

.hero-meta span {
    color: var(--primary);

    font-size: 10px;
}

.hero-meta strong {
    font-size: 12px;
}


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

.hero-visual {
    min-height: 600px;

    position: relative;

    display: grid;

    place-items: center;
}

.hero-circle {
    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(124,92,255,.25);

    animation: rotate 25s linear infinite;
}

.circle-large {
    width: 500px;
    height: 500px;
}

.circle-medium {
    width: 350px;
    height: 350px;

    border-color: rgba(0,217,255,.18);

    animation-duration: 18s;

    animation-direction: reverse;
}

@keyframes rotate {
    to {
        transform: rotate(360deg);
    }
}

.hero-core {
    width: 210px;
    height: 210px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(124,92,255,.35),
                    rgba(0,0,0,.9) 70%
            );

    box-shadow:
            0 0 100px rgba(124,92,255,.25);

    border: 1px solid rgba(255,255,255,.12);

    z-index: 2;
}

.core-inner {
    width: 130px;
    height: 130px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    border: 1px solid rgba(0,217,255,.3);

    color: white;

    font-family: 'Space Grotesk';

    font-size: 38px;

    font-weight: 700;

    background:
            linear-gradient(
                    135deg,
                    rgba(124,92,255,.15),
                    rgba(0,217,255,.08)
            );
}

.floating-card {
    position: absolute;

    z-index: 5;

    padding: 15px;

    background: rgba(10,10,16,.8);

    backdrop-filter: blur(20px);

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

    border-radius: 15px;

    box-shadow:
            0 20px 60px rgba(0,0,0,.3);
}

.card-code {
    top: 100px;
    right: 0;

    width: 220px;

    font-family: monospace;

    font-size: 11px;

    line-height: 2;
}

.code-header {
    display: flex;

    gap: 5px;

    margin-bottom: 10px;
}

.code-header span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #555;
}

.code-line span {
    color: var(--secondary);
}

.indent {
    padding-left: 15px;
}

.card-location {
    bottom: 120px;
    left: 0;

    display: flex;

    gap: 12px;

    align-items: center;
}

.card-location > i {
    color: var(--secondary);
}

.card-location small {
    display: block;

    color: var(--muted);

    font-size: 9px;
}

.card-location strong {
    display: block;

    font-size: 11px;

    margin-top: 3px;
}

.card-stack {
    bottom: 40px;
    right: 50px;

    display: flex;

    gap: 10px;

    align-items: center;

    font-size: 11px;
}

.card-stack i {
    color: var(--primary);
}


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

.section {
    width: min(1200px, calc(100% - 80px));

    margin: auto;

    padding: 150px 0;
}

.section-label {
    display: flex;

    align-items: center;

    gap: 12px;

    color: var(--muted);

    font-size: 11px;

    letter-spacing: .15em;

    margin-bottom: 50px;
}

.section-label span {
    color: var(--primary);
}


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

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 100px;
}

.about-title h2,
.section-heading h2,
.projects-heading h2,
.skills-intro h2 {
    font-family: 'Space Grotesk', serif;

    font-size: clamp(40px, 5vw, 70px);

    letter-spacing: -.05em;

    line-height: 1;
}

.about-title h2 span {
    color: var(--muted);
}

.large-text {
    color: #aaaab6;

    font-size: 18px;

    line-height: 2;
}

.about-stats {
    display: grid;

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

    gap: 20px;

    margin-top: 60px;

    padding-top: 30px;

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

.stat strong {
    display: block;

    font-family: 'Space Grotesk';

    font-size: 38px;
}

.stat span {
    color: var(--muted);

    font-size: 11px;
}


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

.section-heading {
    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 80px;
}

.section-heading p,
.projects-heading p {
    color: var(--muted);

    max-width: 350px;

    line-height: 1.8;

    font-size: 13px;
}

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

.timeline-item {
    display: grid;

    grid-template-columns: 220px 1fr;

    gap: 50px;

    padding: 50px 0;

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

.timeline-year {
    color: var(--muted);

    font-family: 'Space Grotesk';

    font-size: 12px;
}

.timeline-content {
    position: relative;

    padding-left: 50px;
}

.timeline-number {
    position: absolute;

    left: 0;
    top: 5px;

    color: var(--primary);

    font-size: 11px;
}

.timeline-content h3 {
    font-family: 'Space Grotesk';

    font-size: 28px;

    margin-bottom: 10px;
}

.timeline-content h4 {
    color: var(--secondary);

    font-size: 13px;

    font-weight: 500;

    margin-bottom: 20px;
}

.timeline-content p {
    color: var(--muted);

    line-height: 1.8;

    max-width: 600px;

    font-size: 13px;
}


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

.projects-heading {
    margin-bottom: 45px;
}

.projects-heading h2 {
    margin-bottom: 14px;
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

/* Card */
.project-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255, 255, 255, .025);
    transition:
            transform .4s ease,
            border-color .4s ease,
            box-shadow .4s ease;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(124, 92, 255, .45);

    box-shadow:
            0 20px 50px rgba(0, 0, 0, .28);
}

/* ---------------------------------------------------------
   Project Image
--------------------------------------------------------- */

.project-image {
    position: relative;

    width: 100%;
    height: 180px;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
            radial-gradient(
                    circle at 50% 50%,
                    rgba(124, 92, 255, .18),
                    #09090e 75%
            );
}

/* Screenshot */
.project-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;

    padding: 10px;

    transition:
            transform .5s ease,
            opacity .4s ease;
}

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

/* ---------------------------------------------------------
   Placeholder
--------------------------------------------------------- */

.project-placeholder {
    width: 100%;
    height: 100%;

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

    padding: 25px;

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

    font-size: 42px;

    color: rgba(255, 255, 255, .07);
}

.project-placeholder i {
    font-size: 17px;
    color: var(--primary);
}

/* ---------------------------------------------------------
   Overlay
--------------------------------------------------------- */

.project-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    background: rgba(5, 5, 7, .72);

    backdrop-filter: blur(4px);

    opacity: 0;

    transition:
            opacity .35s ease;
}

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

.project-overlay span {
    font-size: 12px;
    font-weight: 500;
}

.project-overlay i {
    color: var(--secondary);

    transition: transform .3s ease;
}

.project-card:hover .project-overlay i {
    transform: translate(2px, -2px);
}

/* ---------------------------------------------------------
   Project Info
--------------------------------------------------------- */

.project-info {
    min-height: 76px;

    padding: 18px 20px;

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

    gap: 15px;
}

.project-info > div {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 0;
}

.project-index {
    flex-shrink: 0;

    color: var(--primary);

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

    font-size: 10px;
    letter-spacing: .08em;
}

.project-info h3 {
    margin: 0;

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

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

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-info > i {
    flex-shrink: 0;

    color: var(--muted);

    font-size: 14px;

    transition:
            color .3s ease,
            transform .3s ease;
}

.project-card:hover .project-info > i {
    color: var(--secondary);
    transform: rotate(45deg);
}

/* ---------------------------------------------------------
   Empty Projects
--------------------------------------------------------- */

.empty-projects {
    grid-column: 1 / -1;

    padding: 50px 20px;

    text-align: center;

    color: var(--muted);

    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

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

@media (max-width: 768px) {

    .projects-heading {
        margin-bottom: 30px;
    }

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

    .project-image {
        height: 150px;
    }

    .project-image img {
        height: 100%;
        padding: 8px;
    }

    .project-info {
        min-height: 68px;
        padding: 16px 18px;
    }

    .project-info h3 {
        font-size: 16px;
    }

    .project-placeholder {
        font-size: 34px;
        padding: 20px;
    }
}

@media (max-width: 480px) {

    .project-image {
        height: 135px;
    }

    .project-info {
        padding: 14px 16px;
    }

    .project-info h3 {
        font-size: 15px;
    }

    .project-index {
        font-size: 9px;
    }
}


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

.skills-layout {
    display: grid;

    grid-template-columns: .8fr 1.2fr;

    gap: 100px;
}

.skills-intro p {
    color: var(--muted);

    line-height: 1.9;

    margin-top: 25px;

    max-width: 400px;
}

.skills-list {
    display: grid;

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

    gap: 10px;
}

.skill-item {
    min-height: 100px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;
    justify-content: space-between;

    padding: 20px;

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

    border-radius: 16px;

    background: var(--glass);

    transition: .3s;
}

.skill-item:hover {
    border-color: rgba(0,217,255,.4);

    transform: translateY(-4px);

    background: rgba(0,217,255,.03);
}

.skill-item i {
    color: var(--secondary);

    font-size: 20px;
}

.skill-item span {
    font-size: 12px;
}


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

.contact-box {
    position: relative;

    overflow: hidden;

    padding: 90px;

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

    border-radius: 30px;

    background:
            radial-gradient(
                    circle at 80% 20%,
                    rgba(124,92,255,.15),
                    transparent 35%
            ),
            rgba(255,255,255,.025);
}

[dir="rtl"] .contact-box h2 {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

.contact-box h2 {
    position: relative;

    z-index: 2;

    font-family: 'Space Grotesk', serif;

    font-size: clamp(45px, 6vw, 85px);

    line-height: .95;

    letter-spacing: -.06em;

    max-width: 850px;

    margin-bottom: 30px;
}

.contact-box h2 span {
    display: block;

    color: var(--primary);
}

.contact-box p {
    color: var(--muted);

    margin-bottom: 35px;
}

.contact-email {
    display: inline-flex;
    margin-bottom: 22px;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', serif;
    font-size: 20px;
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding-bottom: 8px;
}

.contact-email i {
    color: var(--secondary);

    font-size: 12px;
}

.contact-socials {
    display: flex;

    gap: 10px;

    margin-top: 50px;
}

.contact-socials a {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

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

    border-radius: 12px;

    color: var(--muted);

    transition: .3s;
}

.contact-socials a:hover {
    color: white;

    border-color: var(--primary);

    transform: translateY(-4px);
}


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

.site-footer {
    width: min(1200px, calc(100% - 80px));

    margin: auto;

    padding: 35px 0;

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

    display: flex;

    justify-content: space-between;

    color: var(--muted);

    font-size: 11px;
}

.site-footer strong {
    color: white;

    font-family: 'Space Grotesk';

    letter-spacing: .08em;
}

.site-footer strong span {
    color: var(--primary);
}


/* =========================================================
   MOBILE
========================================================= */

.mobile-menu-button {
    display: none;

    position: fixed;

    right: 20px;
    top: 20px;

    width: 50px;
    height: 50px;

    z-index: 2000;

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

    border-radius: 14px;

    background: rgba(10,10,15,.85);

    color: white;

    font-size: 18px;
}

.mobile-menu {
    display: none;
}


/* =========================================================
   RTL
========================================================= */

[dir="rtl"] .timeline-content {
    padding-left: 0;
    padding-right: 50px;
}

[dir="rtl"] .timeline-number {
    left: auto;
    right: 0;
}

[dir="rtl"] .gradient-text {
    direction: rtl;
}


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

@media (max-width: 1000px) {

    .nav-links,
    .nav-contact {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        width: calc(100% - 100px);
        left: 20px;
        transform: none;
    }

    .hero-section {
        grid-template-columns: 1fr;

        padding-top: 150px;
    }

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

    .about-grid,
    .skills-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

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

    .section-heading {
        display: block;
    }

    .section-heading p {
        margin-top: 20px;
    }
}


@media (max-width: 700px) {

    .hero-section,
    .section,
    .site-footer {
        width: calc(100% - 40px);
    }

    .main-nav {
        width: calc(100% - 90px);
    }

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

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

    .circle-large {
        width: 330px;
        height: 330px;
    }

    .circle-medium {
        width: 240px;
        height: 240px;
    }

    .hero-core {
        width: 140px;
        height: 140px;
    }

    .core-inner {
        width: 90px;
        height: 90px;

        font-size: 25px;
    }

    .card-code {
        top: 20px;
        right: 0;

        transform: scale(.8);
    }

    .card-location {
        bottom: 40px;
        left: 0;

        transform: scale(.8);
    }

    .card-stack {
        right: 0;
        bottom: 0;

        transform: scale(.8);
    }

    .hero-meta {
        gap: 15px;

        flex-wrap: wrap;

        margin-top: 40px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;

        gap: 20px;
    }

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

    .contact-box {
        padding: 40px 25px;
    }

    .contact-section .contact-box {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-email {
        font-size: 14px;
    }

    .site-footer {
        flex-direction: column;

        gap: 15px;
    }

    .whatsapp-contact-btn {
        position: relative;
        margin-top: 0;
        display: inline-flex;
        align-items: center;
        gap: 14px;
        padding: 14px 20px 14px 14px;

        color: #fff;
        text-decoration: none;

        border: 1px solid rgba(255, 255, 255, .12);
        border-radius: 16px;

        background:
                linear-gradient(
                        135deg,
                        rgba(37, 211, 102, .16),
                        rgba(37, 211, 102, .04)
                );

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

        box-shadow:
                0 10px 40px rgba(37, 211, 102, .08);

        transition:
                transform .35s ease,
                border-color .35s ease,
                box-shadow .35s ease,
                background .35s ease;
    }

    .whatsapp-contact-btn:hover {
        transform: translateY(-4px);

        border-color: rgba(37, 211, 102, .45);

        background:
                linear-gradient(
                        135deg,
                        rgba(37, 211, 102, .24),
                        rgba(37, 211, 102, .06)
                );

        box-shadow:
                0 15px 45px rgba(37, 211, 102, .16);
    }

    .whatsapp-icon {
        width: 42px;
        height: 42px;

        display: flex;
        align-items: center;
        justify-content: center;

        border-radius: 12px;

        background: #25D366;

        color: #fff;

        font-size: 21px;

        box-shadow:
                0 6px 20px rgba(37, 211, 102, .25);

        transition: transform .35s ease;
    }

    .whatsapp-contact-btn:hover .whatsapp-icon {
        transform: rotate(-8deg) scale(1.08);
    }

    .whatsapp-text {
        font-size: 15px;
        font-weight: 600;
        letter-spacing: -.01em;
    }

    .whatsapp-arrow {
        margin-left: 8px;

        font-size: 12px;
        opacity: .5;

        transition:
                transform .35s ease,
                opacity .35s ease;
    }

    .whatsapp-contact-btn:hover .whatsapp-arrow {
        opacity: 1;
        transform: translate(3px, -3px);
    }

}

/* =========================================================
   MOBILE MENU
========================================================= */

.mobile-menu.open {
    display: flex;

    position: fixed;

    inset: 0;

    z-index: 1500;

    background:
            rgba(5,5,7,.96);

    backdrop-filter: blur(30px);

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 25px;
}

.mobile-menu a {
    font-family: 'Space Grotesk';

    font-size: 25px;

    color: var(--muted);

    transition: .3s;
}

.mobile-menu a:hover {
    color: white;
}


/* =========================================================
   CURSOR
========================================================= */

.cursor-dot {
    position: fixed;

    width: 5px;
    height: 5px;

    background: white;

    border-radius: 50%;

    pointer-events: none;

    z-index: 9999;

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

.cursor-ring {
    position: fixed;

    width: 35px;
    height: 35px;

    border: 1px solid rgba(124,92,255,.5);

    border-radius: 50%;

    pointer-events: none;

    z-index: 9998;

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

    transition:
            width .2s,
            height .2s;
}

@media (max-width: 900px) {

    .cursor-dot,
    .cursor-ring {
        display: none;
    }

}