/* Form3 Component Styles */
.form3-section {
    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;
    padding: 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.form3-container {
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
    position: relative;
}

.form3-content {
    display: flex;
    align-items: stretch;
    gap: 80px;
    width: 100%;
}

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

.form3-heading {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 600;
    font-size: 40px;
    line-height: 1.4em;
    letter-spacing: -0.01em;
    color: #333231;
    margin: 0;
}

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

.form3-form-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.form3-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form3-field {
    width: 100%;
}

.form3-field input {
    width: 100%;
    background-color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2em;
    color: #6E6C6A;
    box-sizing: border-box;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.form3-field input:focus {
    /* Focus style removed for clean design */
}

.form3-field input::placeholder {
    color: #6E6C6A;
}

.form3-submit-btn {
    width: 100%;
    background-color: #3E7B51;
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2em;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    outline: none;
}

.form3-submit-btn:hover {
    background-color: #2d5a3a;
    transform: translateY(-1px);
}

.form3-submit-btn:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .form3-section {
        padding: 0 0 40px 0;
    }

    .form3-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .form3-heading {
        font-size: 32px;
    }
    
    .form3-subheading {
        font-size: 18px;
    }
    
    /* Safari mobile fixes */
    .form3-field input {
        -webkit-appearance: none;
        background-color: #FFFFFF !important;
        background-image: none !important;
    }
    
    .form3-submit-btn {
        -webkit-appearance: none;
        background-color: #3E7B51 !important;
    }
    
    .form3-form-container {
        align-items: stretch;
    }
}

@media (max-width: 768px) {
    .form3-section {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        height: auto;
        min-height: 50vh;
        padding: 15px 0 40px 0;
        box-sizing: border-box;
    }
    
    .form3-content {
        flex-direction: column;
        gap: 25px;
        width: 100%;
        margin-bottom: 50px;
        padding-bottom: 50px;
    }
    
    .form3-container {
        padding: 0 20px;
        width: 85%;
        margin: 0 auto;
    }
    
    .form3-heading {
        font-size: 28px;
    }
    
    .form3-subheading {
        font-size: 16px;
    }
    
    .form3-field input {
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .form3-submit-btn {
        font-size: 16px;
        padding: 14px;
    }
}