﻿html, body {
    margin: 0;
    min-height: 100%;
}

body {
    position: relative;
    background-color: #000;
}

/* nav stays pinned top right */
.topNav {
    position: absolute;
    top: 20px;
    right: 24px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

    .topNav a {
        text-decoration: none;
        color: #005681;
        font-family: Arial, sans-serif;
        font-size: 14px;
        font-weight: 500;
    }

.contactHeader {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 30px auto;
    display: flex;
    justify-content: center;
}

    .contactHeader img {
        display: block;
        width: min(60vw, 400px);
        height: auto;
        filter: drop-shadow(0 0 4px rgba(0, 86, 129, .3)) drop-shadow(0 0 10px rgba(0, 86, 129, 0.4)) drop-shadow(0 0 20px rgba(0, 86, 129, 0.3));
    }


/* page content gets its own vertical space */

.pageContent {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 100px 24px 40px;
    box-sizing: border-box;
}

.contactContainer {
    width: 100%;
    max-width: 700px;
}

/* rows */
.formRow {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
}

.label {
    width: 160px;
    padding-top: 6px;
    font-weight: 500;
    color: #005681;
    font-family: Arial, sans-serif;
}

.field {
    flex: 1;
}

    .field input,
    .field textarea {
        width: 100%;
        padding: 8px;
        font-size: 14px;
        box-sizing: border-box;
        font-family: Arial, sans-serif;
    }

    .field textarea {
        min-height: 120px;
        resize: vertical;
        font-family: Arial, sans-serif;
    }

#contactSendBtn {
    padding: 8px 16px;
    cursor: pointer;
    background-color: #005681;
    color: #ffffff;
    
}

@media (max-width: 600px) {
    .topNav {
        top: 14px;
        right: 16px;
        gap: 16px;
    }

        .topNav a {
            font-size: 16px;
            font-weight: 600;
        }


    .pageContent {
        padding: 70px 16px 30px;
    }


    .contactHeader {
        margin-bottom: 20px;
    }

        .contactHeader img {
            width: min(75vw, 320px);
        }


    .formRow {
        flex-direction: column;
    }

    .label {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .field input,
    .field textarea {
        font-size: 16px; /* 👈 critical for mobile usability */
        padding: 12px;
    }

    #contactSendBtn {
        font-size: 16px;
        padding: 12px 20px;
    }

}


