/* =========================
   Form Layout
========================= */
.get-in-touch-form-gf #gform_fields_1 {
    gap: 40px !important;
}

/* =========================
   Text Inputs
========================= */
.get-in-touch-form-gf input[type="text"],
.get-in-touch-form-gf input[type="email"],
.get-in-touch-form-gf input[type="tel"],
.get-in-touch-form-gf input[type="url"],
.get-in-touch-form-gf input[type="number"],
.get-in-touch-form-gf input[type="password"],
.webinar-form-gf input[type="text"],
.webinar-form-gf input[type="email"],
.webinar-form-gf input[type="tel"],
.webinar-form-gf input[type="url"],
.webinar-form-gf input[type="number"],
.webinar-form-gf input[type="password"] {
    width: 100%;
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid #211747 !important;
    border-radius: 0 !important;
    padding: 0 0 20px !important;
    color: #211747;
    font-size: 16px;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    transition: border-color .2s ease;
    height: fit-content !important;
}

.get-in-touch-form-gf input:hover,
.get-in-touch-form-gf input:focus,
.get-in-touch-form-gf input:focus-visible,
.get-in-touch-form-gf input:active,
.webinar-form-gf input:hover,
.webinar-form-gf input:focus,
.webinar-form-gf input:focus-visible,
.webinar-form-gf input:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border-bottom: 1px solid #211747 !important;
}

/* =========================
   Dropdown
========================= */
.get-in-touch-form-gf select {
    width: 100%;
    height: 52px;
    padding: 0 44px 0 16px !important;

    background-color: transparent !important;

    border: 1px solid #211747 !important;
    border-radius: 4px !important;

    color: #211747;
    font-size: 16px;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    cursor: pointer;

    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M2 2L7 6L12 2' stroke='%23211747' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 14px;
}

.get-in-touch-form-gf select:hover,
.get-in-touch-form-gf select:focus,
.get-in-touch-form-gf select:focus-visible,
.get-in-touch-form-gf select:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 1px solid #211747 !important;
}

/* =========================
   Textarea
========================= */
.get-in-touch-form-gf textarea,
.webinar-form-gf textarea {
    width: 100%;
    min-height: 180px;
    padding: 16px !important;

    background: transparent !important;

    border: 1px solid #211747 !important;
    border-radius: 4px !important;

    resize: vertical;

    color: #211747;
    font-size: 16px;

    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.get-in-touch-form-gf textarea:hover,
.get-in-touch-form-gf textarea:focus,
.get-in-touch-form-gf textarea:focus-visible,
.get-in-touch-form-gf textarea:active,
.webinar-form-gf textarea:hover,
.webinar-form-gf textarea:focus,
.webinar-form-gf textarea:focus-visible,
.webinar-form-gf textarea:active {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    border: 1px solid #211747 !important;
}

/* =========================
   Placeholder
========================= */
.get-in-touch-form-gf ::placeholder,
.webinar-form-gf ::placeholder {
    color: var(--e-global-color-secondary) !important;
}

/* =========================
   Consent
========================= */
.get-in-touch-consent .ginput_container_consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}



/* Hide the "(Required)" text that Gravity Forms auto-appends */
.get-in-touch-consent .gfield_required {
    display: none !important;
}

/* =========================
   Submit Button
========================= */
.get-in-touch-form-gf .gform_button {
    background: #275DFF;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 14px 28px;
    cursor: pointer;
    transition: .2s ease;
}

.get-in-touch-form-gf .gform_button:hover {
    opacity: .9;
}

/* =========================
   Remove Browser / Gravity Forms Focus Styles
========================= */
.get-in-touch-form-gf input,
.get-in-touch-form-gf select,
.get-in-touch-form-gf textarea,
.webinar-form-gf input,
.webinar-form-gf select,
.webinar-form-gf textarea {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.get-in-touch-form-gf input:focus,
.get-in-touch-form-gf input:focus-visible,
.get-in-touch-form-gf select:focus,
.get-in-touch-form-gf select:focus-visible,
.get-in-touch-form-gf textarea:focus,
.get-in-touch-form-gf textarea:focus-visible,
.get-in-touch-form-gf *:focus,
.webinar-form-gf input:focus,
.webinar-form-gf input:focus-visible,
.webinar-form-gf select:focus,
.webinar-form-gf select:focus-visible,
.webinar-form-gf textarea:focus,
.webinar-form-gf textarea:focus-visible,
.webinar-form-gf *:focus {
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.get-in-touch-message label {
    font-family: var(--e-global-typography-text-font-family) !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    font-size: 20px !important;
}
/* Textarea */
.get-in-touch-message textarea {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background: transparent !important;
    border-radius: 4px !important;
    transition: none !important;
    resize: vertical;
    font-family: var(--e-global-typography-text-font-family) !important;
    font-weight: 400 !important;
    font-size: 20px !important;
    padding: 0 !important;
}

.get-in-touch-message textarea::placeholder {
    color: var(--e-global-color-secondary) !important;
    opacity: 1 !important;
    font-weight: 500 !important;
    font-size: 20px !important;
}

/* Remove all interaction styles */
.get-in-touch-message textarea:hover,
.get-in-touch-message textarea:focus,
.get-in-touch-message textarea:active,
.get-in-touch-message textarea:focus-visible,
.get-in-touch-message textarea:focus-within {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
}

/* Firefox */
.get-in-touch-message textarea::-moz-focus-inner {
    border: 0;
    outline: none;
}

/* If Gravity Forms wraps the field and adds focus styles */
.get-in-touch-message .gfield:focus-within textarea,
.get-in-touch-message .ginput_container:focus-within textarea {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* ========================================
   Dropdown Field
======================================== */

.get-in-touch-dropdown .ginput_container_select {
    position: relative;
}

.get-in-touch-dropdown .ginput_container_select::after {
    content: "";
    position: absolute;
    top: 30%;
    right: 20px;
    width: 15px;
    height: 15px;
    border-right: 2px solid var(--e-global-color-secondary);
    border-bottom: 2px solid var(--e-global-color-secondary);
    transform: translateY(-60%) rotate(45deg);
    pointer-events: none;
}

.get-in-touch-dropdown select {
    width: 100%;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;

    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;

    background: transparent !important;
    border-radius: 4px !important;
    transition: none !important;

    font-family: var(--e-global-typography-text-font-family) !important;
    font-weight: 500 !important;
    font-size: 20px !important;

    padding: 0  !important;
    
    border-bottom: 1px solid var(--e-global-color-secondary) !important;
    border-radius: 0 !important;
    padding-bottom: 10px !important;

    height: fit-content !important;
}

/* Remove all interaction styles */
.get-in-touch-dropdown select:hover,
.get-in-touch-dropdown select:focus,
.get-in-touch-dropdown select:active,
.get-in-touch-dropdown select:focus-visible {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    background: transparent !important;
    border-bottom: 1px solid var(--e-global-color-secondary) !important;
}

/* Gravity Forms wrapper focus */
.get-in-touch-dropdown .gfield:focus-within select,
.get-in-touch-dropdown .ginput_container:focus-within select,
.get-in-touch-dropdown .ginput_container_select:focus-within select {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid var(--e-global-color-secondary) !important;
}

/* Hide default IE arrow */
.get-in-touch-dropdown select::-ms-expand {
    display: none;
}


/* ========================================
   Gravity Forms Submit Button
======================================== */

.get-in-touch-form-gf .gform_button {
    background-color: var(--e-global-color-secondary) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M4 2L8 6L4 10' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 24px) center;
    background-size: 12px;

    padding: 16px 40px 16px 24px !important; /* Never changes */

    border: none !important;
    border-radius: 50px !important;

    color: #fff !important;
    font-family: var(--e-global-typography-text-font-family), sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;

    width: 200px;          /* or remove this if you want auto width */
    box-sizing: border-box;

    transition: background-position .3s ease;
}

.get-in-touch-form-gf .gform_button:hover {
    background-position: calc(100% - 16px) center;
}
.get-in-touch-form-gf .gform_button,
.get-in-touch-form-gf .gform_button:hover,
.get-in-touch-form-gf .gform_button:focus,
.get-in-touch-form-gf .gform_button:active,
.get-in-touch-form-gf .gform_button:focus-visible {
    background-color: var(--e-global-color-secondary) !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    text-decoration: none !important;
}


body .ginput_container_consent {
  display: flex !important;
  gap: 10px;
  max-height: fit-content !important;
}

body .ginput_container_consent input[type="checkbox"] {
    background: #fff !important;
    width: 18px !important;
    height: 18px !important;
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid #ccc !important;
    border-radius: 3px;
    cursor: pointer;
}

/* Consent container */
.ginput_container_consent {
    display: flex;
    align-items: flex-start; /* instead of center */
    gap: 10px;
}

/* Checkbox */
.ginput_container_consent input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 14px !important;
    height: 14px !important;
    min-width: 14px !important;
    min-height: 14px !important;
    max-width: 14px !important;
    max-height: 14px !important;

    padding: 0 !important;
    margin: 2px 0 0 0 !important;

    border: 2px solid #211747 !important;
    border-radius: 4px !important;
    box-sizing: border-box;
    flex: 0 0 14px;
}

.gform-theme--framework .gfield--type-consent {
    --gf-ctrl-checkbox-check-size: 10px; /* Smaller checkmark */
}

#input_2_6_1 {
    border: 1px solid #211747 !important;
}

.get-in-touch-form-gf #gform_fields_1,
.webinar-form-gf .gform_fields {
    gap: 25px !important;
}

.gform-theme--framework .gform-field-label--type-inline {
    font-family: var(--e-global-typography-text-font-family) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
}


.get-in-touch-form-gf .gform_button, .webinar-form-gf .gform_button {
    background-color: var(--e-global-color-secondary) !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M4 2L8 6L4 10' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 24px) center;
    background-size: 12px;

    padding: 16px 40px 16px 24px !important; /* Never changes */

    border: none !important;
    border-radius: 50px !important;

    color: #fff !important;
    font-family: var(--e-global-typography-text-font-family), sans-serif !important;
    font-size: 18px !important;
    font-weight: 500 !important;

    width: 200px;          /* or remove this if you want auto width */
    box-sizing: border-box;

    transition: background-position .3s ease;
}

.get-in-touch-form-gf .gform_button:hover, .webinar-form-gf .gform_button:hover {
    background-position: calc(100% - 16px) center;
}
.get-in-touch-form-gf .gform_button,
.get-in-touch-form-gf .gform_button:hover,
.get-in-touch-form-gf .gform_button:focus,
.get-in-touch-form-gf .gform_button:active,
.get-in-touch-form-gf .gform_button:focus-visible, .webinar-form-gf .gform_button, .webinar-form-gf .gform_button:hover,
.webinar-form-gf .gform_button:focus,
.webinar-form-gf .gform_button:active,
.webinar-form-gf .gform_button:focus-visible {
    background-color: var(--e-global-color-secondary) !important;
    color: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
    text-decoration: none !important;
}


body .ginput_container_consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
}

.cf-form .webinar-form-gf textarea,
body .gform-theme--foundation .gfield textarea.small {
    border-radius: 0 !important;
    border-width: 0 0 1px 0 !important;
    padding: 0 !important;
    font-family: "Articulat CF", Sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    border-bottom: 1px solid var(--e-global-color-secondary) !important;
}

@media (max-width: 1024px) {
    .gform-theme--foundation #field_submit, .gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer {
        display: flex;
        flex-wrap: wrap;
        gap: var(--gf-form-footer-gap);
        margin-top: 20px !important;
    }

    body .ginput_container_consent {
        max-height: fit-content !important;
    }
}

@media (max-width: 768px) {

  .gform-theme--foundation #field_submit, .gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer {
        display: flex;
        flex-wrap: wrap;
        gap: var(--gf-form-footer-gap);
        /* margin-top: 30px !important; */
    }

    body .ginput_container_consent {
        display: flex !important;
        gap: 10px;
        align-items: flex-start;
        max-height: fit-content !important;
    }

    body .cf-form .ginput_container_consent {
        background: transparent;
    }
    
}
