/* Custom Contact Form Styles */

.get-quote-form {
    background: #ffffff !important;
    padding: 35px !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.get-quote-form:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
}

.get-quote-form input,
.get-quote-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-top: 5px;
    border: 2px solid #f0f0f0;
    border-radius: 10px;
    background-color: #fafafa;
    transition: all 0.3s ease;
    outline: none;
    font-size: 14px;
    color: #333;
}

.get-quote-form input:focus,
.get-quote-form textarea:focus {
    border-color: #4f7fff;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(79, 127, 255, 0.1);
}

.get-quote-form label {
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    display: block;
    transition: color 0.3s ease;
}

.get-quote-form p:focus-within label {
    color: #4f7fff;
}

.get-quote-form input[type="submit"] {
    background: linear-gradient(135deg, #4f7fff 0%, #3a5edb 100%);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(79, 127, 255, 0.3);
    margin-top: 10px;
}

.get-quote-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #3a5edb 0%, #2c47a3 100%);
    box-shadow: 0 6px 20px rgba(79, 127, 255, 0.4);
    transform: translateY(-1px);
}

.get-quote-form input[type="submit"]:active {
    transform: translateY(1px);
}

/* Floating Label Placeholder Animations */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

/* Success/Error Message Styling */
#contact_msg {
    border-radius: 12px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 20px auto;
    max-width: 1140px;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.alert-success {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-left: 5px solid #28a745 !important;
}

.alert-danger {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-left: 5px solid #dc3545 !important;
}

.mobile-quote-header h4 {
    background: linear-gradient(90deg, #4f7fff, #3a5edb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.quote-title p {
    color: #ffffff !important;
}