/**********Contact Section********/
.contact-sctn.section {
    padding: 90px 20px;
    background-image: none;
}

.contact-sctn .form-bg {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
}

.contact-sctn .section-wrap {
    background-color: var(--white);
    padding: 40px 6%;
    border-radius: 35px;
    box-shadow: 0 0 19px 0 rgba(0, 0, 0, 0.35);
    max-width: 1364px;
    justify-content: space-between;
    align-items: center;
}
.contact-sctn .text-col {
    width: 45%;
}
.contact-sctn .form-col {
    width: 50%;
}
.contact-sctn .contact-form input:not([type="submit"]):not(.wpcf7-file),
.contact-sctn .contact-form .wpcf7-select {
    border: 0;
    border-bottom: 2px solid var(--secondary);
    border-radius: 0;
}
.contact-sctn .contact-form .col-1,
.contact-sctn .contact-form .col-2,
.contact-sctn .contact-form .col-3,
.contact-sctn .contact-form .col-4 {
    width: 24%;
}
.contact-sctn .contact-form {
    gap: 1%;
    row-gap: 12px;
}
.contact-sctn .codedropz-upload-inner > span:nth-child(2) {
    display: none;
}
.contact-sctn a.cd-upload-btn {
    background-color: var(--white);
    display: flex;
    filter: drop-shadow(0 1px 6px #00000040);
    max-width: 200px;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.contact-sctn .codedropz-upload-inner {
    overflow: visible;
    display: flex;
    gap: 16px;
}
.contact-sctn .codedropz-btn-wrap {
    width: 100%;
    max-width: 200px;
}
.contact-sctn .contact-form input[type="submit"] {
    width: 200px;
    padding: 7px 20px;
}
.contact-sctn .contact-form textarea {
    background-color: #cecece38;
}
.contact-sctn .bst-way {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-sctn .contact-form .wpcf7-list-item label {
    gap: 5px;
}
.contact-sctn .text-col p {
    margin: 0;
}
.contact-sctn .text-col .maintitle {
    font-weight: 700;
    font-size: clamp(24px, 3vw, 40px);
    margin-bottom: 20px;
    line-height: 1.1;
}
.contact-sctn .text-col .maintitle > span {
    display: block;
}
.contact-sctn .text-col .maintitle > .sp-main-1 {
    font-weight: 800;
    font-size: 1.4em;
}
.contact-sctn .text-col .maintitle > .sp-main-2 {
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.9em;
}

.contact-sctn .button-row {
    margin-top: 20px;
}

/*GRAVITY FORM*/
.form #form-wrapper .gform_fields {
    row-gap: 15px;
}
.form #form-wrapper label,
.form #form-wrapper legend {
    margin-left: 5px;
    font-size: 16px;
    color: var(--gray);
    font-weight: 400;
}
.form #form-wrapper .ginput_container input,
.form #form-wrapper .ginput_container select {
    border-radius: 30px;
    background-color: var(--white);
    border: 1px solid var(--secondary);
}
.form #form-wrapper .ginput_container input {
    overflow: hidden;
}
.form #form-wrapper .ginput_container input::placeholder,
.form #form-wrapper .ginput_container select .gf_placeholder {
    color: var(--gray);
}

.form #form-wrapper .ginput_container textarea {
    border-radius: 20px;
    background-color: var(--white);
    border: 1px solid var(--secondary);

    min-block-size: unset;
    height: 100px;
}

.form #form-wrapper .gform-footer .gform_button {
    width: 35%;
    padding: 10px 20px;
    background: var(--black);
    border: 1px solid var(--primary);
    border-radius: 50px;
    text-transform: uppercase;

    transition: all 0.25s ease;
}
.form #form-wrapper .gform-footer .gform_button:hover {
    background: var(--white);
    color: var(--secondary);

    transition: all 0.25s ease;
}

.form #form-wrapper .gfield_radio {
    flex-direction: row;
    gap: 20px;
}
.form #form-wrapper .gchoice label {
    color: var(--black);
}
.form #form-wrapper .gfield_radio input::before {
    background-color: var(--secondary);
}

.form #form-wrapper .ginput_container_fileupload span {
    margin-top: 5px;
    margin-left: 5px;
    font-size: 12px;
}

.form .button-row {
    justify-content: start;
}

@media (max-width: 1024px) {
    .contact-sctn .section-wrap {
        padding: 40px 3%;
    }
    .contact-sctn .form-col {
        width: 59%;
    }
    .contact-sctn .text-col {
        width: 40%;
    }
}
@media (max-width: 800px) {
    .contact-sctn .text-col {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }
    .contact-sctn .form-col {
        width: 100%;
    }
    .contact-sctn .section-wrap {
        padding: 40px 20px;
    }

    .form .button-row {
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .contact-sctn.section {
        padding: 50px 16px;
    }
    .contact-form .col-7 {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }
    .contact-sctn .contact-form .col-1,
    .contact-sctn .contact-form .col-2,
    .contact-sctn .contact-form .col-3,
    .contact-sctn .contact-form .col-4 {
        width: 48%;
    }
}
@media (max-width: 500px) {
    .contact-sctn .bst-way {
        flex-wrap: wrap;
        flex-direction: column;
    }
    .contact-sctn .codedropz-upload-inner {
        flex-direction: column;
        align-items: center;
    }
}
