﻿/* =========================================================
   PXM SOFTWARE SOLUTIONS
   Contact Page

   File:
   pxm-contact.css

   Prefix:
   pxm-contact-
   ========================================================= */


/* =========================================================
   Contact Hero
   ========================================================= */

.pxm-contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 500px;
    overflow: hidden;
    padding: 8rem 0 5.5rem;
    color: #ffffff;
    background: linear-gradient( 145deg, #031226 0%, #071b39 50%, #0c315f 100% );
}


.pxm-contact-hero-content {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}


.pxm-contact-hero .pxm-eyebrow {
    margin-bottom: 1.5rem;
    color: #5b96ff;
}


.pxm-contact-hero-title {
    max-width: 960px;
    margin: 0 auto;
    color: #ffffff;
    font-size: clamp( 3rem, 5vw, 5rem );
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.05em;
}


.pxm-contact-hero-description {
    max-width: 760px;
    margin: 2rem auto 0;
    color: rgba(235, 242, 252, 0.80);
    font-size: clamp( 1rem, 1.4vw, 1.16rem );
    line-height: 1.8;
}


/* =========================================================
   Hero Graphics
   ========================================================= */

.pxm-contact-hero-visual {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}


.pxm-contact-hero-grid {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1000px;
    height: 550px;
    transform: translate(-50%, -50%) perspective(900px) rotateX(65deg);
    opacity: 0.16;
    background-image: linear-gradient( rgba(95, 155, 255, 0.22) 1px, transparent 1px ), linear-gradient( 90deg, rgba(95, 155, 255, 0.22) 1px, transparent 1px );
    background-size: 50px 50px;
}


.pxm-contact-hero-glow {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 760px;
    height: 400px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient( ellipse at center, rgba(52, 120, 255, 0.28), rgba(52, 120, 255, 0.08) 45%, transparent 72% );
    filter: blur(20px);
}


.pxm-contact-orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(90, 150, 255, 0.18);
    border-radius: 50%;
}


.pxm-contact-orbit-one {
    width: 610px;
    height: 610px;
}


.pxm-contact-orbit-two {
    width: 900px;
    height: 420px;
    transform: translate(-50%, -50%) rotate(-7deg);
}


.pxm-contact-node {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #659eff;
    box-shadow: 0 0 20px rgba(101, 158, 255, 0.9);
}


.pxm-contact-node-one {
    left: 22%;
    top: 36%;
}


.pxm-contact-node-two {
    right: 21%;
    top: 32%;
}


.pxm-contact-node-three {
    left: 31%;
    bottom: 24%;
}


.pxm-contact-node-four {
    right: 30%;
    bottom: 22%;
}


/* =========================================================
   Main Contact Section
   ========================================================= */

.pxm-contact-main {
    padding: 7rem 0;
    background: #ffffff;
}


.pxm-contact-intro {
    max-width: 560px;
}


.pxm-contact-lead {
    color: var(--pxm-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.8;
}


/* =========================================================
   Contact Details
   ========================================================= */

.pxm-contact-details {
    margin-top: 2.5rem;
    border-top: 1px solid var(--pxm-border);
}


.pxm-contact-detail {
    padding: 1.35rem 0;
    border-bottom: 1px solid var(--pxm-border);
}


.pxm-contact-detail-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--pxm-blue);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.10em;
}


.pxm-contact-detail a,
.pxm-contact-detail strong {
    color: var(--pxm-text-primary);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
}


    .pxm-contact-detail a:hover {
        color: var(--pxm-blue);
    }


.pxm-contact-detail p {
    margin: 0.35rem 0 0;
    color: var(--pxm-text-secondary);
    font-size: 0.84rem;
    line-height: 1.6;
}


/* =========================================================
   Contact Note
   ========================================================= */

.pxm-contact-note {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 18px;
    background: linear-gradient( 145deg, #f5f9ff, #eaf3ff );
}


    .pxm-contact-note > span {
        display: block;
        margin-bottom: 0.65rem;
        color: var(--pxm-blue);
        font-size: 0.66rem;
        font-weight: 800;
        letter-spacing: 0.10em;
    }


    .pxm-contact-note p {
        margin-bottom: 0;
        font-size: 0.84rem;
        line-height: 1.7;
    }


/* =========================================================
   Form Card
   ========================================================= */

.pxm-contact-form-card {
    overflow: hidden;
    border: 1px solid rgba(15, 45, 85, 0.10);
    border-radius: 26px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(15, 45, 85, 0.12);
}


.pxm-contact-form-header {
    padding: 2.5rem 2.5rem 2rem;
    border-bottom: 1px solid rgba(15, 45, 85, 0.08);
    background: linear-gradient( 145deg, #f4f8fd, #edf4fc );
}


    .pxm-contact-form-header > span {
        display: block;
        margin-bottom: 0.7rem;
        color: var(--pxm-blue);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.10em;
    }


    .pxm-contact-form-header h2 {
        margin-bottom: 0.6rem;
        font-size: clamp( 1.8rem, 3vw, 2.4rem );
    }


    .pxm-contact-form-header p {
        margin-bottom: 0;
        color: var(--pxm-text-secondary);
    }


/* =========================================================
   Form
   ========================================================= */

.pxm-contact-form {
    padding: 2.5rem;
}


.pxm-contact-form-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.55rem;
    color: var(--pxm-text-primary);
    font-size: 0.76rem;
    font-weight: 800;
}


    .pxm-contact-form-label > span:not(.pxm-contact-optional) {
        color: var(--pxm-blue);
    }


.pxm-contact-optional {
    color: var(--pxm-text-secondary);
    font-size: 0.65rem;
    font-weight: 500;
}


.pxm-contact-form-control {
    display: block;
    width: 100%;
    min-height: 52px;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(15, 45, 85, 0.14);
    border-radius: 12px;
    color: var(--pxm-text-primary);
    background: #fbfdff;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--pxm-transition-fast), box-shadow var(--pxm-transition-fast), background-color var(--pxm-transition-fast);
}


    .pxm-contact-form-control:focus {
        border-color: var(--pxm-blue);
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08);
    }


    .pxm-contact-form-control::placeholder {
        color: #98a5b6;
    }


.pxm-contact-form-textarea {
    min-height: 180px;
    resize: vertical;
}


/* =========================================================
   Form Footer
   ========================================================= */

.pxm-contact-form-footer {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    padding-top: 0.25rem;
}


    .pxm-contact-form-footer p {
        max-width: 340px;
        margin: 0;
        color: var(--pxm-text-secondary);
        font-size: 0.72rem;
        line-height: 1.6;
    }


/* =========================================================
   Section Header
   ========================================================= */

.pxm-contact-section-header {
    max-width: 800px;
    margin-bottom: 3.5rem;
}


    .pxm-contact-section-header h2 {
        margin-bottom: 1.25rem;
    }


    .pxm-contact-section-header p {
        max-width: 720px;
        margin-bottom: 0;
        line-height: 1.8;
    }


/* =========================================================
   Services
   ========================================================= */

.pxm-contact-services {
    padding: 7rem 0;
    background: linear-gradient( 145deg, #eef6ff, #e8f2ff );
}


.pxm-contact-service-list {
    border-top: 1px solid rgba(37, 99, 235, 0.14);
}


.pxm-contact-service {
    display: grid;
    grid-template-columns: 55px minmax(0, 1fr) 45px;
    align-items: center;
    gap: 1.5rem;
    padding: 1.75rem 1rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.14);
    color: inherit;
    text-decoration: none;
    transition: padding var(--pxm-transition), background-color var(--pxm-transition);
}


    .pxm-contact-service:hover {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        background: rgba(255, 255, 255, 0.58);
    }


    .pxm-contact-service > span {
        color: var(--pxm-blue);
        font-size: 0.68rem;
        font-weight: 800;
    }


    .pxm-contact-service h3 {
        margin-bottom: 0.4rem;
        color: var(--pxm-text-primary);
        font-size: 1.05rem;
    }


    .pxm-contact-service p {
        max-width: 750px;
        margin-bottom: 0;
        color: var(--pxm-text-secondary);
        font-size: 0.84rem;
        line-height: 1.65;
    }


    .pxm-contact-service > strong {
        color: var(--pxm-blue);
        font-size: 1.2rem;
        text-align: right;
    }


/* =========================================================
   Process
   ========================================================= */

.pxm-contact-process {
    padding: 7rem 0;
    background: #ffffff;
}


.pxm-contact-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
}


.pxm-contact-process-step {
    min-height: 270px;
    padding: 2rem;
    border-top: 3px solid var(--pxm-blue);
    background: linear-gradient( 180deg, #f6f9fe, #ffffff );
}


    .pxm-contact-process-step > span {
        display: block;
        margin-bottom: 2rem;
        color: var(--pxm-blue);
        font-size: 0.7rem;
        font-weight: 800;
    }


    .pxm-contact-process-step h3 {
        margin-bottom: 0.85rem;
        font-size: 1.15rem;
    }


    .pxm-contact-process-step p {
        margin-bottom: 0;
        color: var(--pxm-text-secondary);
        font-size: 0.84rem;
        line-height: 1.7;
    }


/* =========================================================
   Closing Call Section
   ========================================================= */

.pxm-contact-closing {
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    color: #ffffff;
    background: linear-gradient( 145deg, #031226, #0a2e60 );
}


.pxm-contact-closing-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}


.pxm-contact-closing .pxm-eyebrow {
    color: #6fa3ff;
}


.pxm-contact-closing h2 {
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-size: clamp( 2rem, 3.5vw, 3.3rem );
}


.pxm-contact-closing p {
    margin-bottom: 0;
    color: rgba(235, 242, 252, 0.78);
    line-height: 1.8;
}


    .pxm-contact-closing p a {
        color: #ffffff;
        font-weight: 800;
        text-decoration: none;
    }


        .pxm-contact-closing p a:hover {
            text-decoration: underline;
        }


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 991.98px) {

    .pxm-contact-hero {
        min-height: 460px;
        padding: 6rem 0 5rem;
    }


    .pxm-contact-main,
    .pxm-contact-services,
    .pxm-contact-process {
        padding: 5rem 0;
    }


    .pxm-contact-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 767.98px) {

    .pxm-contact-service {
        grid-template-columns: 40px minmax(0, 1fr);
    }


        .pxm-contact-service > strong {
            display: none;
        }


    .pxm-contact-form-header,
    .pxm-contact-form {
        padding: 2rem;
    }
}


@media (max-width: 575.98px) {

    .pxm-contact-hero-title {
        font-size: clamp( 2.5rem, 11vw, 3.7rem );
    }


    .pxm-contact-process-grid {
        grid-template-columns: 1fr;
    }


    .pxm-contact-form-header,
    .pxm-contact-form {
        padding: 1.5rem;
    }


    .pxm-contact-form-footer .btn {
        width: 100%;
    }


    .pxm-contact-form-footer p {
        max-width: none;
    }


    .pxm-contact-closing {
        padding: 4rem 0;
    }
}
