.site-form-style {
    label {
        color: var(--text-secondary) !important;
        text-transform: uppercase;
        font-size: var(--font-xs) !important;
        font-weight: 700 !important;
        letter-spacing: var(--letter-spacing-1_1) !important;
    }

    textarea,
    input {
        border: 0px !important;
        border-bottom: 1px solid var(--border) !important;
        box-shadow: none !important;
        padding: 0 !important;
        outline: none !important;
        border-radius: 0 !important;

        &::placeholder {
            color: var(--text-subtle);
            font-weight: 500 !important;
        }

        &[type="file"] {
            color: var(--text-subtle) !important;
            padding-bottom: 10px !important;
            cursor: pointer;

            &::file-selector-button {
                color: var(--text-primary) !important;
                background-color: var(--bg-color-dark) !important;
                border: none !important;
                border-radius: 50px !important;
                font-size: var(--font-xs) !important;
                padding: 6px 16px !important;
                letter-spacing: var(--letter-spacing-0_12) !important;
            }
        }

        &:focus {
            border-color: var(--text-primary) !important;
        }
    }

    textarea {
        min-height: 72px !important;
        height: 72px !important;
    }

    input[type="submit"] {
        align-items: center !important;
        background-color: var(--bg-primary) !important;
        border: none !important;
        color: var(--text-white) !important;
        column-gap: 8px !important;
        cursor: pointer !important;
        display: inline-flex !important;
        font-size: var(--font-base) !important;
        font-weight: 700 !important;
        justify-content: space-between !important;
        letter-spacing: -0.3px !important;
        line-height: 24px !important;
        transition: all 0.2s ease-out 0s !important;
        border-radius: 100px !important;
        padding: 16px 32px !important;
        background-image: url('../images/white-arrow-right.svg') !important;
        background-repeat: no-repeat !important;
        background-position: calc(50% + 69px) center !important;
        background-size: 12px 13px !important;


        &:hover svg {
            transform: translate3d(2px, 0px, 0px);
        }

        &:is(:hover, :focus) {
            color: var(--text-white);
            transform: translate3d(0px, -2px, 0px);
        }

        svg {
            width: 13px;
            transition: transform 0.2s ease 0s;
        }
    }

    /* Change the white to any color */
    input:-webkit-autofill,
    input:-webkit-autofill:hover,
    input:-webkit-autofill:focus,
    input:-webkit-autofill:active {
        -webkit-box-shadow: 0 0 0 30px var(--bg-white-light) inset !important;
    }

    .gfield_required {
        color: var(--text-secondary) !important;
        font-size: var(--font-sm) !important;
    }

    .gfield_description {
        display: inline-block !important;
        margin-left: 5px;
        margin-bottom: 0;

        font-size: var(--font-caption) !important;
        color: var(--text-subtle) !important;
        font-weight: 600 !important;
        letter-spacing: var(--letter-spacing-0_5) !important;
    }

    .optional-label label,
    .contact-form__tel label {
        display: inline-block;
    }

    .gform_fileupload_rules {
        display: none !important;
    }

    .form-note {
        margin-top: -10px;
    }

    .ginput_container_textarea {
        margin-top: 8px;
    }

    .gform-footer {
        margin-top: 32px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.site-form-style_wrapper {
    .gform_fields {
        gap: 32px !important;
    }

    .gform_heading {
        display: none;
    }
}

/* Contact Form Styles  */
.get-in-touch-wrapper {
    .get-in-touch-content-box {
        &.is-active {
            border-left-color: var(--color-brand);

            .content-box-top-text {
                background-image: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
                background-blend-mode: normal;
                background-clip: text;
                color: var(--transparent);
            }

            .content-box-title {
                color: var(--transparent);
                background-image: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
                background-size: cover;
                background-repeat: no-repeat;
                background-position: center;
                background-blend-mode: normal;
                background-clip: text;
            }
        }
    }

    .get-in-touch-right-panel {
        .contact-form__pill-content {
            margin-bottom: -8px;

            p {
                display: none;

                &.is-active {
                    display: block;
                }
            }
        }

        .contact-form__box {
            .contact-form__pills {
                input[type="radio"] {
                    display: none;
                }

                .gfield_radio {
                    display: flex;
                    flex-direction: row;
                    gap: 16px !important;
                    flex-wrap: wrap;

                    label {
                        display: inline-flex;
                        align-items: center;
                        height: 36px;
                        padding: 0 18px;
                        border-radius: 100px;
                        border: 1.5px solid var(--border);
                        margin: 0;
                        font-size: var(--font-xs) !important;
                        font-weight: 600 !important;
                        letter-spacing: var(--letter-spacing--0_13) !important;
                        cursor: pointer;
                        transition: border-color 0.2s, color 0.2s, background 0.2s;
                        white-space: nowrap;
                        text-transform: capitalize;

                        &:hover {
                            border-color: var(--text-primary);
                            color: var(--text-primary) !important;
                        }
                    }

                    input:checked+label {
                        background: var(--bg-primary);
                        border-color: var(--text-primary);
                        color: var(--text-white) !important;
                    }

                }
            }
        }
    }

    @media(max-width:767px) {
        .gform-theme--foundation .gform_fields {
            grid-template-columns: repeat(1, 1fr);
        }

        .get-in-touch-wrapper {
            & .get-in-touch-right-panel {
                & .contact-form__box {
                    & .contact-form__pills {
                        & .gfield_radio {
                            label {
                                padding: 0px 12px;
                            }
                        }
                    }
                }
            }
        }

        .get-in-touch-right-panel {
            padding: 24px;
        }
    }
}

/* Blog archive dark form */
.site-form-dark_wrapper {
    width: 100%;
}

.site-form-dark {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
    align-items: flex-start !important;

    .gform-body {
        flex: 1 !important;

        input {
            background-color: #8883801A !important;
            border-color: var(--border) !important;
            padding: 18px 16px !important;
            height: unset !important;
            font-size: var(--font-xs) !important;
            line-height: 18px !important;
            border-radius: 50px !important;
            color: var(--text-white) !important;
            letter-spacing: var(--letter-spacing-0_12) !important;
            outline: none !important;

            &::placeholder {
                color: var(--text-subtle) !important;
                font-weight: 700 !important;
            }

            &:focus {
                box-shadow: 0px 0px 1px 1px #fff;
            }


        }

        /* Change the white to any color */
        input:-webkit-autofill,
        input:-webkit-autofill:hover,
        input:-webkit-autofill:focus,
        input:-webkit-autofill:active {
            -webkit-box-shadow: 0 0 0 30px #1d1c1c inset !important;
        }

        input:-webkit-autofill {
            -webkit-text-fill-color: var(--text-white) !important;
        }
    }

    .gform-footer {
        margin: 0 !important;

        input[type="submit"] {
            align-items: center !important;
            background-color: var(--bg-white) !important;
            border: none !important;
            color: var(--text-primary) !important;
            column-gap: 8px !important;
            cursor: pointer !important;
            display: inline-flex !important;
            font-size: var(--font-base) !important;
            font-weight: 700 !important;
            justify-content: space-between !important;
            letter-spacing: -0.3px !important;
            line-height: 24px !important;
            transition: all 0.2s ease-out 0s !important;
            border-radius: 100px !important;
            padding: 16px 45px 16px 32px !important;
            background-image: url('../images/black-right-arrow.svg') !important;
            background-repeat: no-repeat !important;
            background-position: calc(37% + 67px) center !important;
            background-size: 12px 13px !important;

            &:is(:hover, :focus) {
                color: var(--text-primary) !important;
                transform: translate3d(0px, -2px, 0px) !important;
            }
        }

    }

    @media (max-width:767px) {
        flex-direction: column !important;

        .gform-body {
            width: 100% !important;
        }
    }
}

/* Career Form */
.career-form {
    .carrer-title {
        font-size: var(--font-xl);
        color: var(--text-primary);
    }

    .pill-buttons .gfield_radio {
        display: flex;
        flex-wrap: wrap;
        gap: 10px !important;
        flex-direction: row !important;
    }

    .gform-field-label {
        display: inline-block;
    }

    .pill-buttons {
        display: flex;
        align-items: center;
        gap: 16px !important;

        .gfield_label {
            float: left;
            margin-bottom: 0 !important;
            font-size: var(--font-xl);
            color: var(--text-primary);
        }
    }

    .pill-buttons input[type="radio"] {
        display: none;
    }

    .pill-buttons label {
        display: inline-block;
        padding: 8px 12px;
        border-radius: 999px;
        border: 1px solid #ccc;
        background: #fff;
        cursor: pointer;
        transition: all 0.3s ease;
        font-weight: 500 !important;
        margin: 0 !important;
        text-transform: capitalize;
    }


    .pill-buttons input[type="radio"]:checked+label {
        background: var(--bg-primary);
        border-color: var(--text-primary);
        color: var(--text-white) !important;
    }

    .custom-radio-expand .gchoice {
        display: none !important;
    }

    .custom-radio-expand .gchoice.visible-item {
        display: inline-block !important;
    }

    .custom-radio-expand.show-all .gchoice {
        display: inline-block !important;
    }

    .pill-buttons.show-all .gfield_label {
        float: unset !important;
        margin-bottom: 16px !important;
    }

    .top_label:has(.show-all) .selected-reason-msg {
        display: none !important;
    }

    .top_label:not(.show-all) .default-reason-msg {
        display: none !important;
    }

    .top_label:has(.show-all) .selected-reason-msg {
        display: none !important;
    }

    .top_label:has(.show-all) .default-reason-msg {
        display: block !important;
    }

    &.site-form-style input[type="submit"] {
        background-image: url(unset) !important;
    }

    @media (max-width:767px) {
        /* .gform_fields {
            grid-template-columns: repeat(6, 1fr) !important;
        } */

        .pill-buttons .gfield_label {
            float: unset !important;
            margin-bottom: 8px !important;
        }
    }
}