.elementor-1769 .elementor-element.elementor-element-c14ddcd{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1769 .elementor-element.elementor-element-7ec94f4{width:100%;max-width:100%;}.elementor-1769 .elementor-element.elementor-element-7ec94f4.elementor-element{--align-self:center;}.elementor-1769 .elementor-element.elementor-element-7ec94f4 .contact .contact-text .title h2,.contact.contact-page-area h2{padding:0px 0px 0px 0px;}.elementor-1769 .elementor-element.elementor-element-7ec94f4 .contact-area .contact-form .wpcf7-form-control.wpcf7-submit{color:#A81313;}/* Start custom CSS for wpo-barristar_contact_form, class: .elementor-element-7ec94f4 *//* ==========================================
   RK & ASSOCIATES | GCC ENQUIRY FORM
   Premium Corporate Gold & Navy Theme
   ========================================== */

/* Theme Variables & Main Form */
.wpcf7 {
    --gcc-navy: #17365D;
    --gcc-gold: #C5A04B;
    --gcc-text: #26364A;
    --gcc-border: #DCE3ED;
    --gcc-soft: #F5F7FB;

    width: 100%;
    max-width: 940px;
    margin: 35px auto;
    padding: 42px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #E8E1D2;
    border-radius: 20px;
    box-shadow: 0 18px 50px rgba(23, 54, 93, .10);
    color: var(--gcc-text);
}

/* Main Title */
.gcc-form-main-title {
    color: #17365D;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    margin: 0 0 24px;
}

/* Step Content: Maintain Normal Document Flow */
.wpcf7 form .uacf7-step {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.wpcf7 form .uacf7-step h3 {
    color: #17365D;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 24px;
    letter-spacing: -.4px;
}

.wpcf7 form h4 {
    position: relative;
    color: #17365D;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
    margin: 30px 0 24px;
    padding-bottom: 13px;
    border-bottom: 1px solid #DCE3ED;
}

.wpcf7 form h4::after {
    content: "";
    display: block;
    width: 65px;
    height: 3px;
    position: absolute;
    bottom: -1px;
    left: 0;
    background: #C5A04B;
    border-radius: 4px;
}

.wpcf7 form p {
    color: #46556A;
    line-height: 1.7;
    margin: 0 0 10px;
}

/* Labels */
.wpcf7 form label {
    display: block;
    float: none !important;
    clear: both;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    color: #26364A;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    margin: 0 0 21px;
}

/* Input Fields */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    display: block;
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    min-height: 49px;
    box-sizing: border-box;
    margin-top: 8px;
    padding: 13px 15px;
    color: #24364B;
    background: #F8FAFD;
    border: 1px solid #DCE3ED;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    box-shadow: none;
    transition: border-color .2s ease,
                box-shadow .2s ease,
                background .2s ease;
}

.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #929DAE;
    opacity: 1;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: #C5A04B;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(197, 160, 75, .13);
}

.wpcf7 textarea {
    min-height: 120px;
    resize: vertical;
}

/* Radio and Checkbox Options */
.wpcf7 .wpcf7-list-item {
    display: inline-block;
    vertical-align: top;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    margin: 5px 10px 8px 0;
    padding: 10px 13px;
    background: #F5F7FB;
    border: 1px solid #DCE3ED;
    border-radius: 9px;
    color: #26364A;
    font-size: 14px;
    font-weight: 400;
}

.wpcf7 .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: auto;
    max-width: 100%;
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

.wpcf7 input[type="radio"],
.wpcf7 input[type="checkbox"] {
    accent-color: #17365D;
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
}

/* Multi-step Progress Bar */
.uacf7-step-progressbar,
.uacf7_step_progressbar,
.uacf7-progressbar {
    margin: 0 0 32px;
}

.uacf7-step-progressbar li,
.uacf7_step_progressbar li,
.uacf7-progressbar li {
    font-size: 13px;
    font-weight: 600;
}

/* Navigation and Submit Buttons */
.wpcf7 input[type="submit"],
.wpcf7 input[type="button"],
.wpcf7 button,
.wpcf7 .uacf7-next,
.wpcf7 .uacf7-prev,
.wpcf7 .uacf7-step-next,
.wpcf7 .uacf7-step-prev {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 27px;
    margin: 10px 8px 0 0;
    color: #fff;
    background: #17365D;
    border: 1px solid #17365D;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
    box-shadow: 0 5px 12px rgba(23, 54, 93, .12);
    transition: background .2s ease,
                border-color .2s ease,
                transform .2s ease;
}

.wpcf7 input[type="submit"] {
    background: #C5A04B;
    border-color: #C5A04B;
    color: #172B46;
}

.wpcf7 input[type="submit"]:hover {
    background: #17365D;
    border-color: #17365D;
    color: #fff;
}

.wpcf7 input[type="button"]:hover,
.wpcf7 button:hover,
.wpcf7 .uacf7-next:hover,
.wpcf7 .uacf7-prev:hover,
.wpcf7 .uacf7-step-next:hover,
.wpcf7 .uacf7-step-prev:hover {
    color: #fff;
    background: #B18D3F;
    border-color: #B18D3F;
    transform: translateY(-1px);
}

/* Submit Button Wrapper */
.wpcf7 .gcc-form-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    margin-top: 10px;
    box-sizing: border-box;
}

.wpcf7 .gcc-form-actions .wpcf7-submit {
    margin: 0 !important;
}

/* Validation Messages */
.wpcf7 .wpcf7-not-valid {
    border-color: #D94B4B !important;
}

.wpcf7 .wpcf7-not-valid-tip {
    display: block;
    margin-top: 6px;
    color: #C52D38;
    font-size: 12px;
    font-weight: 500;
}

.wpcf7 .wpcf7-response-output {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
}

/* ==========================================
   FINAL STEP BUTTON LAYOUT
   Previous: Left | Submit: Right
   ========================================== */

/* Final step containing the submit button */
.wpcf7 form .uacf7-step:has(input[type="submit"]) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Previous button on the left */
.wpcf7 form .uacf7-step:has(input[type="submit"]) .uacf7-prev,
.wpcf7 form .uacf7-step:has(input[type="submit"]) .uacf7-step-prev {
    order: 1;
    float: none !important;
    margin: 10px auto 0 0 !important;
}

/* Submit button on the right */
.wpcf7 form .uacf7-step:has(input[type="submit"]) .gcc-form-actions {
    order: 2;
    width: auto;
    margin: 10px 0 0 auto;
}

/* Hide Next on the final step only */
.wpcf7 form .uacf7-step:has(input[type="submit"]) .uacf7-next,
.wpcf7 form .uacf7-step:has(input[type="submit"]) .uacf7-step-next {
    display: none !important;
}

/* Responsive Layout */
@media (max-width: 767px) {
    .gcc-form-main-title {
        font-size: 24px;
    }

    .gcc-form-subtitle {
        font-size: 14px;
    }

    .wpcf7 {
        padding: 24px 17px;
        margin: 18px auto;
        border-radius: 14px;
    }

    .wpcf7 form .uacf7-step h3 {
        font-size: 24px;
    }

    .wpcf7 form h4 {
        font-size: 19px;
        margin-top: 25px;
    }

    .wpcf7 .wpcf7-list-item {
        margin-right: 6px;
    }

    .wpcf7 input[type="submit"],
    .wpcf7 input[type="button"],
    .wpcf7 button {
        max-width: 100%;
        padding: 12px 18px;
    }

    .wpcf7 form .uacf7-step:has(input[type="submit"]) {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
    }

    .wpcf7 form .uacf7-step:has(input[type="submit"]) .gcc-form-actions {
        margin-left: auto;
    }
}/* End custom CSS */