﻿/* =========================================================
   MNR SOFT TECH — CONTACT PAGE
   Bright Modern AI / SaaS Theme
========================================================= */

:root {
    --blue: #155EEF;
    --blue-dark: #0B1F4D;
    --cyan: #00B8D9;
    --purple: #6C5CE7;
    --orange: #FF8A4C;
    --light: #F5F8FF;
    --white: #ffffff;
    --text: #172033;
    --text-light: #68738A;
    --border: #E5EAF3;
    --shadow-sm: 0 8px 25px rgba(21, 94, 239, 0.07);
    --shadow-md: 0 18px 45px rgba(11, 31, 77, 0.10);
    --shadow-lg: 0 30px 70px rgba(11, 31, 77, 0.14);
    --radius: 22px;
    --container: 1180px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: none;
    cursor: pointer;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: 0.3s ease;
}

    .site-header.scrolled {
        border-color: var(--border);
        box-shadow: var(--shadow-sm);
    }

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-shrink: 0;
}

.logo-mark {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

    .logo-mark span {
        width: 8px;
        border-radius: 5px;
        background: linear-gradient( 180deg, var(--cyan), var(--blue) );
    }

        .logo-mark span:nth-child(1) {
            height: 19px;
        }

        .logo-mark span:nth-child(2) {
            height: 28px;
        }

        .logo-mark span:nth-child(3) {
            height: 35px;
        }

.logo-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--blue-dark);
    letter-spacing: -0.4px;
}

    .logo-text span {
        color: var(--blue);
    }


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 29px;
}

    .main-nav a {
        font-size: 14px;
        font-weight: 600;
        color: #4E5A70;
        transition: 0.25s ease;
    }

        .main-nav a:hover,
        .main-nav a.active {
            color: var(--blue);
        }

.header-btn {
    padding: 12px 20px;
    border-radius: 10px;
    background: var(--blue);
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 9px;
    transition: 0.25s ease;
}

    .header-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(21,94,239,.2);
    }

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: var(--light);
    border-radius: 10px;
    color: var(--blue-dark);
    font-size: 18px;
}


/* =========================================================
   COMMON
========================================================= */

.section-padding {
    padding: 110px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 18px;
}

    .section-label i {
        font-size: 7px;
    }

.section-heading {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    color: var(--blue-dark);
    letter-spacing: -1.8px;
}

    .section-heading span,
    .contact-hero h1 span,
    .form-intro h2 span,
    .office-content h2 span,
    .contact-cta h2 span {
        color: var(--blue);
    }

.btn {
    min-height: 50px;
    padding: 0 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.25s ease;
}

.btn-primary {
    color: white;
    background: var(--blue);
    box-shadow: 0 12px 25px rgba(21,94,239,.16);
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 18px 32px rgba(21,94,239,.23);
    }

.btn-outline {
    color: var(--blue-dark);
    border: 1px solid var(--border);
    background: white;
}

    .btn-outline:hover {
        border-color: var(--blue);
        color: var(--blue);
    }

.btn-white {
    background: white;
    color: var(--blue);
}

    .btn-white:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(0,0,0,.12);
    }


/* =========================================================
   HERO
========================================================= */

.contact-hero {
    padding: 170px 0 100px;
    overflow: hidden;
    background: radial-gradient( circle at 85% 20%, rgba(0,184,217,.10), transparent 28% ), radial-gradient( circle at 15% 70%, rgba(108,92,231,.08), transparent 30% ), #F7FAFF;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.contact-hero-content {
    max-width: 620px;
}

.contact-hero h1 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(48px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -3.5px;
    color: var(--blue-dark);
    margin-bottom: 27px;
}

.contact-hero-content > p {
    max-width: 590px;
    font-size: 18px;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 35px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #647087;
}

    .trust-item i {
        color: var(--blue);
    }


/* Hero visual */

.contact-hero-visual {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: linear-gradient( 135deg, rgba(21,94,239,.16), rgba(0,184,217,.10), rgba(108,92,231,.12) );
    filter: blur(20px);
}

.hero-image-box {
    position: relative;
    z-index: 2;
    width: 86%;
    min-height: 430px;
    overflow: hidden;
    border-radius: 32px;
    border: 8px solid rgba(255,255,255,.85);
    box-shadow: var(--shadow-lg);
    background: white;
}

    .hero-image-box img {
        height: 100%;
        min-height: 430px;
        object-fit: cover;
    }


/* Floating cards */

.floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--border);
    border-radius: 15px;
    box-shadow: var(--shadow-md);
}

.floating-card-one {
    left: 0;
    top: 90px;
}

.floating-card-two {
    right: 0;
    bottom: 85px;
}

.floating-card strong {
    display: block;
    font-size: 13px;
    color: var(--blue-dark);
}

.floating-card small {
    display: block;
    font-size: 11px;
    color: var(--text-light);
}

.floating-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #EAF2FF;
    color: var(--blue);
}

    .floating-icon.purple {
        color: var(--purple);
        background: #F0EDFF;
    }


/* =========================================================
   CONTACT INFO
========================================================= */

.contact-info-section {
    background: white;
}

.section-heading-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
    margin-bottom: 55px;
}

    .section-heading-wrap > p {
        max-width: 480px;
        color: var(--text-light);
        font-size: 16px;
    }

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.contact-info-card {
    padding: 30px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow-sm);
    transition: .3s ease;
}

    .contact-info-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--shadow-md);
        border-color: rgba(21,94,239,.18);
    }

.contact-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--blue);
    background: #EAF2FF;
    font-size: 20px;
    margin-bottom: 25px;
}

    .contact-icon.cyan {
        color: #009DB8;
        background: #E8FBFF;
    }

    .contact-icon.purple {
        color: var(--purple);
        background: #F0EDFF;
    }

    .contact-icon.orange {
        color: var(--orange);
        background: #FFF2E9;
    }

.contact-info-card > span {
    font-size: 12px;
    color: var(--text-light);
    font-weight: 600;
}

.contact-info-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 18px;
    color: var(--blue-dark);
    margin: 5px 0 18px;
    word-break: break-word;
}

.contact-info-card a {
    font-size: 13px;
    color: var(--blue);
    font-weight: 700;
}

    .contact-info-card a i {
        margin-left: 5px;
        transition: .2s;
    }

    .contact-info-card a:hover i {
        transform: translateX(4px);
    }


/* =========================================================
   FORM
========================================================= */

.contact-form-section {
    background: var(--light);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 60px;
    padding: 65px;
    border-radius: 32px;
    background: white;
    box-shadow: var(--shadow-md);
}

.form-intro h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px, 4vw, 55px);
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--blue-dark);
    margin-bottom: 20px;
}

.form-intro > p {
    color: var(--text-light);
    max-width: 430px;
}

.form-benefits {
    display: grid;
    gap: 14px;
    margin-top: 30px;
}

    .form-benefits div {
        display: flex;
        align-items: center;
        gap: 11px;
        font-size: 14px;
        font-weight: 600;
        color: #536076;
    }

    .form-benefits i {
        width: 21px;
        height: 21px;
        display: grid;
        place-items: center;
        border-radius: 50%;
        color: var(--blue);
        background: #EAF2FF;
        font-size: 10px;
    }

.form-side-image {
    margin-top: 35px;
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-radius: 18px;
}

    .form-side-image img {
        height: 100%;
        object-fit: cover;
    }


/* Form fields */

.contact-form-box {
    padding: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--blue-dark);
        margin-bottom: 8px;
    }

.input-wrap,
.textarea-wrap {
    position: relative;
}

    .input-wrap > i,
    .textarea-wrap > i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #8994A8;
        font-size: 14px;
        pointer-events: none;
    }

    .textarea-wrap > i {
        top: 20px;
        transform: none;
    }

    .input-wrap input,
    .input-wrap select,
    .textarea-wrap textarea {
        width: 100%;
        border: 1px solid var(--border);
        border-radius: 11px;
        outline: none;
        background: #FBFCFF;
        color: var(--text);
        transition: .25s ease;
    }

    .input-wrap input,
    .input-wrap select {
        height: 52px;
        padding: 0 16px 0 45px;
    }

    .textarea-wrap textarea {
        min-height: 145px;
        resize: vertical;
        padding: 15px 16px 15px 45px;
    }

        .input-wrap input::placeholder,
        .textarea-wrap textarea::placeholder {
            color: #A5ADBB;
        }

        .input-wrap input:focus,
        .input-wrap select:focus,
        .textarea-wrap textarea:focus {
            border-color: var(--blue);
            background: white;
            box-shadow: 0 0 0 4px rgba(21,94,239,.07);
        }

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: var(--text-light);
    font-size: 11px;
    line-height: 1.5;
}

    .checkbox-label input {
        margin-top: 2px;
        accent-color: var(--blue);
    }

.form-submit {
    flex-shrink: 0;
}


/* =========================================================
   SERVICES
========================================================= */

.contact-services {
    background: white;
}

.center-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

    .center-heading .section-label {
        justify-content: center;
    }

    .center-heading p {
        max-width: 650px;
        margin: 18px auto 0;
        color: var(--text-light);
    }

.service-contact-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.service-contact-card {
    position: relative;
    padding: 32px 25px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: .3s ease;
}

    .service-contact-card:hover {
        transform: translateY(-7px);
        box-shadow: var(--shadow-md);
        border-color: rgba(21,94,239,.15);
    }

    .service-contact-card > i {
        width: 54px;
        height: 54px;
        display: grid;
        place-items: center;
        border-radius: 15px;
        background: #EAF2FF;
        color: var(--blue);
        font-size: 21px;
        margin-bottom: 24px;
    }

    .service-contact-card:nth-child(2) > i {
        color: #009DB8;
        background: #E8FBFF;
    }

    .service-contact-card:nth-child(3) > i {
        color: var(--purple);
        background: #F0EDFF;
    }

    .service-contact-card:nth-child(4) > i {
        color: var(--orange);
        background: #FFF2E9;
    }

.service-number {
    position: absolute;
    right: 20px;
    top: 18px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #B4BDCB;
}

.service-contact-card h3 {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    color: var(--blue-dark);
    margin-bottom: 12px;
}

.service-contact-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-contact-card a {
    font-size: 12px;
    color: var(--blue);
    font-weight: 700;
}

    .service-contact-card a i {
        margin-left: 5px;
    }


/* =========================================================
   OFFICE
========================================================= */

.office-section {
    background: var(--light);
}

.office-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 70px;
    align-items: center;
}

.office-map {
    position: relative;
    height: 430px;
    overflow: hidden;
    border-radius: 28px;
    background: #EAF2FF;
    box-shadow: var(--shadow-md);
    border: 5px solid #fff;
}

    .office-map iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

.map-label {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 36px);
    padding: 14px 17px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #E5EAF3;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(11, 31, 77, 0.12);
}

    .map-label > i:first-child {
        color: var(--blue);
        font-size: 20px;
    }

    .map-label strong,
    .map-label span {
        display: block;
    }

    .map-label strong {
        font-size: 13px;
        color: var(--blue-dark);
    }

    .map-label span {
        font-size: 11px;
        color: var(--text-light);
    }

    .map-label > i:last-child {
        color: var(--blue);
        font-size: 12px;
    }

@media (max-width: 600px) {
    .office-map {
        height: 330px;
    }
}
.office-content h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px,4vw,56px);
    line-height: 1.05;
    letter-spacing: -2px;
    color: var(--blue-dark);
    margin-bottom: 20px;
}

.office-content > p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
    max-width: 500px;
}

.office-details {
    margin-top: 30px;
    display: grid;
    gap: 20px;
}

.office-detail {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .office-detail > i {
        width: 43px;
        height: 43px;
        display: grid;
        place-items: center;
        border-radius: 12px;
        color: var(--blue);
        background: white;
        box-shadow: var(--shadow-sm);
    }

    .office-detail strong,
    .office-detail span {
        display: block;
    }

    .office-detail strong {
        font-size: 12px;
        color: var(--blue-dark);
    }

    .office-detail span {
        font-size: 13px;
        color: var(--text-light);
    }


/* =========================================================
   CTA
========================================================= */

.contact-cta {
    padding: 80px 0;
    background: white;
}

.contact-cta-box {
    position: relative;
    min-height: 390px;
    overflow: hidden;
    border-radius: 30px;
    padding: 65px;
    display: flex;
    align-items: center;
    background: radial-gradient( circle at 85% 20%, rgba(0,184,217,.30), transparent 28% ), linear-gradient( 120deg, #0B1F4D, #155EEF );
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 610px;
}

    .cta-content .section-label {
        color: #9EDFFF;
    }

.contact-cta h2 {
    font-family: "Space Grotesk", sans-serif;
    font-size: clamp(38px,5vw,60px);
    line-height: 1.05;
    letter-spacing: -2px;
    color: white;
    margin-bottom: 18px;
}

    .contact-cta h2 span {
        color: #9EEAFF;
        display: block;
    }

.contact-cta p {
    color: rgba(255,255,255,.78);
    margin-bottom: 28px;
    max-width: 520px;
}

.cta-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 42%;
    height: 100%;
}

    .cta-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: .85;
    }


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #071737;
    color: white;
}

.footer-top {
    padding-top: 75px;
    padding-bottom: 65px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
}

.footer-brand > p {
    color: #9CA8BD;
    font-size: 13px;
    max-width: 300px;
    margin: 20px 0;
}

.footer-brand .logo-text {
    color: white;
}

    .footer-brand .logo-text span {
        color: #75DDF2;
    }

.social-links {
    display: flex;
    gap: 9px;
}

    .social-links a {
        width: 35px;
        height: 35px;
        display: grid;
        place-items: center;
        border-radius: 9px;
        background: rgba(255,255,255,.07);
        color: #B7C1D2;
        font-size: 13px;
        transition: .25s;
    }

        .social-links a:hover {
            background: var(--blue);
            color: white;
        }

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

    .footer-column h4 {
        font-size: 13px;
        margin-bottom: 8px;
    }

    .footer-column a,
    .footer-column span {
        color: #9CA8BD;
        font-size: 12px;
    }

        .footer-column a:hover {
            color: white;
        }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 22px;
    padding-bottom: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

    .footer-bottom p,
    .footer-bottom a {
        color: #7F8BA1;
        font-size: 11px;
    }

    .footer-bottom div {
        display: flex;
        gap: 20px;
    }


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .main-nav {
        gap: 18px;
    }

    .contact-info-grid,
    .service-contact-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .contact-form-wrapper {
        padding: 45px;
    }
}


@media (max-width: 850px) {

    .header-btn {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        padding: 20px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        background: white;
        border: 1px solid var(--border);
        border-radius: 15px;
        box-shadow: var(--shadow-md);
    }

        .main-nav.active {
            display: flex;
        }

    .contact-hero-grid,
    .contact-form-wrapper,
    .office-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-content {
        max-width: 100%;
    }

    .contact-hero-visual {
        min-height: 430px;
    }

    .section-heading-wrap {
        display: block;
    }

        .section-heading-wrap > p {
            margin-top: 20px;
        }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 600px) {

    .container {
        width: min(100% - 30px, 1180px);
    }

    .section-padding {
        padding: 75px 0;
    }

    .contact-hero {
        padding: 140px 0 75px;
    }

        .contact-hero h1 {
            font-size: 47px;
            letter-spacing: -2px;
        }

    .contact-hero-content > p {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .hero-actions .btn {
            width: 100%;
        }

    .hero-trust {
        display: grid;
        gap: 12px;
    }

    .contact-hero-visual {
        min-height: 350px;
    }

    .hero-image-box {
        width: 100%;
        min-height: 330px;
    }

        .hero-image-box img {
            min-height: 330px;
        }

    .floating-card-one {
        left: -5px;
        top: 35px;
    }

    .floating-card-two {
        right: -5px;
        bottom: 35px;
    }

    .contact-info-grid,
    .service-contact-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
        border-radius: 22px;
    }

    .form-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .form-submit {
        width: 100%;
    }

    .office-map {
        height: 330px;
    }

    .contact-cta-box {
        padding: 40px 25px;
        min-height: 470px;
        align-items: flex-start;
    }

    .cta-image {
        width: 100%;
        height: 180px;
        bottom: 0;
        top: auto;
        opacity: .55;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
