/* Contact Page Styles */

/* Contact Page Container */
.contact-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    isolation: isolate;
    position: relative;
    width: 100%;
    min-height: auto;
    background-color: #FFFFFF;
    background-image: radial-gradient(circle, rgba(200, 200, 200, 0.5) 1px, transparent 1px);
    background-size: 20px 20px;
    background-position: 0 0;
}

/* Hero Section */
.contact-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0 80px 0;
    gap: 0;
    isolation: isolate;
    width: 100%;
    min-height: auto;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    z-index: 0;
    position: relative;
}

/* Hero Copy */
.contact-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 16px;
    width: 100%;
    max-width: 665px;
    height: auto;
    min-height: 232px;
    flex: none;
    order: 1;
    flex-grow: 0;
    z-index: 1;
    margin: 0 auto 80px auto;
}

.contact-hero-label {
    width: 100%;
    height: auto;
    min-height: 24px;
    font-family: 'Figtree', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.15px;
    color: #1D1B20;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.contact-hero-heading {
    width: 100%;
    height: auto;
    min-height: 192px;
    font-family: 'Figtree', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 57px;
    line-height: 64px;
    letter-spacing: -0.25px;
    color: #1D1B20;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Contact Form Container */
.contact-form-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 0 0 0;
    gap: 24px;
    width: 100%;
    max-width: 896px;
    height: auto;
    min-height: auto;
    flex: none;
    order: 2;
    flex-grow: 0;
    z-index: 2;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 24px;
    width: 100%;
    height: auto;
    min-height: 326px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* Text Field Styles */
.contact-text-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    isolation: isolate;
    width: 100%;
    height: auto;
    min-height: 56px;
    border-radius: 4px 4px 0px 0px;
    flex: none;
    align-self: stretch;
    flex-grow: 0;
}

.contact-text-field-large {
    min-height: 166px;
}

.contact-text-field-large .contact-text-field-wrapper {
    min-height: 166px;
}

.contact-text-field-large .contact-text-field-state-layer {
    min-height: 166px;
    align-items: flex-start;
}

.contact-text-field-wrapper {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    gap: 10px;
    width: 100%;
    height: 100%;
    border: 1px solid #4E4947;
    border-radius: 6px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    z-index: 0;
    transition: border-color 0.2s ease;
}

.contact-text-field-wrapper:focus-within {
    border-color: #E04F00;
    outline: none;
}

.contact-text-field-state-layer {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 4px 0px 4px 16px;
    gap: 4px;
    width: 100%;
    height: 100%;
    border-radius: 4px 4px 0px 0px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 1;
}

.contact-text-field-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 4px 0px;
    width: 100%;
    height: 48px;
    flex: none;
    order: 0;
    flex-grow: 1;
}

.contact-text-field-large .contact-text-field-content {
    height: auto;
    min-height: 140px;
    justify-content: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
}

.contact-text-field-label-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0;
    width: 100%;
    height: auto;
    min-height: 24px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 1;
}

.contact-text-field-large .contact-text-field-label-container {
    align-items: flex-start;
    height: auto;
    min-height: 140px;
}

.contact-text-field-label {
    width: 100%;
    height: auto;
    min-height: 24px;
    font-family: 'Figtree', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.5px;
    color: #1D1B20;
    flex: none;
    order: 0;
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0;
}

.contact-text-field-label::placeholder {
    color: #4E4947;
    opacity: 0.6;
}

.contact-text-field-label:focus {
    color: #1D1B20;
}

.contact-text-field textarea.contact-text-field-label {
    resize: vertical;
    min-height: 140px;
    height: 140px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-self: stretch;
    display: block;
}

.contact-supporting-text {
    display: none;
}

/* Submit Button */
.contact-submit-button-container {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    width: auto;
    height: 56px;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.contact-submit-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 0;
    width: auto;
    min-width: 155px;
    height: 56px;
    background: #E04F00;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.contact-submit-button:hover {
    opacity: 0.9;
}

.contact-submit-button:active {
    opacity: 0.8;
}

.contact-submit-button-state-layer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 16px 24px;
    gap: 8px;
    width: 100%;
    height: 56px;
    flex: none;
    order: 0;
    flex-grow: 0;
}

.contact-submit-button-label {
    width: auto;
    height: 24px;
    font-family: 'Figtree', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    display: flex;
    align-items: center;
    letter-spacing: 0.15px;
    color: #FFFFFF;
    flex: none;
    order: 1;
    flex-grow: 0;
    white-space: nowrap;
}

/* Form Message */
.contact-form-message {
    width: 100%;
    padding: 12px 16px;
    border-radius: 4px;
    font-family: 'Figtree', sans-serif;
    font-size: 14px;
    line-height: 20px;
    margin-top: 16px;
}

.contact-form-message.success {
    background-color: #E8F5E9;
    color: #2E7D32;
}

.contact-form-message.error {
    background-color: #FFEBEE;
    color: #C62828;
}

.contact-form-message.hidden {
    display: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-hero {
        padding: 150px 0;
        gap: 80px;
    }
    
    .contact-hero-copy {
        max-width: 100%;
        padding: 0 40px;
    }
    
    .contact-form-container {
        max-width: 100%;
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 120px 0;
        gap: 60px;
    }
    
    .contact-hero-copy {
        padding: 0 24px;
    }
    
    .contact-hero-heading {
        font-size: 40px;
        line-height: 48px;
    }
    
    .contact-form-container {
        padding: 0 24px;
        gap: 40px;
    }
    
    .contact-submit-button-container {
        width: 100%;
    }
    
    .contact-submit-button {
        width: 100%;
    }
    
    .contact-submit-button-state-layer {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        padding: 100px 0;
        gap: 40px;
    }
    
    .contact-hero-copy {
        padding: 0 16px;
    }
    
    .contact-hero-heading {
        font-size: 32px;
        line-height: 40px;
    }
    
    .contact-form-container {
        padding: 0 16px;
        gap: 32px;
    }
}

