.contact_page {
    min-height: calc(100vh - 200px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
}

.contact_section {
    width: 100%;
    max-width: 1200px;

    display: grid;
    grid-template-columns: 220px minmax(0, 900px) 220px;
    align-items: center;
    gap: 30px;
}

.contact_envelope {
    position: relative;
    width: 220px;
    height: 220px;
}

/* Delay loading message initially (see GLB Viewer.js) */
.viewer-loading {
    position: absolute;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    background: #f8fafc;
    color: #64748b;

    font-size: 1rem;
    font-weight: 500;

    z-index: 10;
}

.contact_envelope canvas {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* END NEW */

.contact_content {
    background-color: #f2f2f2;
    padding: 60px 40px;
    border-radius: 8px;
    text-align: center;
}

.contact_content h1 {
    color: #002554;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.contact_content p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 15px auto;
}

.contact_button {
    display: inline-block;
    margin-top: 25px;
    padding: 15px 35px;

    background-color: #01a2e0;
    color: #ffffff;

    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;

    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.contact_button:hover {
    background-color: #002554;
}

.contact_email {
    margin-top: 20px !important;
    font-size: 1.05rem !important;
    color: #555 !important;
}

/* NEW 1 */
@media (max-width: 900px) {

    .contact_section {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .contact_envelope {
        width: 180px;
        height: 180px;
    }

    .envelope_left {
        order: -1;
    }

    .envelope_right {
        order: 1;
    }
}
/* END NEW */

@media (max-width: 600px) {

    .contact_page {
        padding: 40px 15px;
    }

    .contact_content {
        padding: 40px 25px;
    }

    .contact_content h1 {
        font-size: 2rem;
    }

    .contact_content p {
        font-size: 1rem;
    }

    .contact_button {
        width: 80%;
    }

}