*, *::before, *::after {
    box-sizing: border-box;
}

.contactContainer {
    max-width: 700px;
    width: 100%;
    margin: 100px auto;
    padding: 40px 30px;
    background-color: #fff;
    border: 1px solid #ececec;
    border-radius: 12px;
    text-align: center;
}

.contactHeader {
    margin-bottom: 30px;
}

.contactSubtitle {
    color: #6b7280;
    font-size: 16px;
    margin-top: 10px;
}

.contactForm {
    display: flex;
    flex-direction: column;
    text-align: left;
    width: 100%;
}

.contactForm label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #111827;
}

.contactForm input,
.contactForm textarea {
    padding: 12px 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.2s ease;
    width: 100%;
    max-width: 100%;
}

.contactForm textarea {
    resize: vertical;
}

.contactForm .hor-flex {
    display: flex;
    gap: 15px;
    width: 100%;
}

.contactForm .hor-flex label {
    flex: 1;
}

.contactForm .hor-flex label input {
    width: 100%;
}

.contactForm input:focus,
.contactForm textarea:focus {
    border-color: #d6482c;
    outline: none;
}

.contactForm input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkboxRow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.checkboxRow a {
    color: #d6482c;
    text-decoration: none;
    font-weight: 500;
}

.checkboxRow a:hover {
    text-decoration: underline;
}

.contactButton {
    background-color: #d6482c;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
}

.contactButton:hover {
    background-color: #b13a24;
    transform: translateY(-2px);
}

.statusMessage {
    margin-top: 20px;
    font-weight: 500;
    font-size: 15px;
    color: #d6482c;
}


/* ================= RESPONSIVE MEDIA QUERIES ================= */

@media screen and (max-width: 768px) {
    .contactContainer {
        margin: 60px 15px;
        padding: 30px 20px;
        max-width: calc(100% - 30px);
    }
}

@media screen and (max-width: 600px) {
    .contactContainer {
        margin: 40px 12px;
        padding: 25px 15px;
        max-width: calc(100% - 24px);
    }

    .contactForm input,
    .contactForm textarea {
        font-size: 14px;
        padding: 10px 12px;
        margin-bottom: 15px;
    }

    .contactButton {
        font-size: 15px;
        padding: 12px;
    }

    .contactForm .hor-flex {
        flex-direction: column;
        gap: 0;
    }

    .checkboxRow {
        font-size: 13px;
        margin-bottom: 20px;
    }
}