/* === BANNER STYLING === */
.banner {
    width: 100%;
    height: 250px;
    background: url('/carinspection/cin1.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
    margin-top: 10px;
}

.banner h1 {
    font-size: 36px;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    .banner {
        height: 150px;
    }

    .banner h1 {
        font-size: 28px;
        padding: 10px 20px;
    }
}

/* === FORM CONTAINER === */
.contact-form {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 20px 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    margin-bottom: 25px;
}

/* === FORM ELEMENTS === */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    height: 90px;
}

/* === MAIN SUBMIT BUTTON === */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #ff9800;
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background: #e68900;
}

/* === ADDITIONAL BUTTONS (Add More Fields) === */
.add-button {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin-top: 10px;
    font-size: 16px;
}

.add-button:hover {
    background-color: #e67e22;
}

/* === FLEX ENTRY FOR MULTI-FIELDS (Phone/Email) === */
.phone-entry,
.email-entry,
.landline-entry {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.phone-entry select,
.phone-entry input,
.email-entry input,
.landline-entry input {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* === Responsive Flex Wrap Fix for Mobile === */
@media (max-width: 480px) {
    .phone-entry,
    .email-entry,
    .landline-entry {
        flex-direction: column;
    }

    .phone-entry select,
    .phone-entry input {
        width: 100%;
    }
}
