/**
 * Quote Form Fix
 * These styles specifically target the quote form to ensure it displays correctly
 */

/* Container styles */
.contact-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 48px;
    align-items: start;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-intro {
    padding: 32px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.contact-intro h3 {
    font-size: 1.5rem;
    margin-bottom: 24px;
    color: #df1f26;
    position: relative;
    padding-bottom: 8px;
}

.contact-intro h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #df1f26;
}

.contact-intro p {
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-intro a {
    color: #df1f26;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-intro a:hover {
    color: #bc0c11;
    text-decoration: underline;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.benefits-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.5;
    color: #343a40;
}

.benefits-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 2px #df1f26;
}

.contact-form-wrapper {
    padding: 32px;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive layout */
@media (max-width: 992px) {
    .contact-form-container {
        grid-template-columns: 1fr;
    }
}

/* WPForms overrides */
div.wpforms-container,
div.wpforms-container-full {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

.wpforms-container .wpforms-form {
    margin: 0 !important;
    padding: 0 !important;
}

.wpforms-field {
    clear: both;
    padding: 0 !important;
    margin-bottom: 16px !important;
}

.wpforms-field-label {
    display: block;
    margin-bottom: 8px !important;
    font-weight: 500 !important;
}

.wpforms-field-medium {
    width: 100% !important;
    max-width: 100% !important;
}

.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="number"],
.wpforms-field input[type="tel"],
.wpforms-field textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 8px 16px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
}

.wpforms-submit-container {
    text-align: right !important;
    margin-top: 24px !important;
}

.wpforms-submit {
    background-color: #df1f26 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background-color 0.3s ease, transform 0.3s ease !important;
}

.wpforms-submit:hover {
    background-color: #bc0c11 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* Media query for mobile */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 24px 16px;
    }
}