/*----------  Form  ----------*/
.dg-contact-form {
    margin-top: 25px;
}

.dg-contact-form .form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.dg-contact-form .form-col {
    flex: 0 0 100%;
    max-width: 100%;
}

.dg-contact-form .form-col-4 {
    flex: 0 0 calc(33.333% - 16.67px);
    max-width: calc(33.333% - 16.67px);
}

.dg-contact-form.style-2 .form-group {
    display: flex;
}

.dg-contact-form .form-group label {
    font-weight: 800;
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    margin-bottom: 10px;
}

.dg-contact-form.style-2 .form-group label {
    flex: 0 0 160px;
    padding-right: 15px;
    margin-top: 14px;
    margin-bottom: 0;
}

.dg-contact-form.style-2 .form-group .form-group-input,
.dg-contact-form.style-2 .form-group .iti--allow-dropdown {
    flex: 0 0 calc(100% - 160px);
}

.dg-contact-form.style-2 .btn {
    width: 100%;
}

.dg-contact-form.style-2 .btn:disabled {
    width: 100%;
    cursor: progress;
    opacity: 0.5;
}

.dg-contact-form textarea {
    min-width: unset !important;
    resize: none;
}

.dg-contact-form input,
.dg-contact-form .form-control {
    display: block;
    width: 100%;
    -webkit-appearance: none;
    font-family: Montserrat, sans-serif;
    font-size: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 0;
    color: #fff;
    background: 0 0;
    padding: 13px 20px;
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.dg-contact-form input.invalid,
.dg-contact-form .form-control.invalid {
    border-color: red !important;
}

.dg-contact-form .form-control:focus,
.dg-contact-form .form-control:focus-visible {
    border-color: #4D93FF !important;
    box-shadow: none;
    outline: none;
}

.iti--separate-dial-code .iti__selected-flag,
.iti--allow-dropdown .iti__flag-container:hover .iti__selected-flag {
    background-color: rgb(255 255 255 / 15%);
}

.form-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.form-check {
    flex: 0 0 calc(50% - 5px);
}

.form-checkbox {
    display: none;
}

.form-check-label {
    padding-left: 22px;
    position: relative;
    font-size: 13px !important;
    font-weight: 400 !important;
    margin-top: 0 !important;
}

.form-check-label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    display: block;
    width: 14px;
    height: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    -webkit-transition: border-color 0.2s ease-out;
    transition: border-color 0.2s ease-out;
}

.form-check-label::after {
    content: "";
    position: absolute;
    left: 3px;
    top: 3px;
    width: 8px;
    height: 8px;
    display: block;
    background-color: #4D93FF;
    -webkit-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.form-checkbox:checked+.form-check-label::after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.form-checkbox:checked+.form-check-label::before {
    border: 1px solid #4D93FF;
}

.dg-contact-form .form-group.label-top label {
    margin-top: 10px;
}

.iti__country-list {
    position: absolute;
    z-index: 2;
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0 0 0 -1px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, .2);
    background-color: #1c1c1c;
    border: 1px solid #777777;
}

.field-error.d-none {
    display: none !important;
}

.field-error {
    display: block !important;
}

.dg-contact-form .form-group label.error {
    color: #fb0101;
    font-weight: 400 !important;
    margin-top: 10px !important;
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

.dg-contact-form-response {
    display: none;
}

.dg-contact-form-response.show {
    display: block;
}

.dg-contact-form-response.show p {
    padding: 8px 12px;
    text-align: center;
    margin: 15px 0 0;
    font-size: 13px;
    color: var(--white);
    border-width: 2px;
    font-weight: 500;
}

.dg-contact-form-response.show .success {
    background-color: #46b450;
    border: 2px solid #46b450;
}

.dg-contact-form-response.show .error {
    background-color: #fb0101;
    border: 2px solid #fb0101;
}

.enquiry {
    display: flex;
    align-items: center;
    text-align: start !important;
}

.get-a-free-consultation-wrap {
    max-width: 1080px;
    margin: auto;
}

.form-group.text-end {
    text-align: end;
}

.dg-contact-form.style-3 .form-control::placeholder {
    font-size: 18px !important;
    color: #fff;
    opacity: 0.5;
}

.dg-contact-form.style-3 .form-control {
    min-height: 62px;
    background-color: rgba(0, 0, 0, 1) !important;
    border: none !important;
    padding: 10px 30px;
    border-radius: 7px !important;
    font-size: 18px !important;
}

.dg-contact-form.style-3 .iti__selected-flag {
    border-radius: 7px 0 0 7px !important;
}

.dg-contact-form.style-3 textarea {
    height: 132px;
    resize: none;
}

.dg-contact-form.style-3 .form-row {
    gap: 16px
}

.dg-contact-form.style-3 .btn {
    width: 100%;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #000;
    background: #4D93FF;
    border: 1px solid rgba(46, 88, 153, 0.2);
    box-shadow: 0 5px 10px rgba(46, 88, 153, 0.5) ;
    border-radius: 30px;
    padding: 19px 30px;
    display: inline-block;
    transition: all 0.4s;
}

@media(hover:hover) {
    .dg-contact-form.style-3 .btn:hover {
        background-color: #fff !important;
        box-shadow: none !important;
        color: #000 !important;
        text-decoration: none !important;
    }
}

@media (max-width: 1199px) {
    .dg-contact-form.style-3 .btn {
        padding: 15px 20px 15px 20px;
    }
}

@media (max-width: 991px) {
    .dg-contact-form.style-3 .form-control {
        min-height: 45px;
        padding: 10px 15px;
        font-size: 16px !important;
    }

    .dg-contact-form.style-3 .form-control::placeholder {
        font-size: 16px !important;
    }

    .dg-contact-form.style-3 textarea {
        height: 100px;
    }

    .dg-contact-form.style-3 .btn {
        font-size: 14px;
        padding: 14px;
    }
}

@media (max-width: 568px) {
    .dg-contact-form .form-col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Thank You Page */
.thanksec {
    width: 100%;
    display: block;
    max-width: 1090px;
    margin: auto;
    padding: 200px 15px;
    padding-bottom: 120px;
}

.thanksec .conimg {
    max-width: 400px;
    margin: auto;
}

.thanksec .conimg img {
    margin: auto
}

.thanksec .thankrow {
    margin: 0 -15px;
    font-size: 0;
}

.thanksec .thankcol {
    padding: 0 15px;
    display: inline-block;
    width: 100%;
    vertical-align: top;
    margin-bottom: 30px;
}

.thanksec .thankcol:last-child {
    margin-bottom: 0px;
}

.thanksec .webcon .contitle {
    font-size: 92px;
    line-height: normal;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.webcon {
    text-align: center;
}

.thanksec .webcon p {
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 30px
}

@media only screen and (max-width: 1199px) {
    .thanksec .webcon .contitle {
        font-size: 50px;
    }

    .thanksec .webcon p {
        font-size: 14px;
    }

    .thanksec {
        padding: 150px 15px;
        padding-bottom: 80px;
    }
}

@media only screen and (max-width: 991px) {
    .thanksec {
        padding: 120px 15px;
        padding-bottom: 60px;
    }
}

@media only screen and (max-width: 767px) {
    .thanksec .webcon .contitle {
        font-size: 36px;
        margin-bottom: 15px;
    }
}

@media only screen and (max-width: 568px) {
    .dg-contact-form.style-2 .form-group {
        display: block;
    }

    .dg-contact-form.style-2 .form-row {
        gap: 20px;
    }

    .dg-contact-form.style-2 .form-group label {
        margin-top: 0;
        margin-bottom: 8px;
    }

    .dg-contact-form.style-2 .form-group label.range-form-label {
        margin-bottom: 30px;
    }
}

.form-group-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 5px;
}

.dg-contact-form.style-4 .btn {
    font-size: 16px;
    padding: 10px 13px;
    line-break: strict;
    flex: 0 0 90px;
}

.dg-contact-form.style-4 .dg-contact-form.style-4 input,
.dg-contact-form.style-4 .form-control {
    border: 0;
    padding: 13px 0;
}