/* =========================================================
   محمد عبدالله - Portfolio
   Main Stylesheet
   ========================================================= */

:root {
    --bg: #06101d;
    --bg-soft: #0a1625;
    --card: rgba(14, 29, 47, 0.78);
    --card-solid: #0d1b2c;

    --text: #f5f8fc;
    --muted: #9baabd;

    --primary: #49d6a8;
    --primary-light: #72e7c2;

    --secondary: #6c7cff;
    --accent: #9b8cff;

    --border: rgba(255, 255, 255, 0.09);

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.32);

    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
}


/* =========================================================
   Reset
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: "Cairo", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}


/* =========================================================
   Container
   ========================================================= */

.container {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   Background
   ========================================================= */

.background-grid {
    position: fixed;
    inset: 0;

    pointer-events: none;

    opacity: 0.23;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    mask-image:
        linear-gradient(
            to bottom,
            #000,
            transparent 90%
        );

    z-index: -5;
}


.background-glow {
    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(110px);

    opacity: 0.11;

    pointer-events: none;

    z-index: -4;
}

.glow-one {
    background: var(--primary);

    top: -250px;
    right: -150px;
}

.glow-two {
    background: var(--secondary);

    top: 550px;
    left: -250px;
}


/* =========================================================
   Header
   ========================================================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 78px;

    z-index: 100;

    background: rgba(6, 16, 29, 0.68);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid transparent;

    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.scrolled {
    background: rgba(6, 16, 29, 0.94);

    border-bottom-color: var(--border);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.18);
}


.nav-container {
    height: 100%;

    display: flex;

    align-items: center;

    gap: 30px;
}


/* =========================================================
   Brand
   ========================================================= */

.brand {
    display: flex;

    align-items: center;

    gap: 10px;

    margin-left: auto;
}

.brand-icon {
    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    border: 1px solid
        rgba(73, 214, 168, 0.35);

    background:
        linear-gradient(
            145deg,
            rgba(73, 214, 168, 0.18),
            rgba(108, 124, 255, 0.13)
        );

    color: var(--primary);

    font-size: 20px;

    font-weight: 800;

    padding: 0;

    overflow: hidden;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;

    box-shadow:
        inset 0 0 20px
        rgba(73, 214, 168, 0.04);
}

.brand-text strong,
.brand-text small {
    display: block;

    line-height: 1.2;
}

.brand-text strong {
    font-size: 14px;
    font-weight: 800;
}

.brand-text small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 9px;

    letter-spacing: 1.5px;

    direction: ltr;

    text-align: right;
}


/* =========================================================
   Navigation
   ========================================================= */

.main-navigation {
    display: flex;

    align-items: center;

    gap: 27px;

    margin-right: auto;
}

.main-navigation a {
    position: relative;

    color: var(--muted);

    font-size: 13px;

    font-weight: 600;

    transition:
        color 0.2s ease;
}

.main-navigation a::after {
    content: "";

    position: absolute;

    right: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    border-radius: 10px;

    background: var(--primary);

    transition: width 0.25s ease;
}

.main-navigation a:hover {
    color: #fff;
}

.main-navigation a:hover::after {
    width: 100%;
}


/* =========================================================
   Header Button
   ========================================================= */

.header-button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 9px;

    padding: 10px 17px;

    border-radius: 13px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);

    color: #fff;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.header-button:hover {
    transform: translateY(-2px);

    border-color:
        rgba(73, 214, 168, 0.3);

    background:
        rgba(73, 214, 168, 0.06);
}

.header-button span {
    color: var(--primary);
}


/* =========================================================
   Mobile Menu
   ========================================================= */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.04);

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 20px;
    height: 3px;

    margin: 4px auto;

    border-radius: 999px;

    background: #fff;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   Hero
   ========================================================= */

.hero-section {
    min-height: 820px;

    padding:
        165px
        0
        100px;

    display: flex;

    align-items: center;
}

.hero-container {
    display: grid;

    grid-template-columns:
        1.05fr
        0.95fr;

    gap: 80px;

    align-items: center;
}


/* =========================================================
   Hero Content
   ========================================================= */

.hero-label {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;
}

.online-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--primary);

    box-shadow:
        0 0 15px
        rgba(73, 214, 168, 0.8);
}


.hero-content h1 {
    margin:
        20px
        0
        20px;

    font-size:
        clamp(43px, 6vw, 72px);

    line-height: 1.18;

    letter-spacing: -2px;

    font-weight: 800;
}

.hero-content h1 span {
    display: block;

    color: var(--primary);
}


.hero-description {
    max-width: 650px;

    color: var(--muted);

    font-size: 15px;

    line-height: 2.15;
}


/* =========================================================
   Hero Buttons
   ========================================================= */

.hero-buttons {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 30px;
}

.button {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 47px;

    padding:
        10px
        19px;

    border-radius: 13px;

    font-size: 13px;

    font-weight: 800;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button-primary {
    color: #06151a;

    background: var(--primary);

    box-shadow:
        0 10px 30px
        rgba(73, 214, 168, 0.16);
}

.button-primary:hover {
    transform: translateY(-3px);

    box-shadow:
        0 15px 38px
        rgba(73, 214, 168, 0.25);
}

.button-secondary {
    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.035);

    color: #fff;
}

.button-secondary:hover {
    transform: translateY(-3px);

    background:
        rgba(255, 255, 255, 0.07);
}

.button span {
    color: inherit;
}


/* =========================================================
   Hero Statistics
   ========================================================= */

.hero-statistics {
    display: flex;

    gap: 38px;

    margin-top: 45px;
}

.hero-stat strong {
    display: block;

    font-size: 25px;

    line-height: 1.2;
}

.hero-stat span {
    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 10px;
}


/* =========================================================
   Hero Visual
   ========================================================= */

.hero-visual {
    position: relative;

    height: 510px;

    display: grid;

    place-items: center;
}

.hero-orbit {
    position: absolute;

    border-radius: 50%;

    border: 1px solid
        rgba(255, 255, 255, 0.07);
}

.orbit-one {
    width: 440px;
    height: 440px;
}

.orbit-two {
    width: 330px;
    height: 330px;

    border-color:
        rgba(73, 214, 168, 0.12);
}


/* =========================================================
   Developer Card
   ========================================================= */

.developer-card {
    position: relative;

    width: min(370px, 80%);

    height: 430px;

    padding: 27px;

    overflow: visible;

    border-radius: 30px;

    border: 1px solid
        rgba(255, 255, 255, 0.11);

    background:
        linear-gradient(
            145deg,
            rgba(21, 41, 63, 0.96),
            rgba(8, 19, 32, 0.94)
        );

    box-shadow: var(--shadow);

    transform: rotate(-3deg);

    transition:
        transform 0.2s ease;
}

.developer-card::before {
    content: "";

    position: absolute;

    inset: 1px;

    border-radius: 29px;

    background:
        radial-gradient(
            circle at 50% 25%,
            rgba(73, 214, 168, 0.08),
            transparent 40%
        );

    pointer-events: none;
}


/* =========================================================
   Developer Card Top
   ========================================================= */

.developer-card-top {
    position: relative;

    z-index: 2;

    display: flex;

    justify-content: space-between;

    direction: ltr;
}

.developer-card-top > span:first-child {
    color: #718197;

    font-size: 8px;

    letter-spacing: 2px;
}

.online-status {
    padding:
        3px
        8px;

    border-radius: 20px;

    border: 1px solid
        rgba(73, 214, 168, 0.2);

    color: var(--primary);

    font-size: 8px;
}

.online-status i {
    display: inline-block;

    width: 5px;
    height: 5px;

    margin-left: 5px;

    border-radius: 50%;

    background: var(--primary);
}


/* =========================================================
   Avatar
   ========================================================= */

.developer-avatar {
    position: relative;

    z-index: 2;

    width: 82px;
    height: 82px;

    display: grid;

    place-items: center;

    margin:
        55px
        auto
        15px;

    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #82e8ca
        );

    color: #07141d;

    font-size: 35px;

    font-weight: 800;

    box-shadow:
        0 20px 40px
        rgba(73, 214, 168, 0.17);
}

.developer-card h2 {
    position: relative;

    z-index: 2;

    text-align: center;

    font-size: 25px;
}

.developer-card > p {
    position: relative;

    z-index: 2;

    text-align: center;

    color: var(--muted);

    font-size: 11px;

    direction: ltr;
}


/* =========================================================
   Developer Code
   ========================================================= */

.developer-code {
    position: relative;

    z-index: 2;

    width: max-content;

    margin:
        35px
        auto
        0;

    padding:
        9px
        15px;

    border-radius: 10px;

    border: 1px solid var(--border);

    background: #06101b;

    font-family: monospace;

    font-size: 12px;

    direction: ltr;
}

.developer-code span {
    color: #7d8ba0;
}

.developer-code b {
    color: var(--primary);
}

.developer-code em {
    color: var(--accent);

    font-style: normal;
}


/* =========================================================
   Floating Projects
   ========================================================= */

.floating-project {
    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        9px
        12px;

    border-radius: 14px;

    border: 1px solid var(--border);

    background:
        rgba(9, 22, 36, 0.96);

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.25);

    animation:
        floating 4s ease-in-out infinite;
}

.floating-project strong,
.floating-project small {
    display: block;

    line-height: 1.2;
}

.floating-project strong {
    font-size: 10px;
}

.floating-project small {
    margin-top: 4px;

    color: var(--muted);

    font-size: 8px;
}

.floating-icon {
    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(73, 214, 168, 0.1);

    color: var(--primary);

    font-size: 14px;

    font-weight: 800;
}

.floating-one {
    top: 125px;
    right: -55px;
}

.floating-two {
    bottom: 75px;
    left: -55px;

    animation-delay: -1.5s;
}

@keyframes floating {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* =========================================================
   Sections
   ========================================================= */

.section {
    padding: 105px 0;
}


/* =========================================================
   Section Heading
   ========================================================= */

.section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 40px;
}

.section-label {
    display: inline-block;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.4px;

    direction: ltr;
}

.section-heading h2 {
    margin-top: 10px;

    font-size: 37px;

    line-height: 1.35;
}

.section-heading h2 span {
    color: var(--primary);
}

.section-heading > p {
    max-width: 360px;

    color: var(--muted);

    font-size: 12px;

    line-height: 2;
}

.section-heading.centered {
    display: block;

    max-width: 680px;

    margin:
        0
        auto
        40px;

    text-align: center;
}

.section-heading.centered > p {
    margin:
        12px
        auto
        0;
}


/* =========================================================
   Projects
   ========================================================= */

.projects-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.project-card {
    overflow: hidden;

    border-radius: 22px;

    border: 1px solid var(--border);

    background: var(--card);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-7px);

    border-color:
        rgba(73, 214, 168, 0.24);

    box-shadow: var(--shadow);
}


/* =========================================================
   Project Visual
   ========================================================= */

.project-image {
    position: relative;

    height: 245px;

    display: grid;

    place-items: center;

    overflow: hidden;
}

.project-tanin {
    background:
        radial-gradient(
            circle at 50% 40%,
            #203e3b,
            #0a1724 65%
        );
}

.project-taseerti {
    background:
        radial-gradient(
            circle at 50% 40%,
            #332d5a,
            #0a1724 65%
        );
}

.project-kora {
    background:
        radial-gradient(
            circle at 50% 40%,
            #24432f,
            #0a1724 65%
        );
}


.project-image::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    border-radius: 50%;

    border: 1px solid
        rgba(255, 255, 255, 0.06);

    box-shadow:
        0 0 0 30px rgba(255, 255, 255, 0.015),
        0 0 0 60px rgba(255, 255, 255, 0.01);
}


.project-number {
    position: absolute;

    top: 18px;
    left: 18px;

    color:
        rgba(255, 255, 255, 0.45);

    font-family: monospace;

    font-size: 11px;

    direction: ltr;
}


.app-placeholder {
    position: relative;

    z-index: 2;

    width: 90px;
    height: 90px;

    display: grid;

    place-items: center;

    border-radius: 25px;

    border: 1px solid
        rgba(255, 255, 255, 0.15);

    background:
        rgba(255, 255, 255, 0.08);

    box-shadow:
        0 25px 55px
        rgba(0, 0, 0, 0.3);

    font-size: 34px;

    font-weight: 800;
}

.project-tanin .app-placeholder {
    color: #62e2b7;
}

.project-taseerti .app-placeholder {
    color: #a89cff;
}

.project-kora .app-placeholder {
    color: #77db91;
}


/* =========================================================
   Project Content
   ========================================================= */

.project-content {
    padding: 23px;
}

.project-category {
    display: inline-block;

    color: var(--primary);

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.8px;

    direction: ltr;
}

.project-content h3 {
    margin:
        7px
        0;

    font-size: 22px;
}

.project-content p {
    margin-bottom: 20px;

    color: var(--muted);

    font-size: 11px;

    line-height: 2;
}

.project-link {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #fff;

    font-size: 11px;

    font-weight: 800;
}

.project-link span {
    color: var(--primary);

    transition:
        transform 0.2s ease;
}

.project-link:hover span {
    transform: translateX(-4px);
}


/* =========================================================
   About
   ========================================================= */

.about-section {
    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(255, 255, 255, 0.018),
            transparent
        );
}

.about-container {
    display: grid;

    grid-template-columns:
        1.1fr
        0.9fr;

    gap: 90px;

    align-items: center;
}

.about-content h2 {
    margin:
        15px
        0
        20px;

    font-size: 39px;

    line-height: 1.4;
}

.about-content h2 span {
    color: var(--primary);
}

.about-content p {
    max-width: 650px;

    margin-bottom: 12px;

    color: var(--muted);

    font-size: 12px;

    line-height: 2.15;
}

.text-link {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 15px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;
}


/* =========================================================
   About Features
   ========================================================= */

.about-features {
    display: grid;

    gap: 12px;
}

.about-feature {
    padding: 24px;

    border-radius: 18px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.025);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.about-feature:hover {
    transform: translateX(-5px);

    border-color:
        rgba(73, 214, 168, 0.22);
}

.about-feature > span {
    display: block;

    color: var(--primary);

    font-family: monospace;

    font-size: 11px;

    direction: ltr;
}

.about-feature strong {
    display: block;

    margin:
        4px
        0;

    font-size: 15px;
}

.about-feature p {
    color: var(--muted);

    font-size: 10px;

    line-height: 1.9;
}


/* =========================================================
   Skills
   ========================================================= */

.skills-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 13px;
}

.skill-card {
    padding: 24px;

    border-radius: 17px;

    border: 1px solid var(--border);

    background:
        rgba(255, 255, 255, 0.025);

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
}

.skill-card:hover {
    transform: translateY(-4px);

    border-color:
        rgba(73, 214, 168, 0.22);

    background:
        rgba(73, 214, 168, 0.035);
}

.skill-card strong {
    display: block;

    font-size: 16px;

    direction: ltr;

    text-align: right;
}

.skill-card span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 9px;

    direction: ltr;

    text-align: right;
}


/* =========================================================
   Contact
   ========================================================= */

.contact-card {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 55px;

    border-radius: 28px;

    border: 1px solid
        rgba(73, 214, 168, 0.14);

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(73, 214, 168, 0.1),
            transparent 40%
        ),
        rgba(255, 255, 255, 0.025);
}

.contact-card h2 {
    margin:
        12px
        0;

    font-size: 38px;

    line-height: 1.45;
}

.contact-card h2 span {
    color: var(--primary);
}

.contact-card p {
    color: var(--muted);

    font-size: 11px;
}

.contact-card .button {
    flex-shrink: 0;
}


/* =========================================================
   Footer
   ========================================================= */

.site-footer {
    padding: 25px 0;

    border-top: 1px solid var(--border);
}

.footer-container {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}

.footer-container .brand {
    margin: 0;
}

.footer-container > p {
    color: var(--muted);

    font-size: 9px;
}

.back-to-top {
    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    border: 1px solid var(--border);

    color: var(--primary);

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.back-to-top:hover {
    background:
        rgba(73, 214, 168, 0.07);

    transform: translateY(-3px);
}


/* =========================================================
   Scroll Reveal
   ========================================================= */

.reveal {
    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 900px) {

    .main-navigation {
        gap: 15px;
    }

    .header-button {
        display: none;
    }

    .hero-container {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto;
    }

    .hero-buttons,
    .hero-statistics {
        justify-content: center;
    }

    .hero-visual {
        height: 470px;
    }

    .projects-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .skills-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 680px) {

    .container {
        width:
            min(
                calc(100% - 28px),
                1160px
            );
    }


    /* =====================================================
       Header
       ===================================================== */

    .site-header {
        height: 68px;
    }

    .nav-container {
        height: 68px;

        display: flex;

        align-items: center;

        justify-content: space-between;

        position: relative;
    }


    /* Brand */

    .brand {
        display: flex;

        align-items: center;

        gap: 10px;

        flex-shrink: 0;

        order: 1;
    }


    /* Mobile Menu Button */

    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        padding: 0;
        margin: 0;

        flex-shrink: 0;

        order: 2;

        z-index: 20;
    }


    /* Hide Desktop CTA */

    .header-button {
        display: none;
    }


    /* =====================================================
       Mobile Navigation
       ===================================================== */

    .main-navigation {
        position: absolute;

        top: 68px;

        right: 14px;
        left: 14px;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 2px;

        padding: 12px;

        border-radius: 16px;

        border: 1px solid var(--border);

        background:
            rgba(8, 19, 32, 0.98);

        box-shadow: var(--shadow);

        z-index: 100;
    }


    .main-navigation.open {
        display: flex;
    }


    .main-navigation a {
        padding: 10px 12px;
    }


    /* Prevent Background Scrolling */

    body.menu-open {
        overflow: hidden;
    }



    /* =====================================================
       Hero
       ===================================================== */

    .hero-section {
        min-height: auto;

        padding:
            125px
            0
            75px;
    }


    .hero-content h1 {
        font-size: 42px;

        letter-spacing: -1px;
    }


    .hero-description {
        font-size: 12px;
    }


    .hero-buttons {
        flex-direction: column;
    }


    .hero-buttons .button {
        width: 100%;
    }


    .hero-statistics {
        gap: 22px;
    }


    .hero-visual {
        height: 420px;
    }



    /* =====================================================
       Developer Card
       ===================================================== */

    .developer-card {
        width: 290px;

        height: 375px;

        padding: 22px;
    }


    .developer-avatar {
        width: 68px;
        height: 68px;

        margin-top: 40px;
    }


    .floating-one {
        right: -25px;

        top: 95px;
    }


    .floating-two {
        left: -25px;

        bottom: 55px;
    }


    .orbit-one {
        width: 350px;
        height: 350px;
    }


    .orbit-two {
        width: 270px;
        height: 270px;
    }



    /* =====================================================
       Sections
       ===================================================== */

    .section {
        padding:
            75px
            0;
    }


    .section-heading {
        display: block;
    }


    .section-heading h2 {
        font-size: 29px;
    }


    .section-heading > p {
        margin-top: 12px;
    }



    /* =====================================================
       Projects
       ===================================================== */

    .projects-grid {
        grid-template-columns: 1fr;
    }


    .project-image {
        height: 220px;
    }



    /* =====================================================
       About
       ===================================================== */

    .about-content h2 {
        font-size: 29px;
    }



    /* =====================================================
       Skills
       ===================================================== */

    .skills-grid {
        grid-template-columns: 1fr;
    }



    /* =====================================================
       Contact
       ===================================================== */

    .contact-card {
        display: block;

        padding: 30px;
    }


    .contact-card h2 {
        font-size: 30px;
    }


    .contact-card .button {
        width: 100%;

        margin-top: 25px;
    }



    /* =====================================================
       Footer
       ===================================================== */

    .footer-container {
        flex-wrap: wrap;
    }


    .footer-container > p {
        order: 3;

        width: 100%;

        text-align: center;
    }

}



/* =========================================================
   Small Mobile
   ========================================================= */

@media (max-width: 400px) {

    .hero-content h1 {
        font-size: 36px;
    }


    .developer-card {
        width: 270px;
    }


    .floating-project {
        transform: scale(0.88);
    }


    .floating-one {
        right: -35px;
    }


    .floating-two {
        left: -35px;
    }

}

/* =========================================================
   Contact Page
   ========================================================= */

.contact-page-section {
    min-height: calc(100vh - 68px);

    padding:
        145px
        0
        90px;
}


/* =========================================================
   Contact Page Heading
   ========================================================= */

.contact-page-heading {
    max-width: 760px;

    margin-bottom: 55px;
}


.contact-page-heading h1 {
    margin-top: 18px;

    font-size: 52px;

    line-height: 1.25;

    letter-spacing: -1.5px;
}


.contact-page-heading h1 span {
    display: block;

    color: var(--accent);
}


.contact-page-heading p {
    max-width: 650px;

    margin-top: 20px;

    color: var(--text-muted);

    font-size: 15px;

    line-height: 2;
}



/* =========================================================
   Contact Page Layout
   ========================================================= */

.contact-page-layout {
    display: grid;

    grid-template-columns:
        0.85fr
        1.15fr;

    gap: 30px;

    align-items: stretch;
}



/* =========================================================
   Contact Information Card
   ========================================================= */

.contact-info-card {
    padding: 35px;

    border:
        1px solid
        var(--border);

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    box-shadow:
        var(--shadow);
}


.contact-info-label {
    display: inline-block;

    color: var(--accent);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.contact-info-card h2 {
    margin-top: 15px;

    font-size: 29px;
}


.contact-info-card > p {
    margin-top: 12px;

    color: var(--text-muted);

    line-height: 1.9;
}



/* =========================================================
   Services
   ========================================================= */

.contact-services {
    display: grid;

    gap: 12px;

    margin-top: 30px;
}


.contact-service {
    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px;

    border:
        1px solid
        rgba(255, 255, 255, 0.055);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.025);

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}


.contact-service:hover {
    transform: translateX(-4px);

    background:
        rgba(255, 255, 255, 0.045);

    border-color:
        rgba(255, 255, 255, 0.11);
}


.contact-service-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        rgba(255, 255, 255, 0.055);

    font-size: 19px;
}


.contact-service div {
    display: flex;

    flex-direction: column;

    gap: 2px;
}


.contact-service strong {
    font-size: 13px;
}


.contact-service small {
    color: var(--text-muted);

    font-size: 10px;
}



/* =========================================================
   Direct Email
   ========================================================= */

.contact-direct-email {
    display: flex;

    flex-direction: column;

    gap: 5px;

    margin-top: 30px;

    padding-top: 22px;

    border-top:
        1px solid
        var(--border);
}


.contact-direct-email span {
    color: var(--text-muted);

    font-size: 11px;
}


.contact-direct-email a {
    width: fit-content;

    color: var(--text);

    font-size: 14px;

    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.contact-direct-email a:hover {
    color: var(--accent);
}



/* =========================================================
   Contact Form Wrapper
   ========================================================= */

.contact-form-wrapper {
    padding: 35px;

    border:
        1px solid
        var(--border);

    border-radius: 24px;

    background:
        rgba(255, 255, 255, 0.025);

    box-shadow:
        var(--shadow);
}


.contact-form {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: 18px;
}



/* =========================================================
   Form Groups
   ========================================================= */

.form-group {
    display: flex;

    flex-direction: column;

    gap: 8px;
}


.form-group-full {
    grid-column: 1 / -1;
}


.form-group label {
    color: var(--text);

    font-size: 12px;

    font-weight: 700;
}



/* =========================================================
   Form Inputs
   ========================================================= */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    padding: 14px 15px;

    border:
        1px solid
        var(--border);

    border-radius: 12px;

    outline: none;

    background:
        rgba(255, 255, 255, 0.035);

    color: var(--text);

    font-family: inherit;

    font-size: 13px;

    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);

    opacity: 0.7;
}


.form-group select {
    cursor: pointer;
}


.form-group select option {
    background: #081320;

    color: #fff;
}


.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);

    background:
        rgba(255, 255, 255, 0.05);

    box-shadow:
        0 0 0 3px
        rgba(255, 255, 255, 0.035);
}


.form-group textarea {
    min-height: 160px;

    resize: vertical;

    line-height: 1.8;
}



/* =========================================================
   Submit
   ========================================================= */

.form-submit {
    grid-column: 1 / -1;

    display: flex;

    align-items: center;

    gap: 16px;

    margin-top: 5px;
}


.form-submit .button {
    border: 0;

    cursor: pointer;

    font-family: inherit;
}


.form-submit small {
    color: var(--text-muted);

    font-size: 10px;

    line-height: 1.6;
}



/* =========================================================
   Contact Page Mobile
   ========================================================= */

@media (max-width: 900px) {

    .contact-page-layout {
        grid-template-columns: 1fr;

        gap: 22px;
    }

}


@media (max-width: 680px) {

    .contact-page-section {
        padding:
            120px
            0
            70px;
    }


    .contact-page-heading {
        margin-bottom: 35px;
    }


    .contact-page-heading h1 {
        font-size: 38px;

        letter-spacing: -1px;
    }


    .contact-page-heading p {
        font-size: 13px;
    }


    .contact-info-card,
    .contact-form-wrapper {
        padding: 25px 20px;

        border-radius: 20px;
    }


    .contact-info-card h2 {
        font-size: 25px;
    }


    .contact-form {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .form-group-full {
        grid-column: auto;
    }


    .form-submit {
        flex-direction: column;

        align-items: stretch;

        gap: 10px;
    }


    .form-submit .button {
        width: 100%;
    }


    .form-submit small {
        text-align: center;
    }


    .contact-direct-email a {
        font-size: 12px;

        word-break: break-word;
    }

}


@media (max-width: 400px) {

    .contact-page-heading h1 {
        font-size: 33px;
    }


    .contact-service-icon {
        width: 38px;
        height: 38px;

        font-size: 17px;
    }

}