.contact-form {
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgb(0 0 0 / 0.1);
    padding: clamp(20px, 5vw, 40px) clamp(15px, 4vw, 20px);
    margin: 10vh auto;
    max-width: 500px;
    width: 90vw;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.contact-form h1 {
    color: #980000;
    text-align: center;
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 95%;
    padding: 12px 10px;
    border: 2px solid #980000;
    margin: 8px 0;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f8f8f8;
    min-height: 44px;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.center-button {
    margin: 25px auto 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: fit-content;
    height: 44px;
    background-color: #980000;
    padding: 0 15px;
    border: none;
    transition: all 0.3s ease;
}

.center-button:hover {
    transform: scale(1.05);
}

.center-button::before,
.center-button::after {
    content: "";
    position: absolute;
    top: 0;
    width: 0;
    height: 0;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

.center-button::before {
    left: 0;
    transform: translateX(-100%);
    border-right: 22px solid #980000;
}

.center-button::after {
    right: 0;
    transform: translateX(100%);
    border-left: 22px solid #980000;
}

.center-button button {
    all: unset;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
    padding: 10px 5px;
    min-width: 100px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #980000aa;
    background-color: #fff;
}

@media (max-width: 360px) {
    .contact-form {
        margin: 5vh auto;
        width: 95vw;
    }

    .center-button {
        width: 100%;
    }

    .center-button button {
        width: 100%;
    }
}