.center-column {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.center-column h1 {
    margin-top: 0;
}

.contact-container {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex: 1;
}

.form-group label {
    display: flex;
    flex-direction: column;
}

.form-group label input,
.form-group label textarea {
    width: 100%;
    box-sizing: border-box;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    accent-color: var(--primary-color);
}

.form-group label:nth-child(3) {
    /* Email spans full width */
    grid-column: 1 / -1;
}

.form-group label:nth-child(4) {
    /* Message spans full width */
    grid-column: 1 / -1;
}

.form-group button {
    grid-column: 2;
    justify-self: end;
    margin-top: 1rem;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    border-radius: 9999px;
    cursor: pointer;
    font-weight: 400;
    transition: all 0.3s ease;
}

.form-group button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.contact-container img {
    flex: 0 0 auto;
    max-width: 280px;
    height: auto;
}

.form-message {
    max-width: 1000px;
    margin: 0 auto 2rem;
    padding: 1rem;
    border-radius: 4px;
    font-weight: 500;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.form-message p {
    margin: 0.5rem 0;
    font-size: 1rem;
}

.form-message p:first-child {
    margin-top: 0;
}

.form-message p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1000px) {
    .center-column {
        padding: 1rem;
        box-sizing: border-box;
    }

    .contact-container {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        align-items: center;
    }

    .contact-container img {
        max-width: 100%;
    }

    .form-group {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .form-group label:nth-child(3),
    .form-group label:nth-child(4) {
        grid-column: 1;
    }

    .form-group button {
        grid-column: 1;
        justify-self: stretch;
    }

    .form-group input {
        width: 100%;
    }
}

.content .split2 p, .content .split2 h1, .content .split2 h2{
    text-align: center;
}

.content .split2 {
    align-items: stretch;
}

.content .split2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
