/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* Container */
.contact-form-container {
    max-width: 600px;
    background-color: #fff;
    margin: 40px auto;
    padding: 30px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    text-align: center;
    color: #790502;
    margin-bottom: 25px;
}

/* Form Fields */
form label {
    display: block;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95em;
}

form input,
form select {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    background-color: #fefefe;
    transition: border 0.3s ease;
}

form input:focus,
form select:focus {
    border-color: #c11520;
    outline: none;
}

/* Submit Button */
form button {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: #c11520;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    margin-top: 25px;
    font-size: 1em;
    transition: background 0.3s, transform 0.3s;
    cursor: pointer;
}

form button:hover {
    background-color: #a10f18;
    transform: translateY(-2px);
}

.form-buttons {
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 25px;
    align-items: center;
}

form button[type="submit"],
.back-home-btn {
    display: inline-block;
    min-width: 140px;
    padding: 12px 28px;
    font-size: 1em;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.2s, border 0.2s, transform 0.3s;
    box-shadow: 0 2px 8px rgba(193,21,32,0.04);
    border: none;
}

form button[type="submit"] {
    background-color: #c11520;
    color: white;
}

form button[type="submit"]:hover {
    background-color: #a10f18;
    transform: translateY(-2px);
}

.back-home-btn {
    margin-top: 12px;
    background: #fff;
    color: #c11520;
    border: 2px solid #c11520;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    box-shadow: 0 2px 8px rgba(193,21,32,0.04);
    margin-left: 0;
    min-width: 140px;
    display: inline-block;
}

.back-home-btn:hover {
    background: #fbeaec;
    color: #a10f18;
    border-color: #a10f18;
}

/* Responsive */
@media (max-width: 500px) {
    .contact-form-container {
        padding: 20px 15px;
    }

    form button {
        font-size: 0.95em;
        padding: 10px;
    }

    .form-buttons {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    .back-home-btn {
        margin-left: 0;
    }
}
