.lead-form .form-section {
    margin-bottom: 30px;
}

.lead-form .form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.lead-form .form-group {
    padding: 0 10px;
    margin-bottom: 15px;
    width: 100%;
}

.lead-form .form-group.half-width {
    width: 50%;
}

.lead-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"],
.lead-form input[type="url"],
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e1e1e1;
    border-radius: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.lead-form input[type="text"]:focus,
.lead-form input[type="email"]:focus,
.lead-form input[type="tel"]:focus,
.lead-form input[type="url"]:focus,
.lead-form select:focus,
.lead-form textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.2);
}

.lead-form select {
    height: 38px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="%23555" viewBox="0 0 24 24"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}

.lead-form textarea {
    min-height: 120px;
    resize: vertical;
}

.lead-form-submit {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.lead-form-submit:hover {
    background-color: #005a87;
}

.lead-form-submit:disabled {
    background-color: #88b1c8;
    cursor: not-allowed;
}

.lead-form-submit.loading {
    position: relative;
    opacity: 0.7;
    animation: pulse 1.5s infinite;
}

.lead-form-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}

.lead-form-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 3px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

.form-section-title {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e1e1e1;
}

.form-section-note {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 15px;
    font-style: italic;
}

.form-disabled {
    background-color: #f9f9f9 !important;
    cursor: not-allowed !important;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

@media screen and (max-width: 768px) {
    .lead-form .form-group.half-width {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .lead-form input[type="text"], .lead-form input[type="email"], .lead-form input[type="tel"], .lead-form input[type="url"], .lead-form textarea, .lead-form select {
        padding: 6px 10px;
    }
}