
/* =====================================================
   JEENEX TECH - PREMIUM NEON CONTACT PAGE
   Updated Version - Desktop Height & Layout Fix
===================================================== */


/* =====================================================
   1. CONTACT PAGE BACKGROUND
===================================================== */

.contact-page {
    width: 100%;
    min-height: calc(100vh - 100px);

    padding: 16px 2.5%;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at 15% 50%,
            rgba(0, 105, 255, 0.20),
            transparent 38%
        ),
        radial-gradient(
            circle at 90% 20%,
            rgba(0, 220, 255, 0.12),
            transparent 35%
        ),
        #020B1B;

    position: relative;
    overflow: hidden;
}


.contact-page::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        url("images/contact-digital-bg.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.25;
    pointer-events: none;
}


/* =====================================================
   2. MAIN CONTACT CONTAINER
===================================================== */

.contact-container {
    width: 100%;
    max-width: 1560px;

    min-height: 610px;
    height: calc(100vh - 150px);
    max-height: 760px;

    display: grid;
    grid-template-columns: 1.04fr 1fr;

    position: relative;
    z-index: 1;

    padding: 20px 26px;

    background:
        linear-gradient(
            120deg,
            rgba(3, 20, 43, 0.96),
            rgba(2, 13, 32, 0.97)
        );

    border: 3px solid #00DFFF;
    border-radius: 38px;

    box-shadow:
        0 0 12px #00DFFF,
        0 0 28px rgba(0, 145, 255, 0.9),
        0 0 65px rgba(0, 100, 255, 0.45),
        inset 0 0 28px rgba(0, 170, 255, 0.16);

    animation: contactBorderGlow 3s ease-in-out infinite alternate;
}


@keyframes contactBorderGlow {

    from {
        box-shadow:
            0 0 10px #00DFFF,
            0 0 25px rgba(0, 145, 255, 0.7),
            0 0 45px rgba(0, 100, 255, 0.35),
            inset 0 0 20px rgba(0, 170, 255, 0.12);
    }

    to {
        box-shadow:
            0 0 18px #00E5FF,
            0 0 38px rgba(0, 160, 255, 0.95),
            0 0 75px rgba(0, 100, 255, 0.55),
            inset 0 0 32px rgba(0, 200, 255, 0.22);
    }

}


/* =====================================================
   3. LEFT SIDE
===================================================== */

.contact-left {
    min-width: 0;

    position: relative;

    padding: 5px 24px 5px 10px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    border-right: 1px solid rgba(0, 190, 255, 0.65);

    background:
        radial-gradient(
            ellipse at 30% 75%,
            rgba(0, 120, 255, 0.18),
            transparent 60%
        );

    overflow: hidden;
}


.contact-left::before {
    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: 8%;
    top: 38%;

    background: #006CFF;
    filter: blur(120px);
    opacity: 0.22;

    pointer-events: none;
}


/* =====================================================
   4. CONTACT TAG
===================================================== */

.contact-tag {
    position: relative;
    z-index: 2;

    display: inline-block;
    width: fit-content;

    padding: 7px 16px;
    margin-bottom: 12px;

    color: #FFFFFF;

    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;

    border: 2px solid #00DFFF;
    border-radius: 12px;

    background: rgba(0, 100, 190, 0.16);

    box-shadow:
        0 0 10px rgba(0, 210, 255, 0.75),
        inset 0 0 12px rgba(0, 190, 255, 0.15);
}


.contact-tag span {
    color: #00E5FF;
}


/* =====================================================
   5. LEFT SIDE HEADING - OVERLAP FIX
===================================================== */

.contact-left-content {
    position: relative;
    z-index: 4;

    width: 70%;
    max-width: 490px;
}


.contact-left-content h1 {
    color: #FFFFFF;

    font-size: clamp(27px, 2.35vw, 38px);
    line-height: 1.15;
    font-weight: 800;

    margin: 0 0 14px;

    letter-spacing: -0.6px;
}


.contact-left-content h1 span {
    color: #00E5FF;

    text-shadow:
        0 0 10px rgba(0, 220, 255, 0.45),
        0 0 22px rgba(0, 130, 255, 0.25);
}


.contact-description {
    color: #E1EEFF;

    font-size: 16px;
    line-height: 1.5;

    max-width: 440px;
    margin: 0;
}


/* =====================================================
   6. ROBOT + AI GLOBE IMAGE
===================================================== */

.contact-hero-visual {
    position: absolute;

    left: 0;
    bottom: 0;

    width: 70%;
    height: 64%;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    z-index: 1;
    pointer-events: none;
}


.contact-hero-visual::before {
    content: "";

    position: absolute;

    width: 85%;
    height: 55%;

    bottom: 8%;
    left: 5%;

    background: #007BFF;
    filter: blur(75px);
    opacity: 0.24;
}


.contact-hero-visual img {
    position: relative;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: left bottom;

    filter:
        drop-shadow(0 0 12px rgba(0, 160, 255, 0.65))
        drop-shadow(0 0 28px rgba(0, 110, 255, 0.35));
}


/* =====================================================
   7. SERVICE CARDS - HEADING OVERLAP FIX
===================================================== */

.contact-services {
    position: absolute;

    top: 18%;
    right: 0;

    width: 25%;

    display: flex;
    flex-direction: column;
    gap: 11px;

    z-index: 3;
}


.contact-service-card {
    min-height: 76px;

    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;

    padding: 7px 8px;

    background:
        linear-gradient(
            135deg,
            rgba(4, 43, 83, 0.96),
            rgba(1, 17, 40, 0.98)
        );

    border: 2px solid #00CFFF;
    border-radius: 16px;

    box-shadow:
        0 0 9px rgba(0, 210, 255, 0.75),
        inset 0 0 13px rgba(0, 145, 255, 0.2);

    transition: 0.3s ease;
}


.contact-service-card:hover {
    transform: translateX(-5px);

    border-color: #FFFFFF;

    box-shadow:
        0 0 15px #00E5FF,
        0 0 30px rgba(0, 120, 255, 0.6);
}


.contact-service-card img {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    object-fit: contain;

    filter:
        drop-shadow(0 0 7px #00CFFF);
}


.contact-service-card h3 {
    color: #FFFFFF;

    font-size: 14px;
    font-weight: 800;

    line-height: 1.2;
    margin: 0;
}


.contact-service-card p {
    color: #00E5FF;

    font-size: 12px;
    font-weight: 700;

    line-height: 1.2;
    margin: 2px 0 0;
}


/* =====================================================
   8. RIGHT SIDE - ENQUIRY FORM
===================================================== */

.contact-right {
    min-width: 0;

    position: relative;

    padding: 3px 10px 0 32px;

    display: flex;
    flex-direction: column;
}


/* CLOSE BUTTON */

.contact-close {
    position: absolute;

    top: 0;
    right: 0;

    width: 45px;
    height: 45px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #FFFFFF;
    font-size: 32px;
    line-height: 1;

    background: rgba(5, 18, 40, 0.9);

    border: 2px solid #8CA8C8;
    border-radius: 50%;

    cursor: pointer;

    box-shadow:
        0 0 12px rgba(0, 130, 255, 0.3);

    transition: 0.3s;
}


.contact-close:hover {
    border-color: #00E5FF;
    color: #00E5FF;

    transform: rotate(90deg);

    box-shadow:
        0 0 15px #00DFFF;
}


/* =====================================================
   9. FORM HEADING
===================================================== */

.contact-form-heading {
    margin-bottom: 15px;
    padding-right: 52px;
}


.contact-form-heading h2 {
    color: #FFFFFF;

    font-size: clamp(25px, 2.3vw, 36px);
    font-weight: 800;

    line-height: 1.2;
    margin: 0;
}


.contact-form-heading h2 span {
    color: #00E5FF;

    text-shadow:
        0 0 12px rgba(0, 210, 255, 0.35);
}


.heading-underline {
    width: 85px;
    height: 4px;

    margin-top: 11px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #00E5FF,
        #008BFF
    );

    box-shadow:
        0 0 12px #00DFFF;
}


/* =====================================================
   10. CONTACT FORM
===================================================== */

.contact-form {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 9px;
}


.form-row {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.form-group {
    min-width: 0;
    min-height: 45px;

    display: flex;
    align-items: center;
    gap: 11px;

    padding: 0 13px;

    background:
        linear-gradient(
            110deg,
            rgba(4, 29, 57, 0.95),
            rgba(2, 17, 38, 0.98)
        );

    border: 1.5px solid #008DDB;
    border-radius: 14px;

    box-shadow:
        inset 0 0 10px rgba(0, 120, 255, 0.10),
        0 0 6px rgba(0, 145, 255, 0.12);

    transition: 0.3s ease;
}


.form-group:focus-within {
    border-color: #00E5FF;

    box-shadow:
        0 0 12px rgba(0, 210, 255, 0.55),
        inset 0 0 12px rgba(0, 180, 255, 0.12);
}


.form-group.full-width {
    width: 100%;
}


/* FORM ICONS */

.form-icon {
    flex-shrink: 0;

    color: #E7F5FF;

    font-size: 24px;
    line-height: 1;

    text-shadow:
        0 0 8px rgba(0, 180, 255, 0.5);
}


/* INPUT FIELDS */

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    background: transparent;

    border: none;
    outline: none;

    min-width: 0;
}


.form-group input {
    height: 43px;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #E0ECFA;
    opacity: 1;
}


/* SELECT MENU */

.form-group select {
    height: 43px;

    cursor: pointer;

    color: #FFFFFF;
    color-scheme: dark;
}


.form-group select option {
    color: #FFFFFF;
    background: #061A35;
}


/* TEXTAREA */

.textarea-group {
    min-height: 88px;

    align-items: flex-start;

    padding-top: 11px;
}


.form-group textarea {
    min-height: 65px;

    resize: vertical;
    line-height: 1.5;
}


/* HIDDEN WEBSITE TYPE FIELD */

.website-type-group[hidden] {
    display: none !important;
}


/* =====================================================
   11. CONSENT CHECKBOX
===================================================== */

.contact-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    padding: 1px 4px;

    color: #F1F6FF;

    font-size: 13px;
    line-height: 1.4;
}


.contact-consent input {
    width: 19px;
    height: 19px;

    flex-shrink: 0;

    margin-top: 1px;

    accent-color: #00CFFF;

    cursor: pointer;
}


.contact-consent label {
    cursor: pointer;
}


/* =====================================================
   12. SEND ENQUIRY BUTTON
   MEDIUM LIGHT REFLECTION
===================================================== */

.send-enquiry-btn {
    width: 100%;
    min-height: 65px;

    position: relative;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 17px;

    margin-top: 0;
    padding: 10px 22px;

    color: #FFFFFF;

    font-family: inherit;
    font-size: 27px;
    font-weight: 800;

    border: 3px solid #00E5FF;
    border-radius: 50px;

    background:
        linear-gradient(
            100deg,
            #00BFFF 0%,
            #087BFF 38%,
            #003DFF 72%,
            #006CFF 100%
        );

    box-shadow:
        0 0 10px #00DFFF,
        0 0 22px rgba(0, 130, 255, 0.75),
        0 0 38px rgba(0, 100, 255, 0.35),
        inset 0 0 12px rgba(255, 255, 255, 0.16);

    cursor: pointer;

    transition: 0.3s ease;
}


/* MEDIUM WHITE LIGHT REFLECTION */

.send-enquiry-btn::before {
    content: "";

    position: absolute;

    top: -80%;
    left: -45%;

    width: 23%;
    height: 260%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.08),
            rgba(255, 255, 255, 0.48),
            rgba(255, 255, 255, 0.08),
            transparent
        );

    transform: rotate(30deg);

    animation: sendButtonReflection 4s ease-in-out infinite;

    pointer-events: none;
}


.send-enquiry-btn::after {
    content: "";

    position: absolute;

    inset: 4px;

    border-radius: 50px;

    background:
        linear-gradient(
            120deg,
            transparent 20%,
            rgba(255, 255, 255, 0.10) 45%,
            transparent 60%
        );

    pointer-events: none;
}


@keyframes sendButtonReflection {

    0% {
        left: -45%;
    }

    55% {
        left: 115%;
    }

    100% {
        left: 115%;
    }

}


/* BUTTON TEXT AND ICON */

.send-enquiry-btn span {
    position: relative;
    z-index: 2;
}


.send-icon {
    font-size: 27px;
    transform: rotate(-25deg);
}


.send-arrow {
    font-size: 32px;
    line-height: 1;
}


/* BUTTON HOVER */

.send-enquiry-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 15px #00E5FF,
        0 0 30px rgba(0, 150, 255, 0.85),
        0 0 50px rgba(0, 100, 255, 0.5),
        inset 0 0 16px rgba(255, 255, 255, 0.22);
}


.send-enquiry-btn:active {
    transform: scale(0.985);
}


/* =====================================================
   13. FORM RESPONSE MESSAGE
===================================================== */

.form-message {
    min-height: 0;

    color: #00E5FF;
    font-size: 13px;
    text-align: center;
}


/* =====================================================
   14. TRUST AND SUPPORT SECTION
===================================================== */

.contact-trust {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;

    align-items: center;

    margin-top: 17px;
    padding-top: 2px;
}


.trust-item {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 4px 8px;
}


.trust-item + .trust-item {
    border-left: 1px solid rgba(190, 220, 255, 0.75);
}


.trust-icon {
    flex-shrink: 0;

    color: #00E5FF;
    font-size: 33px;

    font-weight: 700;

    text-shadow:
        0 0 12px rgba(0, 210, 255, 0.75);
}


.trust-item p {
    color: #FFFFFF;

    font-size: 12px;
    line-height: 1.4;

    margin: 0;
}


.trust-item strong {
    display: block;

    color: #FFFFFF;
    font-weight: 700;
}


/* =====================================================
   15. TABLET RESPONSIVE DESIGN
===================================================== */

@media (max-width: 1100px) {

    .contact-page {
        padding: 16px 2%;
    }

    .contact-container {
        grid-template-columns: 1fr 1fr;

        height: auto;
        min-height: 650px;

        padding: 20px 17px;

        border-radius: 30px;
    }

    .contact-left {
        padding-right: 15px;
    }

    .contact-right {
        padding-left: 20px;
    }

    .contact-left-content {
        width: 70%;
    }

    .contact-service-card {
        min-height: 68px;

        padding: 6px;
        gap: 5px;
    }

    .contact-service-card img {
        width: 35px;
        height: 35px;
    }

    .contact-service-card h3 {
        font-size: 12px;
    }

    .contact-service-card p {
        font-size: 10px;
    }

    .contact-description {
        font-size: 14px;
    }

    .form-group {
        padding: 0 9px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 12px;
    }

    .send-enquiry-btn {
        font-size: 23px;
    }

}


/* =====================================================
   16. MOBILE RESPONSIVE DESIGN
===================================================== */

@media (max-width: 760px) {

    .contact-page {
        padding: 20px 12px;
        min-height: auto;
    }


    .contact-container {
        display: flex;
        flex-direction: column;

        width: 100%;

        height: auto;
        min-height: auto;

        padding: 20px 16px;

        border-radius: 25px;
        border-width: 2px;
    }


    /* LEFT SECTION */

    .contact-left {
        min-height: 540px;

        padding: 5px 5px 15px;

        border-right: none;
        border-bottom: 1px solid rgba(0, 190, 255, 0.6);
    }


    .contact-tag {
        font-size: 13px;
        padding: 7px 12px;
    }


    .contact-left-content {
        width: 100%;
        max-width: 100%;
    }


    .contact-left-content h1 {
        font-size: clamp(27px, 7vw, 35px);
    }


    .contact-description {
        font-size: 14px;
        max-width: 95%;
    }


    .contact-hero-visual {
        width: 72%;
        height: 65%;

        left: 0;
        bottom: 0;
    }


    .contact-services {
        width: 29%;

        top: 33%;
        right: 0;

        gap: 9px;
    }


    .contact-service-card {
        min-height: 65px;

        padding: 5px;

        flex-direction: column;
        justify-content: center;

        gap: 2px;

        border-radius: 12px;
    }


    .contact-service-card img {
        width: 32px;
        height: 32px;
    }


    .contact-service-card h3,
    .contact-service-card p {
        font-size: 10px;
        text-align: center;
    }


    /* RIGHT SECTION */

    .contact-right {
        padding: 25px 0 5px;
    }


    .contact-close {
        width: 37px;
        height: 37px;

        top: 12px;
        right: 0;

        font-size: 27px;
    }


    .contact-form-heading {
        padding-right: 40px;
        margin-bottom: 18px;
    }


    .contact-form-heading h2 {
        font-size: 27px;
    }


    .form-row {
        grid-template-columns: 1fr;
        gap: 11px;
    }


    .form-group {
        min-height: 49px;
    }


    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 14px;
    }


    .textarea-group {
        min-height: 95px;
    }


    .contact-consent {
        font-size: 12px;
    }


    .send-enquiry-btn {
        min-height: 61px;

        font-size: 23px;
        gap: 12px;
    }


    .send-icon {
        font-size: 23px;
    }


    .send-arrow {
        font-size: 27px;
    }


    .contact-trust {
        grid-template-columns: 1fr 1fr 1fr;

        margin-top: 20px;
    }


    .trust-item {
        flex-direction: column;
        gap: 5px;

        padding: 5px;
    }


    .trust-icon {
        font-size: 28px;
    }


    .trust-item p {
        font-size: 10px;
        text-align: center;
    }

}


/* =====================================================
   17. SMALL MOBILE SCREENS
===================================================== */

@media (max-width: 380px) {

    .contact-container {
        padding: 16px 11px;
    }

    .contact-left {
        min-height: 490px;
    }

    .contact-left-content h1 {
        font-size: 25px;
    }

    .contact-service-card {
        min-height: 58px;
    }

    .contact-service-card img {
        width: 27px;
        height: 27px;
    }

    .contact-service-card h3,
    .contact-service-card p {
        font-size: 9px;
    }

    .contact-form-heading h2 {
        font-size: 23px;
    }

    .send-enquiry-btn {
        font-size: 20px;
    }

}


/* =====================================================
   18. ACCESSIBILITY - REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    .contact-container,
    .send-enquiry-btn::before {
        animation: none;
    }

    .contact-service-card,
    .send-enquiry-btn,
    .contact-close {
        transition: none;
    }

}

/* =========================================
   CONTACT PAGE INSIDE HOME PAGE POPUP
========================================= */

body.contact-embedded {
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

body.contact-embedded .site-header {
    display: none !important;
}

body.contact-embedded .contact-page {
    min-height: 100vh;
    height: 100vh;
    padding: 16px 2%;
}

body.contact-embedded .contact-container {
    height: calc(100vh - 32px);
    min-height: 0;
    max-height: 850px;
}

body.contact-embedded .contact-close {
    display: none;
}

@media (max-width: 760px) {

    body.contact-embedded .contact-page {
        height: auto;
        min-height: 100vh;
        padding: 12px 8px;
    }

    body.contact-embedded .contact-container {
        height: auto;
        min-height: 0;
    }

}

/* MOBILE CONTACT PAGE SCROLLING FIX */

@media (max-width: 760px) {

    .contact-page {
        display: block;
        height: auto;
        min-height: 100vh;
        overflow: visible;
        align-items: flex-start;
    }

    .contact-container {
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
    }

    .contact-right {
        min-height: 0;
        overflow: visible;
    }

    .contact-form {
        height: auto;
        overflow: visible;
    }

}
