.contact {
    padding: 80px 0; /* slightly tighter and consistent */
    background: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 60px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    color: white;
}

.info-card {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    color:var(--text);
}

.info-content h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.info-content p {
    opacity: 0.9;
    margin-bottom: 5px;
    font-size: 0.95rem;
    color: white;
}

.contact-social {
    margin: 40px 0;
}

.contact-social h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-cta {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
}

.contact-cta h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact-cta i{
    color: white;
    
}
.contact-form-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.form-header {
    background: linear-gradient(135deg, var(--info-light) 0%, var(--info) 100%);
    color: white;
    padding: 30px;
    text-align: center;
}

.form-header h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.form-header p {
    opacity: 0.9;
}

.multi-step-form {
    padding: 36px;
}

.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

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

.form-step h4 {
    color: var(--dark);
    margin-bottom: 30px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-step h4 span {
    width: 40px;
    height: 40px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 28px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(121, 105, 210, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: var(--danger);
    font-size: 0.9rem;
    margin-top: 5px;
    min-height: 20px;
}

.services-checkbox {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: inherit; /* inherit so dark backgrounds render white text */
    font-weight: 600;
}

/* Keep previous default in white/dark contexts where explicit needed */
.contact-info .checkbox-label,
.lead-magnet .checkbox-label {
    color: white;
}

.checkbox-label input {
    display: none;
}

.checkbox-custom {
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-light);
    border-radius: 5px;
    position: relative;
    transition: var(--transition);
}

.checkbox-label input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-label input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.9rem;
}

.file-upload {
    position: relative;
}

.file-upload input {
    display: none;
}

.file-upload-label {
    border: 2px dashed var(--gray-light);
    border-radius: var(--radius);
    padding: 30px 18px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: block;
}

.file-upload-label:hover {
    border-color: var(--primary);
    background: rgba(121, 105, 210, 0.05);
}

.file-upload-label i {
    font-size: 2.5rem;
    color: var(--gray);
    margin-bottom: 15px;
    display: block;
}

.file-upload-label span {
    display: block;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 5px;
}

.file-upload-label small {
    color: var(--gray);
    font-size: 0.9rem;
    display: block;
    margin-top: 6px;
}

.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.file-item {
    background: var(--gray-light);
    padding: 8px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.file-item .remove-file {
    color: var(--danger);
    cursor: pointer;
    font-size: 0.8rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-light);
}

.review-section {
    background: var(--gray-light);
    padding: 25px;
    border-radius: var(--radius);
    margin-bottom: 30px;
}

.review-item {
    margin-bottom: 25px;
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-item h5 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.review-item div {
    color: var(--dark);
    line-height: 1.6;
}

.success-message {
    display: none;
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2.5rem;
}

.success-message h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 2rem;
}

.success-message p {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.lead-magnet {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: white;
}

.lead-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.lead-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.lead-text {
    flex: 1;
}

.lead-text h3 {
    color: white;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.lead-text p {
    opacity: 0.9;
    margin-bottom: 0;
}

.lead-form {
    display: flex;
    gap: 15px;
    min-width: 400px;
}

.lead-form input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    background: white;
}

.lead-form input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Quick Contact Modal */
.quick-contact-modal .modal-content {
    max-width: 500px;
}

.quick-contact-modal .modal-body {
    padding: 40px;
}

.quick-contact-modal h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

/* Progress Indicator */
.progress-indicator {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
    margin-top: 32px;
    position: relative;
    padding: 0 10px;
}

.progress-indicator::before {
    content: '';
    position: absolute;
    top: 17px; /* align to step-number center */
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gray-light);
    z-index: 1;
}

.progress-bar {
    position: absolute;
    top: 17px;
    left: 0;
    height: 3px;
    background: var(--primary);
    z-index: 2;
    transition: width 0.3s ease;
    width: 0; /* ensure starts at 0 */
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 3;
    position: relative;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--gray);
    margin-bottom: 10px;
    transition: var(--transition);
}

.progress-step.active .step-number {
    background: var(--primary);
    color: white;
}

.progress-step.completed .step-number {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 500;
}

.progress-step.active .step-label {
    color: var(--dark);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1200px) {
    .contact-container {
        grid-template-columns: 1fr 1.5fr;
    }
    
    .lead-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .lead-form {
        min-width: 100%;
    }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .services-checkbox {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .multi-step-form {
        padding: 18px;
    }

    .contact {
        padding: 50px 0;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .lead-magnet {
        padding: 30px 20px;
    }
    
    .lead-form {
        flex-direction: column;
    }
}