/* =========================================================
   YANTRIC THINGS — CONTACT PAGE
   CLEAN VERSION
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');


/* =========================================================
   RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: #07172f;
    background: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: "Inter", sans-serif;
}


/* =========================================================
   HEADER
   ========================================================= */

.contact-header {
    width: 100%;
    height: 80px;
    background: #07172f;
    border: none;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1530px;
    height: 100%;
    margin: 0 auto;
    padding: 0 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ---------- BRAND ---------- */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;

    white-space: nowrap;
    text-decoration: none;
}

.brand img {
    width: 38px;
    height: 38px;
    object-fit: contain;
}

.brand-text {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;

    white-space: nowrap;
    line-height: 1;
}

.brand-text strong {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1.1px;
    color: #ffffff;
}

.brand-text em {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 1.1px;
    color: #1681ff;
}


/* ---------- NAVIGATION ---------- */

.contact-nav {
    display: flex;
    align-items: center;
    gap: 42px;
}

.contact-nav a {
    position: relative;

    padding: 30px 0;

    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;

    color: rgba(255, 255, 255, 0.78);

    transition: color 0.2s ease;
}

.contact-nav a:hover {
    color: #ffffff;
}

.contact-nav a.active {
    color: #1681ff;
}

.contact-nav a.active::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 21px;

    height: 2px;
    background: #1681ff;
}


/* ---------- MOBILE BUTTON ---------- */

.nav-toggle {
    display: none;

    width: 40px;
    height: 40px;

    padding: 7px;

    border: none;
    background: transparent;

    cursor: pointer;

    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;

    width: 23px;
    height: 2px;

    background: #ffffff;
    border-radius: 2px;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}


/* =========================================================
   HERO
   ========================================================= */

.contact-hero {
    position: relative;

    min-height: 520px;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 80% 40%,
            rgba(0, 102, 255, 0.24),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 90%,
            rgba(0, 102, 255, 0.12),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #06152d 0%,
            #0a1d3d 55%,
            #06265a 100%
        );

    color: #ffffff;
}


/* ---------- TECH GRID ---------- */

.contact-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size: 55px 55px;

    pointer-events: none;
}


/* ---------- HERO CONTAINER ---------- */

.hero-container {
    position: relative;
    z-index: 2;

    max-width: 1280px;

    margin: 0 auto;
    padding: 0 32px;
}


/* ---------- BREADCRUMB ---------- */

.breadcrumb {
    padding-top: 42px;

    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;
}

.breadcrumb a {
    color: #ffffff;
}

.breadcrumb a:hover {
    color: #4d9cff;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.45);
}


/* ---------- HERO CONTENT ---------- */

.hero-content {
    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 80px;
}

.hero-text {
    max-width: 650px;
    padding-bottom: 35px;
}

.hero-eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;

    color: #4d9cff;
}

.hero-text h1 {
    margin-bottom: 24px;

    font-size: clamp(48px, 6vw, 76px);
    font-weight: 700;

    line-height: 1.05;
    letter-spacing: -2.5px;

    color: #ffffff;
}

.hero-text h1 span {
    color: #4d9cff;
}

.hero-text p {
    max-width: 610px;

    font-size: 17px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.72);
}


/* ---------- HERO DECORATION ---------- */

.hero-decoration {
    position: relative;

    width: 420px;
    height: 360px;

    flex-shrink: 0;
}

.tech-circle {
    position: absolute;

    border: 1px solid rgba(77, 156, 255, 0.32);
    border-radius: 50%;
}

.circle-one {
    width: 300px;
    height: 300px;

    top: 25px;
    left: 55px;
}

.circle-two {
    width: 210px;
    height: 210px;

    top: 70px;
    left: 100px;

    border-color: rgba(77, 156, 255, 0.48);
}

.tech-line {
    position: absolute;

    height: 1px;

    background: rgba(77, 156, 255, 0.55);

    transform-origin: left center;
}

.line-one {
    width: 280px;

    top: 178px;
    left: 65px;

    transform: rotate(28deg);
}

.line-two {
    width: 260px;

    top: 205px;
    left: 105px;

    transform: rotate(-32deg);
}

.tech-dot {
    position: absolute;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #4d9cff;

    box-shadow:
        0 0 0 6px rgba(77, 156, 255, 0.08),
        0 0 22px rgba(77, 156, 255, 0.7);
}

.dot-one {
    top: 68px;
    right: 35px;
}

.dot-two {
    bottom: 65px;
    left: 75px;
}


/* =========================================================
   QUICK CONTACT CARDS
   ========================================================= */

.quick-contact {
    padding: 22px 0 38px;
    background: #ffffff;
}

.quick-contact-container {
    max-width: 1180px;

    margin: 0 auto;
    padding: 0 32px;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 14px;
}

.quick-card {
    min-height: 205px;

    padding: 22px 18px;

    display: flex;
    flex-direction: column;

    border: 1px solid #dfe6ee;
    border-radius: 8px;

    background: #ffffff;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.quick-card:hover {
    transform: translateY(-3px);

    border-color: #b9d5ff;

    box-shadow:
        0 10px 25px rgba(7, 23, 47, 0.07);
}

.quick-card-icon {
    width: 38px;
    height: 38px;

    margin-bottom: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #eaf3ff;
    color: #0066ff;

    font-size: 18px;
}

.quick-card-content h3 {
    margin-bottom: 7px;

    font-size: 14px;
    font-weight: 700;

    color: #07172f;
}

.quick-card-content a,
.quick-card-content strong {
    display: block;

    margin-bottom: 14px;

    font-size: 13px;
    font-weight: 700;

    color: #0066ff;
}

.quick-card-content a:hover {
    text-decoration: underline;
}

.quick-card-content p {
    margin-top: auto;

    font-size: 12px;
    line-height: 1.65;

    color: #475569;
}


/* =========================================================
   MAIN CONTACT AREA
   ========================================================= */

.main-contact {
    padding: 55px 0 100px;
    background: #ffffff;
}

.main-contact-container {
    max-width: 1180px;

    margin: 0 auto;
    padding: 0 32px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.65fr)
        minmax(300px, 0.85fr);

    gap: 28px;

    align-items: stretch;
}


/* =========================================================
   CONTACT FORM
   ========================================================= */

.contact-form-panel {
    padding: 38px 42px;

    border: 1px solid #dfe6ee;
    border-radius: 9px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(7, 23, 47, 0.04);
}

.section-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;

    color: #0066ff;
}

.contact-form-panel h2 {
    margin-bottom: 10px;

    font-size: 30px;
    font-weight: 750;

    line-height: 1.2;
    letter-spacing: -0.8px;

    color: #07172f;
}

.form-description {
    max-width: 650px;

    margin-bottom: 30px;

    font-size: 13px;
    line-height: 1.7;

    color: #64748b;
}

.professional-form {
    display: flex;
    flex-direction: column;

    gap: 19px;
}

.professional-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 17px;
}

.professional-form label {
    display: flex;
    flex-direction: column;

    gap: 7px;

    font-size: 11px;
    font-weight: 700;

    color: #1e293b;
}

.professional-form label > span {
    color: #0066ff;
}

.professional-form input,
.professional-form select,
.professional-form textarea {
    width: 100%;

    border: 1px solid #d8e1eb;
    border-radius: 6px;

    background: #ffffff;
    color: #07172f;

    font-family: "Inter", sans-serif;
    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.professional-form input,
.professional-form select {
    height: 44px;
    padding: 0 13px;
}

.professional-form textarea {
    min-height: 105px;

    padding: 12px 13px;

    resize: vertical;
}

.professional-form input::placeholder,
.professional-form textarea::placeholder {
    color: #9aa8b8;
}

.professional-form select {
    color: #64748b;
    cursor: pointer;
}

.professional-form input:focus,
.professional-form select:focus,
.professional-form textarea:focus {
    border-color: #0066ff;

    box-shadow:
        0 0 0 3px rgba(0, 102, 255, 0.08);
}


/* ---------- FORM BOTTOM ---------- */

.form-bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-top: 3px;
}

.terms-check {
    display: flex !important;
    flex-direction: row !important;

    align-items: center;

    gap: 8px;

    font-size: 10px !important;
    font-weight: 500 !important;

    color: #64748b !important;

    cursor: pointer;
}

.terms-check input {
    width: 15px !important;
    height: 15px !important;

    margin: 0;

    accent-color: #0066ff;

    cursor: pointer;
}


/* ---------- SUBMIT ---------- */

.professional-submit {
    min-width: 145px;
    height: 44px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border: none;
    border-radius: 6px;

    background: #0066ff;
    color: #ffffff;

    font-family: "Inter", sans-serif;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.5px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.professional-submit span {
    font-size: 17px;
}

.professional-submit:hover {
    background: #0054d6;

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 102, 255, 0.2);
}


/* =========================================================
   LET'S CONNECT CARD
   ========================================================= */

.connect-card {
    position: relative;

    overflow: hidden;

    padding: 34px 30px;

    border-radius: 9px;

    background:
        radial-gradient(
            circle at 100% 100%,
            rgba(0, 102, 255, 0.22),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #06152d,
            #071f45
        );

    color: #ffffff;

    box-shadow:
        0 10px 30px rgba(7, 23, 47, 0.12);
}

.connect-card::after {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    right: -95px;
    bottom: -85px;

    border: 1px solid rgba(77, 156, 255, 0.18);
    border-radius: 50%;

    pointer-events: none;
}

.connect-logo {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;

    gap: 10px;

    margin-bottom: 48px;
}

.connect-logo img {
    width: 37px !important;
    height: 37px !important;

    max-width: 37px !important;
    max-height: 37px !important;

    object-fit: contain;

    display: block;
}

.connect-logo span {
    font-size: 15px;
    font-weight: 800;

    letter-spacing: 0.5px;

    color: #ffffff;
}

.connect-logo b {
    color: #1681ff;
}

.connect-card h3 {
    position: relative;
    z-index: 2;

    margin-bottom: 12px;

    font-size: 25px;
    font-weight: 700;

    line-height: 1.2;
    letter-spacing: -0.5px;

    color: #ffffff;
}

.connect-description {
    position: relative;
    z-index: 2;

    max-width: 280px;

    margin-bottom: 24px;

    font-size: 12px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.72);
}

.connect-line {
    width: 100%;
    height: 1px;

    margin-bottom: 20px;

    background: rgba(255, 255, 255, 0.22);
}

.connect-item {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 19px;
}

.connect-icon {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(0, 102, 255, 0.18);

    color: #4d9cff;

    font-size: 15px;
}

.connect-item small {
    display: block;

    margin-bottom: 4px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.5px;

    color: rgba(255, 255, 255, 0.65);
}

.connect-item a,
.connect-item strong {
    display: block;

    font-size: 11px;
    font-weight: 600;

    line-height: 1.6;

    color: #ffffff;
}

.connect-item a:hover {
    color: #4d9cff;
}


/* ---------- CONNECT BUTTON ---------- */

.connect-button {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 42px;

    margin-top: 10px;
    padding: 0 15px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border: 1px solid #1681ff;
    border-radius: 6px;

    background: transparent;

    color: #ffffff;

    font-size: 11px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.connect-button span {
    font-size: 17px;
    color: #4d9cff;
}

.connect-button:hover {
    background: rgba(0, 102, 255, 0.14);
    border-color: #4d9cff;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: #06152d;
    color: #ffffff;
}


/* ---------- FOOTER MAIN ---------- */

.footer-container {
    max-width: 1280px;

    margin: 0 auto;

    padding: 65px 32px 55px;

    display: grid;

    /* Logo + 5 columns = 6 columns */
    grid-template-columns:
        1.35fr
        repeat(5, 1fr);

    gap: 35px;

    align-items: start;
}


/* ---------- FOOTER BRAND ---------- */

.footer-brand {
    padding-right: 15px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 20px;
}

.footer-logo img {
    width: 42px;
    height: 42px;

    object-fit: contain;
}

.footer-logo span {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.footer-logo strong {
    font-size: 17px;
    font-weight: 800;

    letter-spacing: 1.5px;

    color: #ffffff;
}

.footer-logo em {
    margin-top: 5px;

    font-size: 9px;
    font-style: normal;
    font-weight: 600;

    letter-spacing: 3px;

    color: #1681ff;
}

.footer-brand > p {
    max-width: 280px;

    font-size: 12px;
    line-height: 1.8;

    color: rgba(255, 255, 255, 0.58);
}


/* ---------- FOOTER COLUMNS ---------- */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
}

.footer-column h4 {
    margin-bottom: 20px;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: 1.4px;

    color: #ffffff;
}

.footer-column a,
.footer-column p {
    margin-bottom: 11px;

    font-size: 12px;
    line-height: 1.6;

    color: rgba(255, 255, 255, 0.58);

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #4d9cff;
}

.footer-column p {
    margin-top: 0;
}


/* ---------- FOOTER BOTTOM ---------- */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-bottom-container {
    max-width: 1280px;

    margin: 0 auto;

    padding: 20px 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.footer-bottom-container p {
    font-size: 11px;

    color: rgba(255, 255, 255, 0.45);
}

.footer-links {
    display: flex;
    align-items: center;

    gap: 25px;
}

.footer-links a {
    font-size: 11px;

    color: rgba(255, 255, 255, 0.45);

    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #4d9cff;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .header-container {
        padding: 0 32px;
    }

    .contact-nav {
        gap: 28px;
    }

    .hero-content {
        gap: 40px;
    }

    .hero-decoration {
        width: 350px;
        transform: scale(0.9);
        transform-origin: center right;
    }

    .footer-container {
        grid-template-columns:
            1.4fr
            repeat(3, 1fr);

        gap: 35px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    /* HEADER */

    .contact-header {
        height: 72px;
    }

    .header-container {
        padding: 0 20px;
    }

    .brand {
        gap: 9px;
    }

    .brand img {
        width: 36px;
        height: 36px;
    }

    .brand-text strong,
    .brand-text em {
        font-size: 14px;
        letter-spacing: 0.9px;
    }

    .contact-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }


    /* MOBILE NAV */

    .contact-nav.open {
        display: flex;

        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        padding: 10px 20px 15px;

        flex-direction: column;
        align-items: flex-start;

        gap: 0;

        background: #07172f;

        border-bottom: 1px solid rgba(255, 255, 255, 0.10);

        box-shadow:
            0 12px 30px rgba(7, 23, 47, 0.20);

        z-index: 999;
    }

    .contact-nav.open a {
        width: 100%;

        padding: 14px 0;

        border-bottom:
            1px solid rgba(255, 255, 255, 0.08);

        color: rgba(255, 255, 255, 0.80);
    }

    .contact-nav.open a:last-child {
        border-bottom: none;
    }

    .contact-nav.open a.active {
        color: #1681ff;
    }

    .contact-nav.open a.active::after {
        display: none;
    }


    /* HAMBURGER → X */

    .nav-toggle.open span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }


    /* HERO */

    .contact-hero {
        min-height: 600px;
    }

    .hero-container {
        padding: 0 20px;
    }

    .breadcrumb {
        padding-top: 30px;
    }

    .hero-content {
        min-height: 500px;

        display: block;

        padding-top: 70px;
    }

    .hero-text {
        padding-bottom: 0;
    }

    .hero-text h1 {
        font-size: 48px;
        letter-spacing: -1.8px;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-decoration {
        position: absolute;

        width: 300px;
        height: 280px;

        right: -80px;
        bottom: -35px;

        opacity: 0.55;

        transform: scale(0.75);
    }


    /* QUICK CARDS */

    .quick-contact {
        padding: 10px 0 25px;
    }

    .quick-contact-container {
        grid-template-columns: 1fr;

        padding: 0 20px;
    }

    .quick-card {
        min-height: auto;
    }


    /* MAIN CONTACT */

    .main-contact {
        padding: 35px 0 70px;
    }

    .main-contact-container {
        grid-template-columns: 1fr;

        padding: 0 20px;

        gap: 25px;
    }

    .contact-form-panel {
        padding: 28px 20px;
    }

    .contact-form-panel h2 {
        font-size: 27px;
    }

    .professional-row {
        grid-template-columns: 1fr;

        gap: 19px;
    }

    .form-bottom {
        flex-direction: column;

        align-items: stretch;
    }

    .professional-submit {
        width: 100%;
    }

    .connect-card {
        padding: 30px 23px;
    }

    .connect-logo {
        margin-bottom: 38px;
    }


    /* FOOTER */

    .footer-container {
        padding: 50px 20px 40px;

        grid-template-columns: 1fr 1fr;

        gap: 35px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand > p {
        max-width: 100%;
    }

    .footer-bottom-container {
        padding: 18px 20px;

        flex-direction: column;

        align-items: flex-start;

        gap: 12px;
    }

    .footer-links {
        gap: 18px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 450px) {

    .header-container {
        padding: 0 16px;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .brand-text strong,
    .brand-text em {
        font-size: 13px;
        letter-spacing: 0.7px;
    }

    .hero-container {
        padding: 0 18px;
    }

    .hero-content {
        padding-top: 60px;
    }

    .hero-text h1 {
        font-size: 42px;
    }

    .hero-eyebrow {
        font-size: 11px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}