﻿/* ==========================================================
   FEITORIX TECHNOLOGIES
   CONTACT.CSS
   EXECUTIVE CONTACT PAGE
========================================================== */

:root {
    --primary: #0f6fff;
    --cyan: #00c2ff;
    --navy: #071a36;
    --navy-soft: #10284f;
    --text: #172033;
    --muted: #64748b;
    --white: #ffffff;
    --bg: #f6f9fc;
    --border: #e2e8f0;
    --shadow-soft: 0 14px 40px rgba(2, 8, 23, .08);
    --shadow-lg: 0 30px 90px rgba(2, 8, 23, .14);
}

/* HERO */

.fx-contact-hero {
    position: relative;
    overflow: hidden;
    padding: 155px 0 95px;
    background: radial-gradient(circle at 85% 20%, rgba(0, 194, 255, .18), transparent 30%), radial-gradient(circle at 10% 80%, rgba(15, 111, 255, .12), transparent 32%), linear-gradient(135deg, #ffffff 0%, #eef6ff 50%, #f8fbff 100%);
}

.fx-contact-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(15, 111, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 111, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
}

.fx-eyebrow {
    display: inline-block;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.fx-contact-hero h1 {
    color: var(--navy);
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.fx-contact-hero p {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.12rem;
    line-height: 1.85;
}

.fx-contact-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
    max-width: 650px;
}

    .fx-contact-metrics div {
        background: rgba(255, 255, 255, .86);
        border: 1px solid var(--border);
        border-radius: 18px;
        padding: 18px;
        box-shadow: var(--shadow-soft);
    }

    .fx-contact-metrics strong {
        display: block;
        color: var(--navy);
        font-size: 1.35rem;
        font-weight: 900;
    }

    .fx-contact-metrics span {
        display: block;
        margin-top: 4px;
        color: var(--muted);
        font-size: .86rem;
        font-weight: 700;
    }

/* LOGO CARD */

.fx-contact-brand-card {
    position: relative;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(15, 111, 255, .14);
    border-radius: 34px;
    padding: 26px;
    box-shadow: var(--shadow-lg);
}

    .fx-contact-brand-card img {
        position: relative;
        width: 100%;
        border-radius: 22px;
        display: block;
    }

.fx-brand-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    right: -70px;
    top: -70px;
    background: radial-gradient(circle, rgba(0, 194, 255, .26), transparent 70%);
}

.fx-brand-pill {
    position: absolute;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(15, 111, 255, .16);
    border-radius: 999px;
    padding: 12px 16px;
    box-shadow: var(--shadow-soft);
    color: var(--navy);
    font-size: .82rem;
    font-weight: 900;
}

    .fx-brand-pill i {
        color: var(--primary);
        margin-right: 6px;
    }

.fx-pill-one {
    left: -6%;
    top: 16%;
}

.fx-pill-two {
    right: -5%;
    bottom: 18%;
}

/* MAIN CONTACT SECTION */

.fx-contact-section {
    padding: 95px 0;
    background: radial-gradient(circle at top right, rgba(0, 194, 255, .09), transparent 28%), #ffffff;
}

.fx-contact-layout {
    display: grid;
    grid-template-columns: 390px minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.fx-contact-side {
    position: sticky;
    top: 115px;
    display: grid;
    gap: 24px;
}

/* CARDS */

.fx-info-card,
.fx-process-card,
.fx-form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 30px;
    padding: 34px;
    box-shadow: var(--shadow-soft);
}

.fx-form-card {
    padding: 42px;
}

.fx-card-label {
    display: inline-block;
    color: var(--primary);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.fx-info-card h3,
.fx-process-card h4,
.fx-form-card h2 {
    color: var(--navy);
    font-weight: 900;
    letter-spacing: -.8px;
}

.fx-info-card p,
.fx-form-card p {
    color: var(--muted);
    line-height: 1.8;
}

.fx-info-list {
    margin-top: 26px;
}

.fx-info-item {
    display: flex;
    gap: 15px;
    padding: 18px 0;
    border-top: 1px solid var(--border);
    text-decoration: none;
}

    .fx-info-item i {
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: grid;
        place-items: center;
        color: var(--primary);
        background: linear-gradient(135deg, rgba(15, 111, 255, .12), rgba(0, 194, 255, .1));
        font-size: 1.25rem;
    }

    .fx-info-item strong {
        display: block;
        color: var(--navy);
        font-weight: 900;
    }

    .fx-info-item span {
        color: var(--muted);
        font-weight: 700;
        word-break: break-word;
    }

/* PROCESS CARD */

.fx-process-step {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    margin-top: 16px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 14px;
}

    .fx-process-step b {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        display: grid;
        place-items: center;
        color: white;
        background: linear-gradient(135deg, var(--primary), var(--cyan));
        font-size: .85rem;
    }

    .fx-process-step span {
        color: var(--navy);
        font-weight: 800;
        line-height: 1.45;
    }

/* FORM */

.fx-form-header {
    margin-bottom: 30px;
}

.fx-contact-form .form-label {
    color: var(--navy);
    font-weight: 900;
    margin-bottom: 9px;
}

.fx-input-wrap {
    position: relative;
}

    .fx-input-wrap > i {
        position: absolute;
        left: 17px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--primary);
        font-size: 1.05rem;
        z-index: 2;
    }

    .fx-input-wrap .form-control,
    .fx-input-wrap .form-select {
        min-height: 56px;
        padding-left: 48px;
    }

.fx-textarea-wrap .form-control {
    min-height: 185px;
    resize: vertical;
}

.fx-contact-form .form-control,
.fx-contact-form .form-select {
    border: 1px solid #d8e2ef;
    border-radius: 15px;
    background: #f8fafc;
    color: var(--navy);
    font-weight: 700;
    padding-top: 14px;
    padding-bottom: 14px;
    transition: .22s ease;
}

    .fx-contact-form .form-control:focus,
    .fx-contact-form .form-select:focus {
        border-color: rgba(15, 111, 255, .55);
        background: white;
        box-shadow: 0 0 0 4px rgba(15, 111, 255, .1);
    }

.fx-submit-row {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
}

    .fx-submit-row span {
        color: var(--muted);
        font-weight: 800;
        line-height: 1.5;
    }

        .fx-submit-row span i {
            color: var(--primary);
            margin-right: 6px;
        }

.fx-alert-success {
    border: none;
    border-radius: 18px;
    padding: 18px 20px;
    font-weight: 800;
}

    .fx-alert-success i {
        margin-right: 8px;
    }

/* BUTTON */

.fx-btn-primary {
    color: white;
    border: none;
    border-radius: 14px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--cyan));
    box-shadow: 0 18px 38px rgba(15, 111, 255, .26);
    transition: .25s ease;
}

    .fx-btn-primary:hover {
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 24px 52px rgba(15, 111, 255, .34);
    }

/* VALIDATION */

.text-danger {
    font-size: .85rem;
    font-weight: 700;
    margin-top: 6px;
    display: block;
}

/* RESPONSIVE */

@media (max-width: 992px) {
    .fx-contact-layout {
        grid-template-columns: 1fr;
    }

    .fx-contact-side {
        position: static;
    }

    .fx-contact-brand-card {
        margin-top: 30px;
    }

    .fx-brand-pill {
        display: none;
    }
}

@media (max-width: 768px) {
    .fx-contact-hero {
        padding: 130px 0 70px;
    }

    .fx-contact-section {
        padding: 70px 0;
    }

    .fx-contact-metrics {
        grid-template-columns: 1fr;
    }

    .fx-form-card,
    .fx-info-card,
    .fx-process-card {
        padding: 26px;
    }

    .fx-contact-hero h1 {
        letter-spacing: -1px;
    }

    .fx-submit-row .btn {
        width: 100%;
    }
}
