﻿/* =========================================================
   SAN ROBOTICS - CONTACT PAGE
   AI + ROBOTICS + MECHATRONICS
========================================================= */


/* =========================================
   CONTACT HERO
========================================= */

.contact-hero {

    min-height: 430px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    overflow: hidden;

    color: #fff;

    background:
        radial-gradient(
            circle at 15% 20%,
            rgba(18,155,239,.25),
            transparent 30%
        ),
        radial-gradient(
            circle at 85% 70%,
            rgba(69,217,255,.18),
            transparent 30%
        ),
        #031126;

}


/* Technical grid */

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: .18;

    background-image:
        linear-gradient(
            rgba(69,217,255,.18) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(69,217,255,.18) 1px,
            transparent 1px
        );

    background-size: 45px 45px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent
        );

}


/* Glowing circles */

.tech-orb {

    position: absolute;

    border-radius: 50%;

    border: 1px solid rgba(69,217,255,.25);

    box-shadow:
        0 0 50px rgba(69,217,255,.08);

    animation: orbFloat 8s ease-in-out infinite;

}


.orb-one {

    width: 330px;
    height: 330px;

    left: -130px;
    top: -100px;

}


.orb-two {

    width: 450px;
    height: 450px;

    right: -220px;
    bottom: -300px;

    animation-delay: 2s;

}


.orb-three {

    width: 120px;
    height: 120px;

    right: 17%;
    top: 25%;

    border-color:
        rgba(18,155,239,.35);

    animation-delay: 1s;

}


@keyframes orbFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

}


/* Hero content */

.contact-hero-content {

    position: relative;

    z-index: 2;

    width: 90%;

    max-width: 900px;

    text-align: center;

}


.tech-label {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 8px 17px;

    border: 1px solid
        rgba(69,217,255,.3);

    border-radius: 50px;

    color: #8DEBFF;

    background:
        rgba(69,217,255,.06);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 2px;

}


.pulse-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: #45D9FF;

    box-shadow:
        0 0 0 5px
        rgba(69,217,255,.12),
        0 0 15px
        #45D9FF;

}


.contact-hero h1 {

    margin: 25px 0 18px;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(42px, 6vw, 76px);

    line-height: 1.05;

    font-weight: 700;

    letter-spacing: -2px;

}


.contact-hero h1 span {

    display: block;

    background:
        linear-gradient(
            90deg,
            #fff,
            #45D9FF,
            #087ED1
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;

}


.contact-hero p {

    max-width: 680px;

    margin: auto;

    color:
        rgba(255,255,255,.68);

    font-size: 16px;

    line-height: 1.8;

}


.hero-line {

    width: 80px;

    height: 3px;

    margin: 30px auto 0;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            #087ED1,
            #45D9FF
        );

}


/* =========================================
   COMMON SECTION
========================================= */

.contact-section,
.connect-section {

    padding: 100px 30px;

    background: #fff;

}


.section-container {

    max-width: 1250px;

    margin: auto;

}


.section-heading {

    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;

}


.section-heading > span {

    color: #087ED1;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

}


.section-heading h2 {

    margin: 12px 0;

    font-family: 'Space Grotesk', sans-serif;

    color: #061A3A;

    font-size: clamp(30px,4vw,45px);

}


.section-heading h2 strong {

    color: #087ED1;

}


.section-heading p {

    color: #64748B;

    line-height: 1.8;

}


/* =========================================
   CONTACT CARDS
========================================= */

.contact-cards {

    display: grid;

    grid-template-columns:
        repeat(3,1fr);

    gap: 22px;

}


.contact-card {

    position: relative;

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 28px;

    overflow: hidden;

    border: 1px solid
        rgba(8,126,209,.10);

    border-radius: 18px;

    background: #fff;

    box-shadow:
        0 12px 35px
        rgba(3,17,38,.06);

    transition:
        transform .4s ease,
        box-shadow .4s ease;

}


.contact-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 4px;

    height: 0;

    background:
        linear-gradient(
            #087ED1,
            #45D9FF
        );

    transition: height .4s ease;

}


.contact-card:hover {

    transform: translateY(-8px);

    box-shadow:
        0 22px 45px
        rgba(3,17,38,.12);

}


.contact-card:hover::before {

    height: 100%;

}


.contact-icon {

    width: 58px;

    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 15px;

    color: #087ED1;

    background:
        linear-gradient(
            135deg,
            rgba(8,126,209,.12),
            rgba(69,217,255,.10)
        );

    font-size: 21px;

    transition: .4s ease;

}


.contact-card:hover .contact-icon {

    transform:
        rotate(-5deg)
        scale(1.08);

}


.contact-card span {

    color: #64748B;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.contact-card h3 {

    margin: 5px 0;

    color: #061A3A;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 16px;

}


.contact-card p {

    margin: 0;

    color: #94A3B8;

    font-size: 11px;

}


.card-arrow {

    position: absolute;

    right: 20px;

    top: 20px;

    color: #CBD5E1;

    font-size: 11px;

    transition: .3s;

}


.contact-card:hover .card-arrow {

    color: #087ED1;

    transform:
        translate(3px,-3px);

}


/* =========================================
   CONNECT SECTION
========================================= */

.connect-section {

    background: #F5FAFF;

}


.connect-grid {

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 30px;

    align-items: stretch;

}


/* =========================================
   ENQUIRY BOX
========================================= */

.enquiry-box {

    padding: 42px;

    border: 1px solid
        rgba(8,126,209,.10);

    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 20px 50px
        rgba(3,17,38,.07);

}


.box-heading {

    display: flex;

    align-items: center;

    gap: 16px;

}


.mini-icon {

    width: 52px;

    height: 52px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #087ED1,
            #45D9FF
        );

    box-shadow:
        0 8px 20px
        rgba(8,126,209,.2);

}


.box-heading span {

    color: #087ED1;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.box-heading h2 {

    margin-top: 4px;

    color: #061A3A;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 25px;

}


.box-description {

    margin: 22px 0 28px;

    color: #64748B;

    font-size: 13px;

    line-height: 1.7;

}


/* =========================================
   FORM
========================================= */

.form-row {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 15px;

}


.form-group {

    margin-bottom: 18px;

}


.form-group label {

    display: block;

    margin-bottom: 7px;

    color: #334155;

    font-size: 11px;

    font-weight: 700;

}


.input-box {

    position: relative;

}


.input-box > i {

    position: absolute;

    left: 15px;

    top: 50%;

    transform: translateY(-50%);

    color: #087ED1;

    font-size: 13px;

    z-index: 2;

}


.input-box input,
.input-box select,
.input-box textarea {

    width: 100%;

    border: 1px solid #E2E8F0;

    outline: none;

    border-radius: 10px;

    background: #F8FAFC;

    color: #1E293B;

    font-family: 'Inter', sans-serif;

    font-size: 12px;

    transition: .3s;

}


.input-box input,
.input-box select {

    height: 46px;

    padding: 0 15px 0 43px;

}


.input-box textarea {

    min-height: 105px;

    padding: 14px 15px 14px 43px;

    resize: vertical;

}


.input-box input:focus,
.input-box select:focus,
.input-box textarea:focus {

    border-color: #087ED1;

    background: #fff;

    box-shadow:
        0 0 0 4px
        rgba(8,126,209,.08);

}


.textarea-box > i {

    top: 18px;

    transform: none;

}


select {

    appearance: none;

    cursor: pointer;

}


/* =========================================
   SEND BUTTON
========================================= */

.send-button {

    width: 100%;

    height: 52px;

    border: 0;

    border-radius: 10px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    color: #fff;

    background:
        linear-gradient(
            100deg,
            #061A3A,
            #087ED1
        );

    font-family: 'Inter', sans-serif;

    font-size: 12px;

    font-weight: 700;

    box-shadow:
        0 10px 25px
        rgba(8,126,209,.18);

    transition: .35s ease;

}


.send-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(8,126,209,.25);

}


.send-button i {

    transition: .3s;

}


.send-button:hover i {

    transform:
        translate(4px,-3px);

}


.form-note {

    margin-top: 14px;

    text-align: center;

    color: #94A3B8;

    font-size: 10px;

}


.form-note i {

    color: #087ED1;

    margin-right: 4px;

}


/* =========================================
   MAP
========================================= */

.map-box {

    min-height: 600px;

    padding: 25px;

    border-radius: 22px;

    background: #061A3A;

    box-shadow:
        0 20px 50px
        rgba(3,17,38,.16);

}


.map-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 20px;

}


.map-header span {

    color: #45D9FF;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.map-header h2 {

    margin-top: 5px;

    color: #fff;

    font-family: 'Space Grotesk', sans-serif;

    font-size: 24px;

}


.location-pulse {

    width: 42px;

    height: 42px;

    border: 1px solid
        rgba(69,217,255,.3);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

}


.location-pulse span {

    width: 9px;

    height: 9px;

    border-radius: 50%;

    background: #45D9FF;

    box-shadow:
        0 0 0 8px
        rgba(69,217,255,.10),
        0 0 20px
        #45D9FF;

}


/* Map */

.map-container {

    position: relative;

    height: 455px;

    overflow: hidden;

    border-radius: 15px;

    border: 1px solid
        rgba(69,217,255,.15);

}


.map-container iframe {

    width: 100%;

    height: 100%;

    border: 0;

    filter: saturate(.75);

    transition: .5s;

}


.map-container:hover iframe {

    filter: saturate(1);

    transform: scale(1.02);

}


.map-overlay {

    position: absolute;

    left: 50%;

    top: 50%;

    pointer-events: none;

    transform: translate(-50%,-50%);

}


.map-pin {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: #fff;

    background: #087ED1;

    box-shadow:
        0 0 0 10px
        rgba(8,126,209,.18),
        0 0 35px
        rgba(69,217,255,.5);

    animation: mapPulse 2s infinite;

}


@keyframes mapPulse {

    0%,100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }

}


.directions-button {

    margin-top: 15px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border: 1px solid
        rgba(69,217,255,.25);

    border-radius: 10px;

    color: #8DEBFF;

    background:
        rgba(69,217,255,.06);

    font-size: 11px;

    font-weight: 700;

    transition: .35s;

}


.directions-button:hover {

    color: #061A3A;

    background: #45D9FF;

}


/* =========================================
   BOTTOM CTA
========================================= */

.contact-cta {

    position: relative;

    overflow: hidden;

    padding: 110px 30px;

    text-align: center;

    color: #fff;

    background:
        radial-gradient(
            circle at center,
            rgba(8,126,209,.35),
            transparent 45%
        ),
        #031126;

}


.cta-circuit {

    position: absolute;

    inset: 0;

    opacity: .15;

    background-image:
        linear-gradient(
            90deg,
            transparent 49%,
            #45D9FF 50%,
            transparent 51%
        ),
        linear-gradient(
            transparent 49%,
            #45D9FF 50%,
            transparent 51%
        );

    background-size: 90px 90px;

}


.cta-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

    margin: auto;

}


.cta-icon {

    width: 65px;

    height: 65px;

    margin: 0 auto 22px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid
        rgba(69,217,255,.3);

    border-radius: 18px;

    color: #45D9FF;

    background:
        rgba(69,217,255,.06);

    font-size: 25px;

}


.cta-content > span {

    color: #45D9FF;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}


.cta-content h2 {

    margin: 15px 0;

    font-family: 'Space Grotesk', sans-serif;

    font-size: clamp(32px,5vw,55px);

    line-height: 1.1;

}


.cta-content h2 strong {

    color: #45D9FF;

}


.cta-content p {

    max-width: 560px;

    margin: auto auto 30px;

    color: rgba(255,255,255,.6);

    line-height: 1.8;

    font-size: 14px;

}


.cta-button {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 25px;

    border-radius: 50px;

    color: #061A3A;

    background: #45D9FF;

    font-size: 12px;

    font-weight: 800;

    transition: .35s;

}


.cta-button:hover {

    transform: translateY(-4px);

    box-shadow:
        0 12px 30px
        rgba(69,217,255,.25);

}


/* =========================================
   RESPONSIVE
========================================= */

@media(max-width: 1000px) {

    .contact-cards {

        grid-template-columns: 1fr;

    }


    .connect-grid {

        grid-template-columns: 1fr;

    }


    .map-box {

        min-height: auto;

    }

}


@media(max-width: 600px) {

    .contact-section,
    .connect-section {

        padding: 70px 18px;

    }


    .contact-hero {

        min-height: 390px;

    }


    .contact-hero h1 {

        letter-spacing: -1px;

    }


    .contact-hero p {

        font-size: 14px;

    }


    .enquiry-box {

        padding: 25px 20px;

    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .map-box {

        padding: 18px;

    }


    .map-container {

        height: 350px;

    }


    .contact-card {

        padding: 22px;

    }

}