﻿html, body {
    height: 100%;
    font-size: 1.2rem;
}

.contact-title {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 2px solid #ccc;
    padding-bottom: 0.5rem;
}

.contact-intro {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin-bottom: 2rem;
}

.contact-section-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    border-left: 5px solid #8e9e95;
    padding-left: 0.75rem;
}

.contact-details p {
    margin: 0.3rem 0;
    font-size: 1.1rem;
}

#contact-form {
    max-width: 1000px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1rem;
}

    #contact-form label {
        font-weight: 600;
        margin-bottom: 0.3rem;
        display: block;
    }

.project-row {
    grid-column: 1 / -1;
    display: block;
    margin-bottom: 1.5rem;
}

    /* Fix the prompt label */
    .project-row > label {
        display: block !important;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    #contact-form > div > label{
        margin-bottom: 0.3rem;
    }

    #contact-form input,
    #contact-form select,
    #contact-form textarea {
        width: 100%;
        padding: 0.6rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        box-sizing: border-box;
    }

#project {
    width: 100%;
}

    /* Checkbox container */
    .project-type-options {
        display: flex;
        flex-direction: column;
        gap: 0.4rem;
    }

    /* Checkbox rows */
    .project-type-options label {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        width: fit-content;
        gap: 0.35rem;
        font-size: 1rem;
        cursor: pointer;
        line-height: 1.1
    }

    .project-type-options input[type="checkbox"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
        margin: 0;
        align-self: center;
    }

    #contact-form textarea {
        grid-column: 1 / -1; /* makes the message box span all columns */
        height: 200px;
        resize: vertical;
    }

    #contact-form button {
        grid-column: 1 / -1; /* button spans full width */
        margin-top: 1rem;
        padding: 0.75rem 1.5rem;
        background-color: #4a6fa5;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 1.1rem;
        cursor: pointer;
        transition: background-color 0.2s ease;
    }

        #contact-form button:hover {
            background-color: #3a5a85;
        }

.project-type-options label {
    display: flex !important;
}


.privacy-note {
    grid-column: 1 / -1;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
}
.privacy-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    font-style: italic;
    color: #555;
}

@media (max-width: 768px) {
    #contact-form {
        grid-template-columns: 1fr; /* collapse to one column */
        padding: 1rem;
        max-width: 100%;
        box-sizing: border-box;
    }
}