
/* =========================================
   NAVA PREMIUM CONTACT PAGE
========================================= */

.contact-page {
    --contact-primary: #7655f6;
    --contact-secondary: #00c9d6;
    --contact-dark: #10132b;
    --contact-muted: #777d96;
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
    background: #f6f7ff;
    isolation: isolate;
}

.contact-page * {
    box-sizing: border-box;
}

.contact-grid {
    position: absolute;
    inset: 0;
    z-index: -2;
    opacity: .35;
    background-image:
        linear-gradient(rgba(118,85,246,.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118,85,246,.06) 1px, transparent 1px);
    background-size: 45px 45px;
    mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.contact-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2px);
    pointer-events: none;
    z-index: -1;
    animation: contactFloat 9s ease-in-out infinite;
}

.contact-orb-one {
    width: 350px;
    height: 350px;
    top: 100px;
    left: -180px;
    background: rgba(118,85,246,.12);
    filter: blur(70px);
}

.contact-orb-two {
    width: 400px;
    height: 400px;
    top: 450px;
    right: -200px;
    background: rgba(0,201,214,.13);
    filter: blur(80px);
    animation-delay: -3s;
}

.contact-orb-three {
    width: 220px;
    height: 220px;
    bottom: 0;
    left: 45%;
    background: rgba(255,124,177,.10);
    filter: blur(65px);
    animation-delay: -5s;
}

@keyframes contactFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -25px); }
}

/* PAGE HEADING */

.contact-top-heading {
    max-width: 780px;
    margin: 0 auto 65px;
    text-align: center;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border: 1px solid rgba(118,85,246,.18);
    border-radius: 50px;
    color: #7655f6;
    background: rgba(255,255,255,.8);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(35,35,90,.04);
}

.contact-badge i {
    font-size: 15px;
}

.contact-top-heading h1 {
    margin: 25px 0 18px;
    color: #151831;
    font-size: clamp(35px, 5vw, 58px);
    line-height: 1.12;
    font-weight: 850;
    letter-spacing: -2.5px;
}

.contact-top-heading h1 span {
    background: linear-gradient(100deg, #7655f6, #00bfcf);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-top-heading p {
    max-width: 620px;
    margin: auto;
    color: #777d96;
    font-size: 16px;
    line-height: 1.8;
}

/* LEFT PANEL */

.contact-info-card {
    position: relative;
    height: 100%;
    min-height: 650px;
    overflow: hidden;
    padding: 40px;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(0,201,214,.25), transparent 35%),
        radial-gradient(circle at 5% 90%, rgba(118,85,246,.35), transparent 40%),
        linear-gradient(145deg, #191c43, #10132b 80%);
    box-shadow: 0 25px 65px rgba(28,25,75,.16);
}

.contact-info-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 45px;
}

.contact-icon-main {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    font-size: 27px;
    color: #6fe7f0;
}

.contact-online {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 30px;
    color: #c6c9e0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.contact-online span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35e6a1;
    box-shadow: 0 0 12px #35e6a1;
    animation: onlinePulse 1.8s infinite;
}

@keyframes onlinePulse {
    50% { box-shadow: 0 0 0 6px rgba(53,230,161,.12); }
}

.contact-info-card h2 {
    position: relative;
    z-index: 1;
    max-width: 390px;
    margin-bottom: 20px;
    font-size: clamp(29px, 3vw, 38px);
    line-height: 1.25;
    font-weight: 800;
    letter-spacing: -1px;
}

.contact-info-card h2 span {
    color: #7ce6eb;
}

.contact-info-description {
    position: relative;
    z-index: 1;
    color: #b7bad1;
    font-size: 14px;
    line-height: 1.9;
    max-width: 390px;
}

.contact-info-list {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 40px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 18px 14px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 17px;
    color: white;
    text-decoration: none;
    background: rgba(255,255,255,.045);
    transition: .35s ease;
}

.contact-info-item:hover {
    transform: translateX(7px);
    background: rgba(255,255,255,.1);
    border-color: rgba(124,230,235,.3);
    color: white;
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(135deg, rgba(118,85,246,.3), rgba(0,201,214,.2));
    color: #7ce6eb;
    font-size: 20px;
}

.contact-info-item div:nth-child(2) {
    min-width: 0;
}

.contact-info-item small {
    display: block;
    margin-bottom: 5px;
    color: #999fbd;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.contact-info-item strong {
    display: block;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 700;
}

.contact-info-item span {
    display: block;
    margin-top: 4px;
    color: #a8abc2;
    font-size: 11px;
}

.contact-arrow {
    margin-left: auto;
    color: #7ce6eb;
}

.contact-security {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 13px;
    align-items: flex-start;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.contact-security > i {
    color: #54dfb0;
    font-size: 23px;
}

.contact-security strong {
    display: block;
    font-size: 12px;
}

.contact-security p {
    margin: 5px 0 0;
    color: #a8abc2;
    font-size: 11px;
}

.contact-decoration {
    position: absolute;
    right: -35px;
    bottom: -55px;
    font-size: 230px;
    color: rgba(255,255,255,.035);
    transform: rotate(-15deg);
    pointer-events: none;
}

/* FORM PANEL */

.contact-form-panel {
    height: 100%;
    padding: 45px;
    border: 1px solid rgba(118,85,246,.09);
    border-radius: 28px;
    background: rgba(255,255,255,.93);
    box-shadow: 0 20px 65px rgba(35,35,90,.07);
    backdrop-filter: blur(15px);
}

.contact-form-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 35px;
}

.contact-form-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #7655f6;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.6px;
}

.contact-form-heading h2 {
    margin: 15px 0 10px;
    color: #171a36;
    font-size: 34px;
    font-weight: 850;
    letter-spacing: -1.5px;
}

.contact-form-heading h2 span {
    color: #7655f6;
}

.contact-form-heading p {
    margin: 0;
    color: #8589a0;
    font-size: 13px;
    line-height: 1.7;
}

.contact-form-number {
    color: rgba(118,85,246,.12);
    font-size: 65px;
    font-weight: 900;
    line-height: 1;
}

.contact-label {
    display: block;
    margin-bottom: 10px;
    color: #292c49;
    font-size: 12px;
    font-weight: 800;
}

.contact-label span {
    color: #f05c82;
}

.contact-label small {
    margin-left: 5px;
    color: #999eb2;
    font-size: 9px;
    font-weight: 700;
}

.contact-input-wrap {
    position: relative;
}

.contact-input-wrap > i {
    position: absolute;
    top: 50%;
    left: 17px;
    z-index: 2;
    transform: translateY(-50%);
    color: #9993c0;
    font-size: 17px;
    pointer-events: none;
    transition: .3s ease;
}

.contact-input-wrap input,
.contact-input-wrap select,
.contact-input-wrap textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 15px 14px 47px;
    border: 1px solid #e9eaf3;
    border-radius: 13px;
    outline: none;
    color: #292c49;
    background: #fafaff;
    font-size: 12px;
    font-family: inherit;
    transition: .3s ease;
}

.contact-input-wrap input::placeholder,
.contact-input-wrap textarea::placeholder {
    color: #adb0c2;
}

.contact-input-wrap input:focus,
.contact-input-wrap select:focus,
.contact-input-wrap textarea:focus {
    border-color: #8c73fa;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(118,85,246,.09);
}

.contact-input-wrap:focus-within > i {
    color: #7655f6;
}

.contact-select-wrap select {
    appearance: none;
    cursor: pointer;
    padding-right: 35px;
}

.contact-select-wrap::after {
    content: "\F282";
    position: absolute;
    top: 50%;
    right: 17px;
    transform: translateY(-50%);
    font-family: bootstrap-icons;
    color: #9993c0;
    pointer-events: none;
}

.contact-textarea-wrap > i {
    top: 21px;
    transform: none;
}

.contact-input-wrap textarea {
    min-height: 145px;
    resize: vertical;
    padding-top: 17px;
    line-height: 1.7;
}

.contact-input-wrap .input-error {
    border-color: #f06b80;
    background: #fffafa;
}

.contact-error {
    display: block;
    margin-top: 7px;
    color: #e04b68;
    font-size: 11px;
    font-weight: 600;
}

.contact-message-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 9px;
    color: #999eb2;
    font-size: 10px;
}

.contact-message-footer i {
    color: #7655f6;
}

.contact-submit-btn {
    width: 100%;
    min-height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: none;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(110deg, #7655f6, #5540dc, #00bfcf);
    background-size: 200% 100%;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(118,85,246,.22);
    transition: .4s ease;
}

.contact-submit-btn:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(118,85,246,.3);
}

.contact-submit-btn i {
    font-size: 18px;
    transition: .3s ease;
}

.contact-submit-btn:hover i {
    transform: translateX(5px);
}

.contact-form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 14px 0 0;
    color: #9a9db0;
    font-size: 10px;
}

.contact-form-note i {
    color: #28b98a;
}

/* ALERT MESSAGES */

.contact-alert {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 25px;
    padding: 16px;
    border-radius: 13px;
    animation: alertSlide .5s ease;
}

.contact-alert > i {
    font-size: 23px;
}

.contact-alert strong,
.contact-alert span {
    display: block;
}

.contact-alert strong {
    margin-bottom: 5px;
    font-size: 13px;
}

.contact-alert span {
    font-size: 11px;
    line-height: 1.6;
}

.contact-alert-success {
    border: 1px solid #bcebd9;
    color: #117a54;
    background: #effcf6;
}

.contact-alert-error {
    border: 1px solid #f6c7cf;
    color: #b93850;
    background: #fff3f5;
}

@keyframes alertSlide {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* BOTTOM CTA */

.contact-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 55px;
    padding: 30px 38px;
    border: 1px solid rgba(118,85,246,.1);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(35,35,90,.05);
}

.contact-bottom span {
    color: #7655f6;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 1.5px;
}

.contact-bottom h3 {
    margin: 8px 0 0;
    color: #171a36;
    font-size: 19px;
    font-weight: 800;
}

.contact-bottom a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding: 14px 23px;
    border-radius: 10px;
    color: white;
    background: #7655f6;
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: .3s ease;
}

.contact-bottom a:hover {
    transform: translateY(-3px);
    background: #5740d9;
    color: white;
}

/* SCROLL REVEAL */

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .contact-page {
        padding: 75px 0 60px;
    }

    .contact-info-card {
        min-height: auto;
    }

    .contact-top-heading {
        margin-bottom: 45px;
    }
}

@media (max-width: 767px) {
    .contact-page {
        padding: 60px 0 45px;
    }

    .contact-top-heading h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }

    .contact-top-heading p {
        font-size: 13px;
    }

    .contact-info-card,
    .contact-form-panel {
        padding: 27px 22px;
        border-radius: 20px;
    }

    .contact-info-top {
        margin-bottom: 30px;
    }

    .contact-info-card h2 {
        font-size: 30px;
    }

    .contact-form-heading h2 {
        font-size: 27px;
    }

    .contact-form-number {
        font-size: 45px;
    }

    .contact-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 25px;
    }

    .contact-bottom h3 {
        font-size: 17px;
    }

    .contact-bottom a {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 400px) {
    .contact-info-item {
        gap: 10px;
        padding: 14px 10px;
    }

    .contact-info-item strong {
        font-size: 11px;
    }

    .contact-form-number {
        display: none;
    }
}

/* ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .contact-page *,
    .contact-page *::before,
    .contact-page *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
