.custom-form {
    max-width: 70%;
    margin: 0 auto;
    padding: 20px;
    background-color: #E8EFF4;
}

.custom-form-input {
    display: grid;
    gap: 20px;
}

.input-one-field,
.input-two-field {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr; /* Two columns layout */
    padding-top: 15px;
}

.input-third-field, .input-fourth-field {
    width: 100%;
    padding-top: 20px;
}

.file-field {
    width: 100%;
}

.file-label {
    width: 100%;
    background-color: white;
    padding: 5px;
    text-align: center;
    border-radius: 8px;
}

label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
    font-family: 'Barlow';
}

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Barlow';
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus, textarea:focus {
    border-color: #0056b3; /* Change border color on focus */
    box-shadow: 0 0 8px rgba(0, 86, 179, 0.2); /* Add shadow on focus */
    outline: none; /* Remove default outline */
}

textarea {
    height: 80px; /* Fixed height for textareas */
    resize: vertical; /* Allow vertical resizing */
}

.custom-form-btn {
    display: flex;
    justify-content: flex-start;
    margin-top: 20px;
}

.custom-form-btn input[type="submit"] {
    background-color: #FAA61A;
    color: #ffffff;
    border: none;
    padding: 14px 65px;
    border-radius: 48px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-form-btn input[type="submit"]:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: scale(1.05); /* Slightly enlarge button on hover */
}

.custom-form-btn input[type="submit"]:active {
    transform: scale(0.95); /* Slightly shrink button when clicked */
}


.custom-form .main-title p { text-align: left; color: #102A4F; font-size: 30px; font-weight: 600; line-height: 1.2; }
.custom-form .sub-title p { text-align: left; font-size: 18px; padding-top: 15px; }
.custom-form .input-one-field input, .input-two-field input { background-color: #F4F5F9; padding: 10px 15px; border: none; border-radius: 5px; }
.custom-form .input-third-field { display: flex; align-items: center; }
.custom-form .input-third-field .file-field { width: max-content; }
.custom-form .input-third-field .file-field input { border: none; }
.custom-form .input-third-field .file-lable { width: max-content; }
.custom-form .input-forth-field textarea { background-color: #F4F5F9; border: none; }
/* .custom-form .input-lname { display: flex; align-items: center; } */
.custom-form .input-lname {	display: inline-block; }
.custom-form .input-lname .file-lable { width: max-content; }
.custom-form .input-lname .file-field { max-width: fit-content; }
.custom-form .input-lname .file-field input { background-color: #F4F5F9; border: none; padding: 10px 15px; }
.input-lname.mesage-field { padding-top: 15px; }

@media (max-width: 1100px){
	
	.custom-form { max-width: 100%; }
/* 	.input-one-field, .input-two-field { grid-template-columns: 1fr; }
	.custom-form .input-lname .file-field { width: 100%; }
	.custom-form-btn { justify-content: center; } */
}

@media (max-width: 991px){
	
	.custom-form { max-width: 100%; }
	.input-one-field, .input-two-field { grid-template-columns: 1fr 1fr; }
	.custom-form .input-lname .file-field { width: 100%; }
	.custom-form-btn { justify-content: center; }
}

@media (max-width: 768px){
	
	.custom-form { max-width: 100%; }
	.input-one-field, .input-two-field { grid-template-columns: 1fr; }
	.custom-form .input-lname .file-field { width: 100%; }
	.custom-form .input-third-field { flex-wrap: wrap; }
	.custom-form-btn { justify-content: center; }
}

@media (max-width: 576px) {
    .custom-form { max-width: 100%; }
    .input-fname { width: 100%; }
    .input-lname { width: 100%; }
    .input-email { width: 100%; }
    .input-number { width: 100%; }
    .input-third-field, .input-fourth-field { width: 100%; }
	.custom-form-input { display: inline-block; width: 100%; }
}

