/* =========================================================
   Void Visuals WEB STUDIO — CONTACT
   SAME BACKGROUND LANGUAGE AS ABOUT PAGE
========================================================= */

:root {

    --bg: #05070b;
    --bg2: #090d14;

    --white: #f5f7fb;
    --text: #d8dce5;
    --muted: #858d9d;
    --dim: #5d6574;

    --cyan: #62f4ff;
    --purple: #9b70ff;

    --border: rgba(255,255,255,.09);
    --glass: rgba(255,255,255,.045);

    --container: 1240px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: var(--bg);

    color: var(--white);

    font-family:
        "Space Grotesk",
        sans-serif;

    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font-family: inherit;
}


/* =========================================================
   BACKGROUND
========================================================= */

.background-grid {

    position: fixed;

    inset: 0;

    z-index: -10;

    pointer-events: none;

    opacity: .4;

    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;

    -webkit-mask-image:
        radial-gradient(
            ellipse at center,
            black 15%,
            transparent 82%
        );

    mask-image:
        radial-gradient(
            ellipse at center,
            black 15%,
            transparent 82%
        );
}


/* =========================================================
   GLOWS
========================================================= */

.glow {

    position: fixed;

    width: 500px;
    height: 500px;

    border-radius: 50%;

    filter: blur(120px);

    pointer-events: none;

    z-index: -8;

    transition:
        transform .5s ease-out;
}

.glow-one {

    top: -220px;
    right: -120px;

    background:
        rgba(98,244,255,.09);
}

.glow-two {

    bottom: -250px;
    left: -150px;

    background:
        rgba(155,112,255,.09);
}


/* =========================================================
   PARTICLES
========================================================= */

#particles {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: -7;

    pointer-events: none;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {

    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    height: 82px;

    padding:
        0 max(
            24px,
            calc((100vw - var(--container)) / 2)
        );

    display: flex;

    align-items: center;

    justify-content: space-between;

    z-index: 1000;

    transition:
        background .3s ease,
        border .3s ease,
        box-shadow .3s ease;
}

.navbar.scrolled {

    background:
        rgba(5,7,11,.82);

    border-bottom:
        1px solid var(--border);

    backdrop-filter:
        blur(18px);

    box-shadow:
        0 15px 50px
        rgba(0,0,0,.25);
}


/* LOGO */

.logo,
.footer-logo {

    font-size: 25px;

    font-weight: 700;

    letter-spacing: -1.5px;
}

.logo span,
.footer-logo span {

    color: var(--cyan);

    text-shadow:
        0 0 18px
        rgba(98,244,255,.45);
}


/* NAV */

.navbar nav {

    display: flex;

    align-items: center;

    gap: 34px;
}

.navbar nav a {

    position: relative;

    color: #858c99;

    font-size: 13px;

    transition:
        color .25s ease;
}

.navbar nav a:hover,
.navbar nav a.active {

    color: white;
}

.navbar nav a.active::after {

    content: "";

    position: absolute;

    left: 50%;

    bottom: -12px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    transform:
        translateX(-50%);

    background:
        var(--cyan);

    box-shadow:
        0 0 10px
        var(--cyan);
}


/* NAV BUTTON */

.nav-button {

    display: flex;

    align-items: center;

    gap: 10px;

    padding:
        11px 16px;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    color: #dfe3eb;

    font-size: 12px;

    transition: .3s ease;
}

.nav-button span {

    color: var(--cyan);

    font-size: 15px;
}

.nav-button:hover {

    border-color:
        rgba(98,244,255,.4);

    transform:
        translateY(-2px);

    box-shadow:
        0 10px 30px
        rgba(98,244,255,.07);
}


/* MENU */

.menu-button {

    display: none;

    width: 42px;
    height: 42px;

    border:
        1px solid
        var(--border);

    border-radius: 8px;

    background:
        rgba(255,255,255,.03);

    color: white;

    font-size: 18px;

    cursor: pointer;
}


/* =========================================================
   MAIN
========================================================= */

main {

    position: relative;

    z-index: 2;

    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    margin: auto;
}


/* =========================================================
   COMMON
========================================================= */

section {

    padding-top: 130px;
}

.tag {

    display: flex;

    align-items: center;

    gap: 10px;

    margin-bottom: 24px;

    color: #8e96a6;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 2.5px;
}

.tag > span {

    width: 27px;
    height: 1px;

    display: block;

    background:
        var(--cyan);

    box-shadow:
        0 0 12px
        var(--cyan);
}


/* =========================================================
   HERO
========================================================= */

.contact-hero {

    min-height: 72vh;

    padding-top: 180px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    max-width: 900px;
}

.contact-hero h1 {

    max-width: 850px;

    font-size:
        clamp(
            50px,
            7vw,
            90px
        );

    line-height: .96;

    letter-spacing: -4px;

    font-weight: 600;
}

.contact-hero h1 span {

    display: block;

    color: var(--cyan);

    text-shadow:
        0 0 40px
        rgba(98,244,255,.12);
}

.contact-hero > p {

    max-width: 650px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   CONTACT SECTION
========================================================= */

.contact-section {

    display: grid;

    grid-template-columns:
        .9fr 1.1fr;

    gap: 70px;

    align-items: start;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.section-heading {

    max-width: 600px;

    margin-bottom: 42px;
}

.section-heading h2 {

    font-size:
        clamp(
            40px,
            5vw,
            64px
        );

    line-height: 1;

    letter-spacing: -3px;
}

.section-heading h2 span {

    color: var(--cyan);
}

.section-heading p {

    margin-top: 20px;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   CONTACT CARD
========================================================= */

.contact-card {

    position: relative;

    display: flex;

    align-items: center;

    gap: 18px;

    margin-top: 14px;

    padding: 20px;

    border:
        1px solid
        var(--border);

    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.contact-card:hover {

    transform:
        translateY(-6px);

    border-color:
        rgba(98,244,255,.3);

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.3);
}

.contact-icon {

    width: 48px;
    height: 48px;

    flex-shrink: 0;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color: var(--cyan);

    background:
        rgba(98,244,255,.06);

    border:
        1px solid
        rgba(98,244,255,.15);

    font-size: 20px;

    transition:
        transform .35s ease;
}

.contact-card:hover .contact-icon {

    transform:
        rotateY(180deg);
}

.contact-card small {

    display: block;

    color: var(--dim);

    font-size: 8px;

    letter-spacing: 2px;
}

.contact-card strong {

    display: block;

    margin-top: 5px;

    color: #e9edf4;

    font-size: 15px;

    word-break: break-word;
}

.contact-card span {

    display: block;

    margin-top: 3px;

    color: #687181;

    font-size: 10px;
}

.contact-card > b {

    margin-left: auto;

    color: var(--cyan);

    transition:
        transform .3s ease;
}

.contact-card:hover > b {

    transform:
        translate(4px,-4px);
}


/* =========================================================
   RESPONSE CARD
========================================================= */

.response-card {

    display: flex;

    gap: 14px;

    margin-top: 18px;

    padding: 20px;

    border:
        1px solid
        rgba(98,244,255,.12);

    border-radius: 14px;

    background:
        rgba(98,244,255,.025);
}

.response-dot {

    width: 8px;
    height: 8px;

    flex-shrink: 0;

    margin-top: 5px;

    border-radius: 50%;

    background:
        var(--cyan);

    box-shadow:
        0 0 15px
        var(--cyan);

    animation:
        dotPulse
        2s
        ease-in-out
        infinite;
}

@keyframes dotPulse {

    0%,100% {
        transform: scale(1);
        opacity: .7;
    }

    50% {
        transform: scale(1.4);
        opacity: 1;
    }
}

.response-card strong {

    color: var(--cyan);

    font-size: 9px;

    letter-spacing: 1.5px;
}

.response-card p {

    margin-top: 7px;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.contact-form-wrapper {

    position: relative;

    padding: 34px;

    border:
        1px solid
        var(--border);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.05),
            rgba(255,255,255,.018)
        );

    overflow: hidden;

    box-shadow:
        0 30px 90px
        rgba(0,0,0,.2);
}

.contact-form-wrapper::before {

    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    top: -170px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(98,244,255,.08);

    filter:
        blur(50px);

    pointer-events: none;
}


/* FORM TOP */

.form-top {

    position: relative;

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    padding-bottom: 25px;

    margin-bottom: 28px;

    border-bottom:
        1px solid
        var(--border);
}

.form-top span {

    color: var(--dim);

    font-size: 9px;

    letter-spacing: 2px;
}

.form-top h3 {

    margin-top: 10px;

    font-size: 25px;

    letter-spacing: -1px;
}

.form-light {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        var(--cyan);

    box-shadow:
        0 0 20px
        var(--cyan);

    animation:
        dotPulse
        2s
        ease-in-out
        infinite;
}


/* INPUT */

.input-group {

    margin-bottom: 22px;
}

.input-group label {

    display: block;

    margin-bottom: 9px;

    color: #727b8b;

    font-size: 9px;

    font-weight: 600;

    letter-spacing: 1.8px;
}

.input-group input,
.input-group textarea,
.input-group select {

    width: 100%;

    border:
        1px solid
        rgba(255,255,255,.09);

    border-radius: 9px;

    outline: none;

    background:
        rgba(255,255,255,.025);

    color: var(--white);

    padding:
        14px 15px;

    font-size: 13px;

    transition:
        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.input-group input,
.input-group select {

    height: 50px;
}

.input-group textarea {

    resize: vertical;

    min-height: 130px;
}

.input-group input::placeholder,
.input-group textarea::placeholder {

    color:
        #555e6d;
}

.input-group select {

    appearance: none;

    cursor: pointer;
}

.input-group select option {

    background:
        #090d14;

    color: white;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {

    border-color:
        rgba(98,244,255,.45);

    background:
        rgba(98,244,255,.025);

    box-shadow:
        0 0 0 3px
        rgba(98,244,255,.04);
}


/* SUBMIT */

.submit-button {

    width: 100%;

    min-height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    border:
        1px solid
        var(--cyan);

    border-radius: 9px;

    background:
        var(--cyan);

    color:
        #041013;

    font-size: 13px;

    font-weight: 600;

    cursor: pointer;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.submit-button b {

    font-size: 16px;

    transition:
        transform .3s ease;
}

.submit-button:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 18px 45px
        rgba(98,244,255,.18);
}

.submit-button:hover b {

    transform:
        translate(3px,-3px);
}

.form-note {

    margin-top: 13px;

    text-align: center;

    color: #5d6573;

    font-size: 9px;

    line-height: 1.5;
}


/* =========================================================
   PROCESS
========================================================= */

.process {

    margin-top: 100px;
}

.process-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 16px;
}

.process-card {

    position: relative;

    min-height: 280px;

    padding: 28px;

    border:
        1px solid
        var(--border);

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );

    overflow: hidden;

    transition:
        transform .35s ease,
        border-color .35s ease,
        box-shadow .35s ease;
}

.process-card::after {

    content: "";

    position: absolute;

    width: 160px;
    height: 160px;

    right: -100px;
    bottom: -100px;

    border-radius: 50%;

    background:
        rgba(98,244,255,.07);

    filter:
        blur(30px);

    transition:
        transform .5s ease;
}

.process-card:hover {

    transform:
        translateY(-9px);

    border-color:
        rgba(98,244,255,.28);

    box-shadow:
        0 25px 70px
        rgba(0,0,0,.3);
}

.process-card:hover::after {

    transform:
        scale(1.7);
}

.process-card > span {

    color: #555d6b;

    font-size: 10px;

    letter-spacing: 2px;
}

.process-icon {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    margin-top: 38px;

    border-radius: 13px;

    color: var(--cyan);

    background:
        rgba(98,244,255,.06);

    border:
        1px solid
        rgba(98,244,255,.15);

    font-size: 23px;

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}

.process-card:hover .process-icon {

    transform:
        rotateY(180deg);

    box-shadow:
        0 0 25px
        rgba(98,244,255,.1);
}

.process-card h3 {

    margin-top: 22px;

    font-size: 21px;
}

.process-card p {

    margin-top: 10px;

    max-width: 300px;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.contact-cta {

    margin:
        120px auto 100px;

    padding: 55px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    border:
        1px solid
        var(--border);

    border-radius: 20px;

    background:
        linear-gradient(
            110deg,
            rgba(98,244,255,.045),
            rgba(155,112,255,.045)
        );
}

.contact-cta h2 {

    font-size:
        clamp(
            38px,
            4.5vw,
            62px
        );

    line-height: 1;

    letter-spacing: -3px;
}

.contact-cta h2 span {

    color:
        var(--cyan);
}

.contact-cta p {

    max-width: 550px;

    margin-top: 18px;

    color:
        var(--muted);

    font-size: 14px;
}


/* CTA BUTTON */

.button.primary {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    min-height: 50px;

    padding:
        0 22px;

    border-radius: 8px;

    color:
        #041013;

    background:
        var(--cyan);

    border:
        1px solid
        var(--cyan);

    font-size: 13px;

    font-weight: 600;

    white-space: nowrap;

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.button.primary:hover {

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 45px
        rgba(98,244,255,.2);
}


/* =========================================================
   FOOTER
========================================================= */

footer {

    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    min-height: 90px;

    margin:
        0 auto;

    display: flex;

    align-items: center;

    gap: 25px;

    border-top:
        1px solid
        var(--border);

    color:
        #697180;

    font-size: 11px;
}

footer small {

    margin-left: auto;
}


/* =========================================================
   REVEAL
========================================================= */

.reveal {

    opacity: 0;

    transform:
        translateY(35px);

    transition:
        opacity .8s ease,
        transform .8s ease;
}

.reveal.show {

    opacity: 1;

    transform:
        translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .contact-section {

        grid-template-columns: 1fr;

        gap: 60px;
    }

    .contact-hero {

        min-height: 70vh;
    }

    .process-grid {

        grid-template-columns:
            1fr 1fr;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .navbar {

        height: 70px;

        padding:
            0 20px;
    }

    .navbar nav {

        display: none;

        position: absolute;

        top: 80px;

        left: 15px;
        right: 15px;

        padding: 20px;

        flex-direction: column;

        align-items: stretch;

        gap: 20px;

        border:
            1px solid
            var(--border);

        border-radius: 14px;

        background:
            rgba(7,9,14,.96);

        backdrop-filter:
            blur(18px);
    }

    .navbar nav.open {

        display: flex;
    }

    .navbar nav a.active::after {

        display: none;
    }

    .nav-button {

        display: none;
    }

    .menu-button {

        display: block;
    }

    main {

        width:
            calc(100% - 40px);
    }

    .contact-hero {

        min-height: auto;

        padding-top: 130px;

        padding-bottom: 60px;
    }

    .contact-hero h1 {

        font-size:
            clamp(
                43px,
                12vw,
                62px
            );

        letter-spacing: -3px;
    }

    .contact-hero > p {

        font-size: 13px;
    }

    section {

        padding-top: 90px;
    }

    .section-heading h2 {

        font-size: 42px;

        letter-spacing: -2px;
    }

    .contact-form-wrapper {

        padding: 23px;

        border-radius: 15px;
    }

    .contact-card strong {

        font-size: 13px;
    }

    .process-grid {

        grid-template-columns: 1fr;
    }

    .contact-cta {

        margin-top: 90px;

        margin-bottom: 70px;

        padding: 30px;

        flex-direction: column;

        align-items: flex-start;
    }

    .contact-cta h2 {

        font-size: 40px;

        letter-spacing: -2px;
    }

    .button.primary {

        width: 100%;
    }

    footer {

        width:
            calc(100% - 40px);

        padding:
            25px 0;

        flex-wrap: wrap;
    }

    footer p {

        width: 100%;
    }

    footer small {

        width: 100%;

        margin-left: 0;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .contact-form-wrapper {

        padding: 19px;
    }

    .contact-card {

        padding: 16px;
    }

    .contact-card > b {

        display: none;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }
}