/* ==========================================================================
   BUSINESS CONTACT FORM STYLES
   Following the same design system as home.html
   ========================================================================== */

.business-contact-page {
    background-color: var(--gray-50);
}

/* Hero Section - Matching home.html flexible style */
.hero-section {
    background: var(--secondary-light);
    padding: var(--spacing-3xl) 0;
    margin: var(--spacing-3xl) auto 0;
    border-radius: var(--border-radius-3xl);
    max-width: min(90vw, 1360px);
    width: calc(100% - clamp(40px, 8vw, 80px));
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.hero-text {
    max-width: 500px;
}

.hero-title {
    font-family: var(--font-family-secondary);
    font-weight: 700;
    font-size: var(--font-size-4xl);
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
}

.hero-description {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 16px;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--primary-color);
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--border-radius-xl);
}

/* Problem and Help Section - Combined side-by-side layout */
.problem-help-section {
    background: var(--gray-50);
    padding: var(--spacing-3xl) 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
}

.problem-help-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.problem-help-left {
    position: relative;
}

.problem-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    border: 5px solid var(--secondary-light);
}

.problem-help-right {
    max-width: 500px;
}

.problem-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--spacing-lg);
}

.problem-description {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xl);
}

.help-title {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--spacing-lg);
}

.help-description {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

/* Contact Form Section - Matching home.html flexible form style */
.contact-form-section {
    background: var(--gray-50);
    padding: var(--spacing-3xl) 0;
}

.section-title {
    font-family: var(--font-family-secondary);
    font-weight: 600;
    font-size: var(--font-size-4xl);
    line-height: 50px;
    letter-spacing: -0.02em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.form-left {
    max-width: 500px;
}

.form-container {
    background-color: var(--white);
    border-radius: var(--border-radius-3xl);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-lg);
}

.form-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.form-title {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-4xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.form-subtitle {
    font-family: var(--font-family-secondary);
    font-size: 40px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.form-description {
    font-family: var(--font-family-primary);
    font-size: 16px;
    color: #244149;
    line-height: 1.5;
    margin-bottom: 16px;
    font-weight: 400;
}

.highlight-text {
    color: #F36669;
    font-weight: 700;
}

.business-contact-form {
    width: 100%;
}

/* Override main styles.css for business contact form */
.business-contact-form .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: var(--spacing-md) !important;
    margin-bottom: var(--spacing-md) !important;
    width: 100%;
    align-items: start;
}

.business-contact-form .form-row .form-group {
    margin-bottom: 0 !important;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Special styling for checkbox group in form row */
.business-contact-form .form-row .checkbox-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

/* Special styling for form actions in form row */
.business-contact-form .form-row .form-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


/* Hide empty form groups in rows */
.form-row .form-group:empty {
    display: none;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    font-weight: 400;
    color: #053a49;
    margin-bottom: var(--spacing-sm);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
    background-color: #f8f8f8;
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    color: var(--black);
    transition: all var(--transition-normal);
    height: 44px;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.form-input::placeholder {
    color: var(--gray-500);
}

/* Textarea specific styling */
.form-input[type="textarea"],
textarea.form-input {
    height: auto;
    min-height: 120px;
    resize: vertical;
    padding: 12px;
    background-color: #f8f8f8;
    border: 1px solid #e4e4e4;
    border-radius: 6px;
}

.checkbox-group {
    margin-top: 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.checkbox-input {
    margin: 0;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    border-radius: 6px;
    border: 1px solid #e4e4e4;
    background-color: #f8f8f8;
}

.checkbox-label {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
    color: var(--black);
    line-height: 1.4;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

.form-actions {
    text-align: center;
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: var(--font-size-base);
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    font-family: var(--font-family-primary);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.btn-large:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.error-message {
    color: var(--accent-color);
    font-size: var(--font-size-xs);
    margin-top: var(--spacing-xs);
    font-family: var(--font-family-primary);
}

.messages {
    margin-bottom: var(--spacing-lg);
}

.message {
    padding: 12px 16px;
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-family-primary);
    font-size: var(--font-size-sm);
}

.message-success {
    background-color: var(--success-light);
    color: var(--success-text);
    border: 1px solid var(--success-border);
}

.message-error {
    background-color: var(--error-light);
    color: var(--error-text);
    border: 1px solid var(--error-border);
}


/* Mobile Responsive - Matching home.html flexible breakpoints */

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
        line-height: 40px;
        margin-bottom: var(--spacing-md);
    }

    .hero-description {
        font-size: var(--font-size-base);
        line-height: 1.5;
        margin-bottom: var(--spacing-lg);
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
        width: 100%;
    }

    .problem-help-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .problem-help-right {
        max-width: 100%;
    }

    .help-title {
        font-size: var(--font-size-3xl);
        line-height: 40px;
        margin-bottom: var(--spacing-xl);
    }

    .form-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .form-left {
        max-width: 100%;
    }

    .form-title {
        font-size: var(--font-size-3xl);
    }
}

@media (max-width: 600px) {
    .business-contact-form .form-row {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-md);
    }

    .business-contact-form .form-row .form-group {
        margin-bottom: var(--spacing-lg) !important;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    /* Additional mobile styles can be added here if needed */
}
