/* Form1 Component Styles - Same as Form2 */
.footer-image-container {
    display: flex;
    padding: 30px 0;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    align-self: stretch;
    width: 100%;
    background-image: url('../../assets/images/form2-backgrounds/form2bg.jpg');
    background-size: calc(var(--original-width) * 0.31) calc(var(--original-height) * 0.31);
    background-repeat: repeat;
    background-position: center;
    --original-width: 1536px;
    --original-height: 1024px;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
}

.footer-form-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    
}

.footer-form-text-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    
}

.footer-form-heading {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.4em;
    letter-spacing: -1%;
    color: #333231;
    margin: 0;
    text-align: left;
}

.footer-form-subheading {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5em;
    color: #6E6C6A;
    margin: 0;
    text-align: left;
}

.footer-form-fields-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 16px;
    flex: 1;
    
}

.footer-form-field-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 16px 24px;
    background-color: #FFFFFF;
    border-radius: 12px;
    border: none;
}

.footer-form-field {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2em;
    color: #6E6C6A;
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
}

.footer-form-field::placeholder {
    color: #6E6C6A;
}

.footer-checkbox-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding: 0px 4px;
}

.checkbox-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-checkbox {
    position: absolute;
    opacity: 0;
    width: 20px;
    height: 20px;
    margin: 0;
}

.checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    background-color: #FFFFFF;
    border: 1px solid #6E6C6A;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.footer-checkbox:checked + .checkbox-custom {
    background-color: #3E7B51;
    border-color: #3E7B51;
}

.footer-checkbox:checked + .checkbox-custom::after {
    content: '✓';
    color: #FFFFFF;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    display: block;
    z-index: 10;
}

.footer-checkbox-label {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2em;
    color: #6E6C6A;
    cursor: pointer;
    flex: 1;
}

.footer-submit-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 8px;
    padding: 12px;
    background-color: #3E7B51;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.footer-submit-button:hover {
    background-color: #2d5a3a;
}

.footer-submit-button-text {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2em;
    letter-spacing: 2%;
    text-transform: uppercase;
    color: #FFFFFF;
    padding: 0px 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-image-container {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        height: auto;
        min-height: 50vh;
        padding: 0px 0 40px 0;
        box-sizing: border-box;
        
    }

    .footer-form-container {
        flex-direction: column;
        gap: 25px;
        width: 93%;
        margin: 0 auto 50px auto;
        padding: 15px 0 20px 0;

    }
    
    .footer-form-heading {
        font-size: 32px;
        line-height: 1.3em;
        word-wrap: break-word;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .footer-form-subheading {
        font-size: 18px;
        line-height: 1.4em;
        word-wrap: break-word;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .footer-form-fields-container {
        align-items: stretch;
        gap: 12px;
    }
    
    /* Safari mobile fixes */
    .footer-form-field-container {
        -webkit-appearance: none;
        background-color: #FFFFFF !important;
        background-image: none !important;
    }
    
    .footer-form-field {
        -webkit-appearance: none;
        background-color: transparent !important;
    }
    
    .footer-submit-button {
        -webkit-appearance: none;
        background-color: #3E7B51 !important;
    }
}

@media (max-width: 480px) {
    .footer-image-container {
        padding: 40px 0 20px 0;
    }

    .footer-form-container {
        gap: 20px;
    }

    .footer-form-heading {
        font-size: 28px;
        line-height: 1.3em;
        word-wrap: break-word;
        max-width: 100%;
        margin-bottom: 6px;
    }

    .footer-form-subheading {
        font-size: 16px;
        line-height: 1.4em;
        word-wrap: break-word;
        max-width: 100%;
        margin-bottom: 12px;
    }
    
    .footer-form-field-container {
        padding: 12px 16px;
    }
    
    .footer-form-field {
        font-size: 16px;
    }
}