/* Contact Form Container */
.lwp-contact-form {
    max-width: 700px;
    margin: 40px auto;
    padding: 35px;
    border-radius: 15px;
    background: linear-gradient(145deg, #74f5fa, #84b1fa);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    font-family: 'Segoe UI', sans-serif;
    color: #333;
}

.lwp-contact-form h2 {
    text-align: center;
    color: #0073aa;
    margin-bottom: 10px;
    font-size: 28px;
    font-weight: bold;
}

.lwp-contact-form .form-intro {
    text-align: center;
    font-size: 15px;
    margin-bottom: 25px;
    color: #666;
}

/* Form Layout */
.lwp-contact-form .form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.lwp-contact-form .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

/* Labels */
.lwp-contact-form label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    display: block;
}

/* Inputs & Textarea */
.lwp-contact-form input, 
.lwp-contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    background: #fafafa;
    transition: all 0.3s ease;
}

.lwp-contact-form input:focus, 
.lwp-contact-form textarea:focus {
    border-color: #0073aa;
    background: #fff;
    box-shadow: 0 0 6px rgba(0,115,170,0.3);
    outline: none;
}

/* Button */
.lwp-contact-form button {
    width: 100%;
    margin-top: 15px;
    padding: 14px;
    background: linear-gradient(135deg, #0073aa, #005177);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lwp-contact-form button:hover {
    background: linear-gradient(135deg, #005177, #003f5c);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

/* Small Text */
.lwp-contact-form small {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

/* Success Message */
.lwp-contact-form.success-message {
    color: #1d7c32;
    background: #e9f9ec;
    padding: 15px 20px;
    border: 1px solid #c3eccb;
    border-radius: 8px;
    margin-top: 15px;
    text-align: left;       /* left-align text */
    font-weight: 500;
    line-height: 1.6;       /* improve readability */
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
}


/* Responsive */
@media (max-width: 600px) {
    .lwp-contact-form .form-row {
        flex-direction: column;
    }
}
