/* Clean Form Section - Perfectly Centered */

.estimate-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 6rem 0;
    position: relative;
}

.estimate-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(76, 201, 240, 0.3), transparent);
}

.estimate-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header-form {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-form h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem 0;
    letter-spacing: -0.03em;
}

.section-header-form .form-subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0.5rem auto 0;
    font-weight: 400;
    max-width: 600px;
    text-align: center;
    letter-spacing: 0.02em;
}

/* Form Trust Indicators */
.form-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2.5rem auto 3rem;
    flex-wrap: wrap;
    max-width: 700px;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: #1a1a2e;
    font-weight: 500;
}

.trust-indicator-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4A6E1A 0%, #5a8020 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
}

.estimate-content {
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    border: none;
    transition: none;
    width: 100%;
    margin: 0 auto;
}

.estimate-form-container {
    width: 100%;
    margin: 0 auto;
}

/* Form styling */
.lead-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
}

.input,
select {
    width: 100%;
    padding: 1.125rem 1.5rem;
    font-size: 1rem;
    color: #1a1a2e;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    appearance: none;
    line-height: 1.5;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%231a1a2e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 20px;
    padding-right: 3.5rem;
    cursor: pointer;
}

.input:focus,
select:focus {
    outline: none;
    background: #ffffff;
    border-color: #4cc9f0;
    box-shadow: 0 0 0 4px rgba(76, 201, 240, 0.12);
    transform: translateY(-1px);
}

.input::placeholder {
    color: #adb5bd;
}

/* Error message */
.error-message {
    font-size: 0.875rem;
    color: #ef4444;
    display: none;
    padding-left: 0.25rem;
}

.form-group.error .error-message {
    display: block;
}

.form-group.error .input,
.form-group.error select {
    border-color: #ef4444;
    background: #fef2f2;
}

/* Submit button - Enhanced with Brand Colors */
.btn-submit {
    width: 100%;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #D97000 0%, #FF8C00 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(217, 112, 0, 0.4);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
    text-transform: none;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(217, 112, 0, 0.5);
    background: linear-gradient(135deg, #FF8C00 0%, #D97000 100%);
}

.btn-submit:active {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 32px rgba(217, 112, 0, 0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 16px rgba(217, 112, 0, 0.2);
}

/* Success state */
.form-success {
    text-align: center;
    padding: 2rem;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.form-success h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 1rem 0;
}

.form-success p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.success-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: left;
}

.success-details p {
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.success-details li {
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: #495057;
}

.success-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4cc9f0;
    font-weight: 700;
}

.success-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.success-actions .btn {
    width: 100%;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.success-actions .btn-primary {
    background: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
    color: white;
}

.success-actions .btn-secondary {
    background: #f8f9fa;
    color: #1a1a2e;
    border: 2px solid #e9ecef;
}

/* Animations */
@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estimate-content {
    animation: fadeIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .estimate-form {
        padding: 4.5rem 0;
    }

    .estimate-container {
        max-width: calc(100% - 3rem);
        padding: 0 1.5rem;
    }

    .section-header-form {
        margin-bottom: 3rem;
    }

    .section-header-form h2 {
        font-size: 2rem;
    }

    .section-header-form p {
        font-size: 1rem;
    }

    .input,
    select {
        padding: 1rem 1.25rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    .btn-submit {
        padding: 1.25rem 1.75rem;
        font-size: 1.05rem;
        border-radius: 12px;
    }
}

@media (max-width: 480px) {
    .estimate-form {
        padding: 3.5rem 0;
    }

    .estimate-container {
        max-width: calc(100% - 2rem);
        padding: 0 1rem;
    }

    .section-header-form {
        margin-bottom: 2.5rem;
    }

    .section-header-form h2 {
        font-size: 1.75rem;
    }

    .section-header-form p {
        font-size: 0.95rem;
    }

    .lead-form {
        gap: 1.25rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .input,
    select {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
        border-radius: 12px;
    }

    select {
        background-position: right 1rem center;
    }

    .btn-submit {
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
        border-radius: 12px;
    }

    .form-success h3 {
        font-size: 1.5rem;
    }

    .form-success p {
        font-size: 0.9rem;
    }
}

/* Loading state */
.btn-submit.loading {
    position: relative;
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Ultra-Minimal Consultation Section - Just Button */
.consultation-minimal {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 4rem 0;
    position: relative;
}

.consultation-wrap {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.consultation-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.75rem 4rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #4cc9f0 0%, #4361ee 100%);
    border: none;
    border-radius: 60px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(76, 201, 240, 0.35);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden;
}

.consultation-btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.consultation-btn-large:hover::before {
    left: 100%;
}

.consultation-btn-large:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 50px rgba(76, 201, 240, 0.5);
    background: linear-gradient(135deg, #4361ee 0%, #4cc9f0 100%);
}

.consultation-btn-large:active {
    transform: translateY(-2px) scale(1.02);
}

/* Responsive */
@media (max-width: 768px) {
    .consultation-minimal {
        padding: 3.5rem 0;
    }

    .consultation-wrap {
        padding: 0 1.5rem;
    }

    .consultation-btn-large {
        padding: 1.5rem 3rem;
        font-size: 1.1rem;
        width: 100%;
        max-width: 450px;
    }
}

@media (max-width: 480px) {
    .consultation-minimal {
        padding: 3rem 0;
    }

    .consultation-wrap {
        padding: 0 1rem;
    }

    .consultation-btn-large {
        padding: 1.25rem 2rem;
        font-size: 1rem;
        border-radius: 50px;
    }
}

/* Entrance Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.consultation-btn-large {
    animation: scaleIn 0.6s ease-out;
}
