/* General Styles */


/* Form Section */


.custom-form-section {
    text-align: center;
    width: 100%;
    background: #f9d84b;
    position: relative;
    min-height: 300px; /* Adjust as needed */
    z-index: 1;
    overflow: hidden;
}

.custom-form-section::before {

    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/background-grid.webp');
    background-size: contain;

    opacity: 0.2; /* Adjust opacity */
    z-index: -1; /* Keeps it behind content */
}

.custom-form-container {
   
    
    /* max-width: var(--container-width); */
    margin: 0 auto;
    width: 90%;
    padding: 4% 0;
    
}

.custom-form-title {
    font-size: var(--font-p-heading2);
    
    color: var(--text-color);
    margin-bottom: 3rem;
}

.custom-form-subtitle {
    font-size: 1.2rem;
    color: var(--text-color-light);
    margin-bottom: 1rem;
}

/* Form Styling */
.custom-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.custom-form-input,
.custom-select {
    padding: 15px;
    font-size: var(--font-p-body);
    appearance: none; /* Standard */
    -webkit-appearance: none; /* Safari */
    -moz-appearance: none; /* Firefox */
    border: 2px solid var(--text-color);
    border-radius: 0px;
    width: 250px;
    max-width: 100%;
    background-color: white;
    
}



/* Dropdown Styling */


/* Submit Button */
.custom-form-button {
    background: var(--text-color);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 20px;
    /* border: 2px solid var(--text-color); */
    border: none;
    border-radius: 0px;
    cursor: pointer;
}




/* Responsive Design */
@media (max-width: 768px) {


    .custom-form-container {
        padding: 10% 0;
    }

    .custom-form {
        flex-direction: column;
        align-items: center;
    }
    
    .custom-form-input,
    .custom-select,
    .custom-form-button {
        width: 100%;
        max-width: 400px;
    }
}
