.custom-form form .row {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.custom-form form .top-part{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-form form .top-part .col-3 {
    width: 100%;
    margin-right: 60px;
}

.custom-form form .top-part .col-3:last-child {
    margin-right: 0px;
}

.custom-form .form-group label {
    color: #000;
    font-family: 'Poppins';
    font-size: 20px;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 15px;
}

.custom-form .form-group input::placeholder,
.custom-form .form-group .form-control {
    background: transparent;
    font-family: 'Poppins';
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    color: #000;
    opacity: 0.3;
}

.custom-form .form-group .form-control {
    padding: 14px 45px 14px 20px;
    border: 1px solid #C4C4C4;
}

.custom-form .form-group textarea.form-control {
    padding: 13px 20px 13px 25px;
}

textarea {
    resize: none !important;
}

.custom-form .form-control:focus-visible {
    outline: none;
}

.custom-form .form-group .field-with-icon {
    position: relative;
}

.custom-form .form-group .icon {
    width: 20px;
    height: 20px;
    top: 18px;
    right: 20px;
    position: absolute;
    opacity: 0.5;
}

.custom-form .form-group .icon * {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.custom-form .form-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.custom-form .form-submit .btn {
    font-family: 'Poppins';
    font-size: 18px;
    font-weight: 600;
    line-height: 155%;
    letter-spacing: -0.36px;
    color: #FFF;
    padding: 10px 16px;
    margin-top: 20px;
    background-color: #ED0F0C;
    border-radius: 38px;
    -webkit-border-radius: 38px;
    -moz-border-radius: 38px;
    -ms-border-radius: 38px;
    -o-border-radius: 38px;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.custom-form .form-submit .btn:hover{
    background: transparent;
    color: #ED0F0C ;
}

.custom-form .form-submit .wpcf7-spinner {
    margin-top: 10px;
}

.custom-form .wpcf7 form .wpcf7-response-output {
    margin: 0;
    padding: 0;
    border: none;
    text-align: center;
}

.custom-form form.invalid .wpcf7-response-output,
.custom-form form.failed .wpcf7-response-output{
    color: #dc3232;
}

.custom-form form.sent .wpcf7-response-output{
    color: #46b450;
}

@media (max-width:1440px) {
    .custom-form form .top-part .col-3 {margin-right: 40px; }
}

@media (max-width:1024px) {
    .custom-form .form-group label {margin-bottom: 12px; font-size: 18px;}
    .custom-form .form-submit .btn {font-size: 16px;}
    .custom-form form .top-part .col-3 { margin-right: 30px; }
    .custom-form .form-group .form-control { padding: 10px 35px 10px 15px; }
    .custom-form .form-group textarea.form-control { padding: 13px 35px 13px 15px; }
    .custom-form .form-group .icon {top: 15px; right: 15px;}
}

@media (max-width:991px){
    .custom-form form .top-part .col-3 { margin-right: 15px; }
    .custom-form .form-submit .btn {margin-top: 0px;}
}

@media (max-width:767px){
    .custom-form form .row {gap: 20px;}
    .custom-form form .top-part {flex-direction: column;}
    .custom-form form .top-part .col-3 {margin-right: 0px; margin-bottom: 20px;}
    .custom-form form .top-part .col-3:last-child {margin-bottom: 0px;}
    .custom-form .form-group label {font-size: 16px;}
    .custom-form .form-group input::placeholder, .custom-form .form-group .form-control {font-size: 16px;}
}