input,
select {
    transition: all 0.25s ease-in 0s;
    -webkit-transition: all 0.25s ease-in 0s;
    -moz-transition: all 0.25s ease-in 0s;
    -o-transition: all 0.25s ease-in 0s;
    outline: none;
    /* font-family: "BrandonGrotesqueRegular"; */
    text-decoration: none;
}

/*
button {
    margin-top: 15px;
    padding: 12px 30px;
    background-color: transparent;
    border: 1px solid #caa553;
    color: #caa553;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #caa553;
    color: #ffffff;
}
*/

.query-form .form-button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.query-form .form-button .form-btn {
    text-align: center;
    white-space: nowrap;
    touch-action: manipulation;
    cursor: pointer;
    line-height: 50px;
    padding: 0 20px;
    margin-top: 0;
    font-size: 16px;
    border: 1px solid #c49337;
    width: 100%;
    height: 100%;
    /* font-family: "BrandonGrotesqueMedium"; */
    text-transform: uppercase;
    background: transparent;
    outline: none;
    text-decoration: none;
    transition: all 0.5s ease;
}

.query-form .form-button .form-btn span {
    position: fixed;
    z-index: 2;
}

.query-form .form-button .form-btn:hover {
    background-color: #c49337;
    color: #ffffff;
}

/*
.query-form .form-button .form-btn:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #c49337;
    width: 0;
    z-index: 1;
    transition: all 0.35s ease-in 0s;
    -webkit-transition: all 0.35s ease-in 0s;
}

.query-form .form-button .form-btn:hover:before {
    width: 100%;
}
*/

.styled_select {
    position: relative;
    width: 100%;
}

.styled_select:after {
    content: "\f107";
    font-family: "FontAwesome";
    position: absolute;
    right: 0;
    top: 0;
    width: 40px;
    line-height: 50px;
    color: white;
    font-size: 18px;
    text-align: center;
    pointer-events: none;
}

.styled_select select {
    padding-right: 30px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
}

.query-container {
    display: flex;
    flex-direction: row;
    max-height: 650px;
    max-width: 100%;
}

.query-section {
    flex-wrap: wrap;
    max-width: 100%;
    max-height: 100%;
}

.query-image {
    flex: 1;
    min-width: 50%;
    overflow: hidden;
}

.query-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s;
    -webkit-transition: transform 1.5s;
}

.query-image img:hover {
    transform: scale(105%);
}

.query-form {
    flex: 1;
    max-width: 50%;
    background-image: url(../Images/header-green.png);
    background-color: rgb(55, 67, 56) !important;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.query-form h2 {
    color: #fff;
    /* font-family: 'StempelGaramondLTProRegular'; */
    font-size: 34px;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 30px;
    color: white;
    text-align: center;
}

form {
    width: 100%;
}

.form-group {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group.single {
    flex-direction: column;
}

.input-wrapper {
    position: relative;
    flex: 1;
}

.input-wrapper i {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 14px;
}

input,
select {
    width: 100%;
    padding: 12px 12px 12px 35px;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    outline: none;
    color: white;
    font-size: 16px;
    box-sizing: border-box;
}

input[id=firstName]:focus,
input[id=lastName]:focus,
input[id=phone]:focus,
input[id=email]:focus,
select[id=countryCode]:focus {
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
    outline: none;
}

input:active {
    border: none;
}

select {
    appearance: none;
}

option {
    color: black;
}

input::placeholder {
    color: #ccc;
}

.hidden {
    display: none;
    margin-top: 15px;
    color: #2ecc71;
}

@media (max-width: 767px) {
    .query-container {
        flex-direction: column;
        padding: 20px 0 20px 0;
        margin-bottom: 50px;
    }

    .query-image {
        display: none;
    }

    .query-form {
        min-width: 100%;
    }

    .form-group {
        flex-direction: column;
    }
}

.query-animate-left,
.query-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 1s ease, transform 1s ease;
}

.query-animate-left.visible {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
}

.query-animate-right.visible {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 1s;
}