/* ==========================================================================
   Request Quote Section Styles in all pages except contact
   ========================================================================== */

.quote-section {
    position: relative;
    background-color: #f3efe9;
    background-image: url('../webpagedesignimages/quotepic.png');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 70px 20px;
}

.quote-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.quote-container h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #333333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.call-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    color: #333333;
    margin-bottom: 25px;
}

.call-text strong {
    font-weight: 700;
}

.call-text a {
    color: #333333;
    text-decoration: none;
    font-weight: 700;
    transition: opacity 0.2s ease;
}

.call-text a:hover {
    text-decoration: underline;
    opacity: 0.75;
}

.quote-form {
    text-align: left;
}

.form-group {
    margin-bottom: 15px;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.quote-form label {
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #444444;
    margin-bottom: 5px;
}

.quote-form label span.req {
    color: #c41e3a;
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    background-color: #ffffff;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #333333;
    border-radius: 2px;
    outline: none;
    transition: border-color 0.2s ease;
}

.quote-form input[type="text"]:focus,
.quote-form input[type="email"]:focus,
.quote-form input[type="tel"]:focus,
.quote-form textarea:focus {
    border-color: #0b2545;
    box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.25); /* clearer focus ring for keyboard users */
}

.quote-form textarea {
    height: 110px;
    resize: vertical;
}

.g-recaptcha {
    margin-bottom: 20px;
}

.btn-submit {
    background-color: #F1F1F1;
    color: #666666;
    border: none;
    padding: 12px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    transition: background-color 0.2s ease, transform 0.1s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn-submit:hover {
    background-color: #e2e2e2;
    transform: translateY(-1px);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    background-color: #e0e0e0;
    color: #999999;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   Form Submission Status Banner
   (A stray "}" used to sit just above this comment. It made the browser
   throw away the .form-status rule below, so the messages had no styling.)
   ========================================================================== */

.form-status {
    display: none;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;
    transition: opacity 0.3s ease;
}

.form-status i {
    margin-right: 8px;
    font-size: 16px;
}

.form-status.success {
    background-color: #e6f4ea;
    color: #137333;
    border: 1px solid #ceead6;
}

.form-status.error {
    background-color: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

.form-status.warning {
    background-color: #fef7e0;
    color: #8a4b00; /* a little darker than before so it is easier to read */
    border: 1px solid #fae29c;
}

@media (max-width: 768px) {
    .quote-section {
        padding: 40px 15px;
        background-position: top center;
        background-size: 100% auto;
    }
    .quote-container {
        max-width: 100%;
    }
    .quote-container h2 {
        font-size: 24px;
    }
    .call-text {
        font-size: 16px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}